Skip to content

Commit f25a9c0

Browse files
committed
Merge remote-tracking branch 'origin/feature/details-tag' into feature/details-tag
# Conflicts: # lib/html_parser.dart
2 parents bae56f5 + 972861b commit f25a9c0

File tree

4 files changed

+52
-585
lines changed

4 files changed

+52
-585
lines changed

example/lib/main.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const htmlData = """
8080
<tr><td>fData</td><td>fData</td><td>fData</td></tr>
8181
</tfoot>
8282
</table>
83-
<h3>Custom Element Support:</h3>
83+
<h3>Custom Element Support (inline: <bird></bird> and as block):</h3>
8484
<flutter></flutter>
8585
<flutter horizontal></flutter>
8686
<h3>SVG support:</h3>
@@ -172,6 +172,9 @@ class _MyHomePageState extends State<MyHomePage> {
172172
"var": Style(fontFamily: 'serif'),
173173
},
174174
customRender: {
175+
"bird": (RenderContext context, Widget child, attributes, _) {
176+
return TextSpan(text: "🐦");
177+
},
175178
"flutter": (RenderContext context, Widget child, attributes, _) {
176179
return FlutterLogo(
177180
style: (attributes['horizontal'] != null)

example/pubspec.lock

Lines changed: 0 additions & 292 deletions
This file was deleted.

0 commit comments

Comments
 (0)