From 7513984b232bb8737ad96a6f77f7cc136e3bff9f Mon Sep 17 00:00:00 2001 From: sugiarto Date: Thu, 14 Oct 2021 18:54:28 +0700 Subject: [PATCH] fix example README for custom render, fix example code for custom render --- example/README.md | 1 + example/lib/main.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/example/README.md b/example/README.md index a8bc76b67d..b37f367d87 100644 --- a/example/README.md +++ b/example/README.md @@ -158,6 +158,7 @@ const htmlData = """ body: SingleChildScrollView( child: Html( data: htmlData, + tagsList: Html.tags..addAll(["flutter"]), //Optional parameters: style: { "html": Style( diff --git a/example/lib/main.dart b/example/lib/main.dart index e303346363..68a57c8d0c 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -250,6 +250,7 @@ class _MyHomePageState extends State { body: SingleChildScrollView( child: Html( data: htmlData, + tagsList: Html.tags..addAll(["bird", "flutter"]), style: { "table": Style( backgroundColor: Color.fromARGB(0x50, 0xee, 0xee, 0xee),