Skip to content

Commit 74dfee4

Browse files
committed
Version 0.6.0
1 parent f1e5607 commit 74dfee4

File tree

4 files changed

+295
-131
lines changed

4 files changed

+295
-131
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.6.0] - September 4, 2018:
2+
3+
* Update README.md and example
4+
* GitHub version 0.6.0 milestone reached
5+
16
## [0.5.6] - September 4, 2018:
27

38
* Adds partial support for `center` and a `renderNewlines` property on the `Html` widget.

README.md

Lines changed: 10 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -1,158 +1,37 @@
11
# flutter_html
22
[![pub package](https://img.shields.io/pub/v/flutter_html.svg)](https://pub.dartlang.org/packages/flutter_html)
33

4-
A Flutter widget for rendering static html tags as Flutter widgets. (Will render 70 different html tags!)
4+
A Flutter widget for rendering static html tags as Flutter widgets. (Will render over 70 different html tags!)
55

66
## Installing:
77

88
Add the following to your `pubspec.yaml` file:
99

1010
dependencies:
11-
flutter_html: ^0.5.6
11+
flutter_html: ^0.6.0
1212

1313
## Currently Supported HTML Tags:
14-
15-
* `a`
16-
* `abbr`
17-
* `acronym`
18-
* `address`
19-
* `article`
20-
* `aside`
21-
* `b`
22-
* `bdi`
23-
* `bdo`
24-
* `big`
25-
* `blockquote`
26-
* `body`
27-
* `br`
28-
* `caption`
29-
* `cite`
30-
* `code`
31-
* `data`
32-
* `dd`
33-
* `del`
34-
* `dfn`
35-
* `div`
36-
* `dl`
37-
* `dt`
38-
* `em`
39-
* `figcaption`
40-
* `figure`
41-
* `footer`
42-
* `h1`
43-
* `h2`
44-
* `h3`
45-
* `h4`
46-
* `h5`
47-
* `h6`
48-
* `header`
49-
* `hr`
50-
* `i`
51-
* `img`
52-
* `ins`
53-
* `kbd`
54-
* `li`
55-
* `main`
56-
* `mark`
57-
* `nav`
58-
* `noscript`
59-
* `p`
60-
* `pre`
61-
* `q`
62-
* `rp`
63-
* `rt`
64-
* `ruby`
65-
* `s`
66-
* `samp`
67-
* `section`
68-
* `small`
69-
* `span`
70-
* `strike`
71-
* `strong`
72-
* `table`
73-
* `tbody`
74-
* `td`
75-
* `template`
76-
* `tfoot`
77-
* `th`
78-
* `thead`
79-
* `time`
80-
* `tr`
81-
* `tt`
82-
* `u`
83-
* `var`
14+
`a`, `abbr`, `acronym`, `address`, `article`, `aside`, `b`, `bdi`, `bdo`, `big`, `blockquote`, `body`, `br`, `caption`, `cite`, `code`, `data`, `dd`, `del`, `dfn`, `div`, `dl`, `dt`, `em`, `figcaption`, `figure`, `footer`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `header`, `hr`, `i`, `img`, `ins`, `kbd`, `li`, `main`, `mark`, `nav`, `noscript`, `p`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`, `strike`, `strong`, `table`, `tbody`, `td`, `template`, `tfoot`, `th`, `thead`, `time`, `tr`, `tt`, `u`, `var`
8415

8516
### Partially supported elements:
86-
> These are common elements that aren't yet fully supported, but won't be ignored and will still render.
17+
> These are common elements that aren't yet fully supported, but won't be ignored and will still render somewhat correctly.
8718
88-
* `center`
89-
* `ol`
90-
* `ul`
19+
`center`, `ol` , `ul`
9120

9221
### List of _planned_ supported elements:
9322
> These are elements that are planned, but present a specific challenge that makes them somewhat difficult to implement.
9423
95-
* `audio`
96-
* `details`
97-
* `source`
98-
* `sub`
99-
* `summary`
100-
* `sup`
101-
* `svg`
102-
* `track`
103-
* `video`
104-
* `wbr`
24+
`audio`, `details`, `source`, `sub`, `summary`, `sup`, `svg`, `track`, `video`, `wbr`
10525

106-
### Here are a list of elements that I don't plan on implementing:
26+
### List of elements that I don't plan on implementing:
10727

10828
> Feel free to open an issue if you have a good reason and feel like you can convince me to implement
10929
them. A _well written_ and _complete_ pull request implementing one of these is always welcome,
11030
though I cannot promise I will merge them.
11131

11232
> Note: These unsupported tags will just be ignored.
11333
114-
* `acronym` (deprecated, use `abbr` instead)
115-
* `applet` (deprecated)
116-
* `area`
117-
* `base` (`head` elements are not rendered)
118-
* `basefont` (deprecated, use defaultTextStyle on `Html` widget instead)
119-
* `big` (deprecated)
120-
* `button`
121-
* `canvas`
122-
* `center` (deprecated)
123-
* `col`
124-
* `colgroup`
125-
* `datalist`
126-
* `dialog`
127-
* `dir` (deprecated)
128-
* `embed`
129-
* `font` (deprecated)
130-
* `fieldset` (`form` elements are outside the scope of this package)
131-
* `form` (`form`s are outside the scope of this package)
132-
* `frame` (deprecated)
133-
* `frameset` (deprecated)
134-
* `head` (`head` elements are not rendered)
135-
* `iframe`
136-
* `input` (`form` elements are outside the scope of this package)
137-
* `label` (`form` elements are outside the scope of this package)
138-
* `legend` (`form` elements are outside the scope of this package)
139-
* `link` (`head` elements are not rendered)
140-
* `map`
141-
* `meta` (`head` elements are not rendered)
142-
* `meter` (outside the scope for now; maybe later)
143-
* `noframe` (deprecated)
144-
* `object`
145-
* `optgroup` (`form` elements are outside the scope of this package)
146-
* `option` (`form` elements are outside the scope of this package)
147-
* `output`
148-
* `param`
149-
* `picture`
150-
* `progress`
151-
* `script`
152-
* `select` (`form` elements are outside the scope of this package)
153-
* `style`
154-
* `textarea` (`form` elements are outside the scope of this package)
155-
* `title` (`head` elements are not rendered)
34+
`applet`, `area`, `base`, `basefont`, `button`, `canvas`, `col`, `colgroup`, `datalist`, `dialog`, `dir`, `embed`, `font`, `fieldset`, `form`, `frame`, `frameset`, `head`, `iframe`, `input`, `label`, `legend`, `link`, `map`, `meta`, `meter`, `noframe`, `object`, `optgroup`, `option`, `output`, `param`, `picture`, `progress`, `script`, `select`, `style`, `textarea`, `title`
15635

15736

15837
## Why this package?
@@ -165,6 +44,7 @@ until official support is added.
16544

16645
Html(
16746
data: """
47+
<!--For a much more extensive example, look at example/main.dart-->
16848
<div>
16949
<h1>Demo Page</h1>
17050
<p>This is a fantastic nonexistent product that you should buy!</p>
@@ -174,6 +54,7 @@ until official support is added.
17454
<p>There isn't <i>really</i> a team...</p>
17555
<h2>Installation</h2>
17656
<p>You <u>cannot</u> install a nonexistent product!</p>
57+
<!--You can pretty much put any html in here!-->
17758
</div>
17859
""",
17960
//Optional parameters:

0 commit comments

Comments
 (0)