@@ -7,26 +7,148 @@ A Flutter widget for rendering static html tags as Flutter widgets.
7
7
Add the following to your ` pubspec.yaml ` file:
8
8
9
9
dependencies:
10
- flutter_html: ^0.1.1
10
+ flutter_html: ^0.3.0
11
11
12
12
## Currently Supported HTML Tags:
13
13
14
+ * ` abbr `
15
+ * ` address `
16
+ * ` article `
17
+ * ` aside `
14
18
* ` b `
19
+ * ` blockquote `
15
20
* ` body `
21
+ * ` br `
22
+ * ` cite `
23
+ * ` code `
24
+ * ` data `
25
+ * ` dd `
26
+ * ` del `
27
+ * ` dfn `
16
28
* ` div `
29
+ * ` dl `
30
+ * ` dt `
17
31
* ` em `
18
- * ` h1 ` - ` h6 `
32
+ * ` figcaption `
33
+ * ` figure `
34
+ * ` footer `
35
+ * ` h1 `
36
+ * ` h2 `
37
+ * ` h3 `
38
+ * ` h4 `
39
+ * ` h5 `
40
+ * ` h6 `
41
+ * ` header `
42
+ * ` hr `
19
43
* ` i `
44
+ * ` img `
45
+ * ` ins `
46
+ * ` kbd `
47
+ * ` li `
48
+ * ` main `
49
+ * ` mark `
50
+ * ` nav `
51
+ * ` noscript `
20
52
* ` p `
53
+ * ` pre `
54
+ * ` q `
55
+ * ` rp `
56
+ * ` rt `
57
+ * ` ruby `
58
+ * ` s `
59
+ * ` samp `
60
+ * ` section `
61
+ * ` small `
62
+ * ` span ` ,
21
63
* ` strong `
64
+ * ` template `
65
+ * ` time `
22
66
* ` u `
67
+ * ` var `
68
+
69
+ ### Partially supported elements:
70
+ > These are common elements that aren't yet fully supported, but won't be ignored and will still render.
71
+
72
+ * ` a `
73
+ * ` ol `
74
+ * ` ul `
75
+
76
+ ### List of _ planned_ supported elements:
77
+ > These are elements that are planned, but present a specific challenge that makes them somewhat difficult to implement.
23
78
24
- Here are a list of elements that this package will never support:
79
+ * ` audio `
80
+ * ` bdi `
81
+ * ` bdo `
82
+ * ` caption `
83
+ * ` col `
84
+ * ` colgroup `
85
+ * ` details `
86
+ * ` source `
87
+ * ` sub `
88
+ * ` summary `
89
+ * ` sup `
90
+ * ` svg `
91
+ * ` table `
92
+ * ` tbody `
93
+ * ` td `
94
+ * ` tfoot `
95
+ * ` th `
96
+ * ` thead `
97
+ * ` tr `
98
+ * ` track `
99
+ * ` video `
100
+ * ` wbr `
25
101
26
- * ` script `
102
+ ### Here are a list of elements that I don't plan on implementing:
103
+
104
+ > Feel free to open an issue if you have a good reason and feel like you can convince me to implement
105
+ them. A _ well written_ and _ complete_ pull request implementing one of these is always welcome,
106
+ though I cannot promise I will merge them.
107
+
108
+ > Note: These unsupported tags will just be ignored.
109
+
110
+ * ` acronym ` (deprecated, use ` abbr ` instead)
111
+ * ` applet ` (deprecated)
112
+ * ` area `
113
+ * ` base ` (` head ` elements are not rendered)
114
+ * ` basefont ` (deprecated, use defaultTextStyle on ` Html ` widget instead)
115
+ * ` big ` (deprecated)
116
+ * ` button `
117
+ * ` canvas `
118
+ * ` datalist `
119
+ * ` dialog `
120
+ * ` dir ` (deprecated)
121
+ * ` embed `
122
+ * ` font ` (deprecated)
123
+ * ` fieldset ` (` form ` elements are outside the scope of this package)
124
+ * ` form ` (` form ` s are outside the scope of this package)
125
+ * ` frame ` (deprecated)
126
+ * ` frameset ` (deprecated)
127
+ * ` head ` (` head ` elements are not rendered)
27
128
* ` iframe `
129
+ * ` input ` (` form ` elements are outside the scope of this package)
130
+ * ` label ` (` form ` elements are outside the scope of this package)
131
+ * ` legend ` (` form ` elements are outside the scope of this package)
132
+ * ` link ` (` head ` elements are not rendered)
133
+ * ` map `
134
+ * ` meta ` (` head ` elements are not rendered)
135
+ * ` meter ` (outside the scope for now; maybe later)
136
+ * ` noframe ` (deprecated)
137
+ * ` object `
138
+ * ` optgroup ` (` form ` elements are outside the scope of this package)
139
+ * ` option ` (` form ` elements are outside the scope of this package)
140
+ * ` output `
141
+ * ` param `
142
+ * ` picture `
143
+ * ` progress `
144
+ * ` script `
145
+ * ` select ` (` form ` elements are outside the scope of this package)
146
+ * ` strike ` (deprecated)
147
+ * ` style `
148
+ * ` textarea ` (` form ` elements are outside the scope of this package)
149
+ * ` title ` (` head ` elements are not rendered)
150
+ * ` tt ` (deprecated)
28
151
29
- > Note: Unsupported tags will not be rendered
30
152
31
153
## Why this package?
32
154
0 commit comments