@@ -90,7 +90,8 @@ A Flutter widget for rendering HTML and CSS as Flutter widgets.
90
90
Add the following to your ` pubspec.yaml ` file:
91
91
92
92
dependencies:
93
- flutter_html: ^3.0.0-alpha.3
93
+ flutter_html: ^3.0.0-alpha.5
94
+ // Or flutter_html_all: ^3.0.0-alpha.5 to include table, video, audio, iframe...
94
95
95
96
## Currently Supported HTML Tags:
96
97
| | | | | | | | | | | |
@@ -566,6 +567,11 @@ The package considers the attributes `controls`, `loop`, `src`, `autoplay`, `wid
566
567
567
568
#### Registering the ` CustomRender ` :
568
569
570
+ Add the dependency to your pubspec.yaml:
571
+
572
+ dependencies:
573
+ flutter_html_audio: ^3.0.0-alpha.3
574
+
569
575
``` dart
570
576
Widget html = Html(
571
577
customRenders: {
@@ -584,6 +590,11 @@ Sandbox controls the JavaScript mode of the webview - a value of `null` or `allo
584
590
585
591
#### Registering the ` CustomRender ` :
586
592
593
+ Add the dependency to your pubspec.yaml:
594
+
595
+ dependencies:
596
+ flutter_html_iframe: ^3.0.0-alpha.3
597
+
587
598
``` dart
588
599
Widget html = Html(
589
600
customRenders: {
@@ -620,6 +631,11 @@ Because this package is parsing MathML to Tex, it may not support some functiona
620
631
621
632
#### Registering the ` CustomRender ` :
622
633
634
+ Add the dependency to your pubspec.yaml:
635
+
636
+ dependencies:
637
+ flutter_html_math: ^3.0.0-alpha.3
638
+
623
639
``` dart
624
640
Widget html = Html(
625
641
customRenders: {
@@ -688,6 +704,11 @@ The package also exposes a few ways to render SVGs within an `<img>` tag, specif
688
704
689
705
#### Registering the ` CustomRender ` :
690
706
707
+ Add the dependency to your pubspec.yaml:
708
+
709
+ dependencies:
710
+ flutter_html_svg: ^3.0.0-alpha.3
711
+
691
712
``` dart
692
713
Widget html = Html(
693
714
customRenders: {
@@ -707,6 +728,11 @@ When rendering table elements, the package tries to calculate the best fit for e
707
728
708
729
#### Registering the ` CustomRender ` :
709
730
731
+ Add the dependency to your pubspec.yaml:
732
+
733
+ dependencies:
734
+ flutter_html_table: ^3.0.0-alpha.3
735
+
710
736
``` dart
711
737
Widget html = Html(
712
738
customRenders: {
@@ -723,6 +749,11 @@ The package considers the attributes `controls`, `loop`, `src`, `autoplay`, `pos
723
749
724
750
#### Registering the ` CustomRender ` :
725
751
752
+ Add the dependency to your pubspec.yaml:
753
+
754
+ dependencies:
755
+ flutter_html_video: ^3.0.0-alpha.3
756
+
726
757
``` dart
727
758
Widget html = Html(
728
759
customRenders: {
@@ -750,7 +781,8 @@ Widget row = Row(
750
781
```
751
782
752
783
## Migration Guides
753
- - For Version 1.0 - [ Guide] ( https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide )
784
+ - For Version 1.0/2.0 - [ Guide] ( https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide )
785
+ - For Version 3.0 - ** TODO**
754
786
755
787
## Contribution Guide
756
788
> Coming soon!
0 commit comments