flutter_widget_from_html
Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
0.17.2
252K downloads/mo
#757 most downloaded on pub.dev
daohoangson/flutter_widget_from_html
What this package is like to depend on
Last release 4 months ago
06 Apr 2026
Release timing varies
gaps range from 2 weeks to 7 months
Most releases are documented
notes for 88 of 99 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
131 releases · first in 2018
2 releases in the last 12 months
see the full history below
Release timeline
131 releases · Oct 2018 to Apr 2026Releases
latest 60 of 131-
0.17.206 Apr 2026Release notes
Open source →What's Changed
- Fix dart2wasm compilation error in Flutter 3.38+ by @lemz90 in #1529
- fix:
customStylesBuildertext-decoration not overriding anchor underline by @daohoangson in #1548 - Feature: css
text-decoration-style: wavysupport by @CaptainDario in #1559 - Enhanced css
list-style-typeby @CaptainDario in #1558 - Add
text-emphasis/text-emphasis-stylesupport by @CaptainDario in #1561 - feat: forward
allowfullscreenandallowiframe attributes to WebView by @daohoangson in #1566 - fix: merge border-radius with background-color for inline elements by @daohoangson in #1569
New Contributors
- @lemz90 made their first contribution in #1529
- @CaptainDario made their first contribution in #1559
Full Changelog: v0.17.1...v0.17.2
f73b715 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-e6s9todwa-fwfh.vercel.app. Quick links:
Release notes
Open source →- Add
text-emphasis/text-emphasis-stylesupport (#1561, authored by @CaptainDario) - Add CSS
text-decoration-style: wavysupport (#1559, authored by @CaptainDario) - Enhanced CSS
list-style-type(#1558, authored by @CaptainDario) - Forward
allowfullscreenandallowiframe attributes to WebView (#1566) - Fix dart2wasm compilation error in Flutter 3.38+ (#1529, authored by @lemz90)
- Fix
customStylesBuildertext-decoration not overriding anchor underline (#1548) - Fix border-radius with background-color for inline elements (#1569)
-
0.17.131 Aug 2025Release notes
Open source →What's Changed
- Add support for Flutter 3.35 (#1498)
- Add support for [email protected] (#1498)
- Add support for
data-srcattribute in IFRAME (#1497)
New Contributors
- @Copilot made their first contribution in #1497
Full Changelog: v0.17.0...v0.17.1
078b98b APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-o2cznz76v-fwfh.vercel.app. Quick links:
Release notes
Open source →- Add support for Flutter 3.35 (#1498)
- Add support for [email protected] (#1498)
- Add support for
data-srcattribute in IFRAME (#1497)
-
0.17.015 Jul 2025Release notes
Open source →What's Changed
- Requires Flutter 3.32 (#1475)
- Requires [email protected] (#1448)
- Add support for [email protected] (#1475)
- Add support for [email protected] (#1475)
- Add support for [email protected] (#1452)
- Fix
text-align: centerinside tables (#1451)
Full Changelog: v0.16.0...v0.17.0
e54aa9d APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-e1p9k3xjc-fwfh.vercel.app. Quick links:
Release notes
Open source →- Requires Flutter 3.32 (#1475)
- Requires [email protected] (#1448)
- Add support for [email protected] (#1475)
- Add support for [email protected] (#1475)
- Add support for [email protected] (#1452)
- Fix
text-align: centerinside tables (#1451)
-
0.16.117 Jul 2025Nothing published for this version
-
0.16.019 Feb 2025Release notes
Open source →What's Changed
Full Changelog: v0.15.3...v0.16.0
3a3c332 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-9mazuhe6j-fwfh.vercel.app. Quick links:
-
0.15.313 Nov 2024Release notes
Open source →What's Changed
- Add support for
webview_flutter_android@4(#1366)
Full Changelog: v0.15.2...v0.15.3
0fa344e APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-2jxhhgi3d-fwfh.vercel.app. Quick links:
- Add support for
-
0.15.222 Aug 2024Release notes
Open source →What's Changed
- Update dependency web to v1 by @renovate in #1298
- Add support for Flutter 3.24 by @daohoangson in #1308
- changes unnamed Function parameters by @hassony105 in #1309
- Fix RenderSliver mode error when html input is empty (#1320) by @vanvixi in #1321
New Contributors
- @hassony105 made their first contribution in #1309
- @vanvixi made their first contribution in #1321
Full Changelog: v0.15.1...v0.15.2
265ebee APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-owmo06hgz-fwfh.vercel.app. Quick links:
Release notes
Open source →- Add support for web@v1 (#1298)
- Add support for Flutter 3.24 (#1308)
- Fix
HtmlFlexincompatibility with Flutter@master (#1308) - Fix unnamed function parameters (#1309, authored by hassony105)
- Fix RenderSliver mode error when html input is empty (#1321, authored by vanvixi)
-
0.15.109 Jun 2024Release notes
Open source →What's Changed
- Add support for
currentcolorby @daohoangson in #1240 - Replace timers with
ResizeObserverby @daohoangson in #1241 - Only apply IFRAME width & height if it has both attributes by @daohoangson in #1244
- Add support for Flutter 3.22 by @daohoangson in #1250
- Set IFRAME width & height to conform to platform view constraints by @daohoangson in #1253
- Fix zero size image by @daohoangson in #1266
- Allow web view to be configured with additional gesture recognizers by @stanislav216 in #1268
- Prepare v0.15.1 releases by @daohoangson in #1269
Full Changelog: v0.15.0...v0.15.1
aab7824 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://demo-gwf2ewu15-fwfh.vercel.app. Quick links:
Release notes
Open source →- Add support for
currentcolor(#1240) - Fix zero size image (#1266)
- Replace webview timers with ResizeObserver (#1241)
- Only apply IFRAME width & height if it has both attributes (#1244)
- Set IFRAME width & height to conform to platform view constraints (#1253)
- Add support for
WebViewFactory.webViewGestureRecognizers(#1268, authored by @stanislav216) - Add support for
WebViewFactory.webViewUnsupportedWorkaroundForIssue37(#1268)
- Add support for
-
0.15.004 May 2024Release notes
Open source →What's Changed
- Expand roman support to 3999 by @ngthailam in #1154
- Fix audio_player throws exception when max value is 0 by @ngthailam in #1156
- Feature add support text-shadow style by @ngthailam in #1158
- Add support for Flutter 3.19 by @daohoangson in #1188
- Fix overflow inside
Flexby @daohoangson in #1229 - Fix bug cannot select text of nested
HtmlWidgetinside list view render mode by @daohoangson in #1231 - Fix white spaces are removed in PRE tag by @daohoangson in #1233
- Fix text overflow inside flex container by @daohoangson in #1235
New Contributors
- @ngthailam made their first contribution in #1154
Full Changelog: v0.14.11...v0.15.0
6854c72 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://example-54g0z7nfv-htmlwidgets-projects.vercel.app. Quick links:
Release notes
Open source →- Requires Flutter 3.16 (#1188)
- Expand roman support to 3999 (#1154, authored by @ngthailam)
- Fix
audio_playerthrows exception when max value is 0 (#1156, also by @ngthailam 🎉) - Add support for
text-shadow(#1158, another one by @ngthailam 🔥) - Improve support for
display: flex(#1229, #1235) - Fix bug cannot select text of nested HtmlWidget inside list view render mode (#1231)
- Fix white spaces are removed in PRE tag (#1233)
-
0.14.1106 Jan 2024Release notes
Open source →What's Changed
Full Changelog: v0.14.10...v0.14.11
83c67e7 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://example-6dvtuiizn-flutter-widget-from-html.vercel.app. Quick links:
Release notes
Open source →- Fix infinite
TextStyle.height(#1147) - Deprecate
InheritedProperties.stylegetter (#1147)
-
0.14.1029 Dec 2023Release notes
Open source →What's Changed
- Fix default border color to match text color by @daohoangson in #1123
- Fix SVG does not respect width/height attributes by @daohoangson in #1144
Full Changelog: v0.14.9...v0.14.10
6d1d7e3 APKs:
- app-armeabi-v7a-release.apk
- app-arm64-v8a-release.apk
- app-x86_64-release.apk
- Debug APK via https://appetize.io
Web build has been deployed to https://example-53fwq5wzw-flutter-widget-from-html.vercel.app. Quick links:
-
0.14.10+129 Dec 2023Release notes
Open source →- Fix default border color to match text color (#1123)
- Fix SVG does not respect width/height attributes (#1144)
-
0.14.901 Dec 2023 -
0.14.829 Nov 2023 -
0.14.718 Nov 2023Release notes
Open source →- Add support for Flutter 3.13.9 (#1093)
- Add support for Flutter 3.16.0 (#1100)
- Fix
onTapUrldoesn't work for links withdisplay: block(#1104) - Render video player on macOS (#1100)
-
0.14.629 Oct 2023Release notes
Open source →- Add support for
background-image(#1057, authored by @anttileppa 🎉) - Add support for
display: flex(#1021, also by @anttileppa 🔥🔥🔥🔥) - Add support for background position, repeat & size (#1084)
- Add support for
-
0.14.526 Oct 2023Release notes
Open source →- Add support for auto margins (#1077)
- BREAKING: Replace
CssLengthBox.getValueLeftwith.getLeft - BREAKING: Replace
CssLengthBox.getValueRightwith.getRight
-
0.14.5+127 Oct 2023 -
0.14.421 Oct 2023Nothing published for this version
-
0.14.4+125 Oct 2023Release notes
Open source →- Improve table support for wide columns (#1073)
- BREAKING: remove
WidgetFactory.buildDivider(#1075) - Make
align=centerwork likeCENTERtag (#1076)
-
0.14.317 Oct 2023Release notes
Open source →- Write migration docs from v0.10 to v0.14 (#1065)
- Fix Flutter badge SVG urls (#1065)
- Fix broken table (#1067)
-
0.14.216 Oct 2023Release notes
Open source →- Add support for
display: table-cellwithout row (#905) - Add supporf for
BuildTree.getNonInheritedand.setNonInherited(#948) - Add support for
InlineCustomWidgetviacustomWidgetBuilderto render simple widget inline (#1056) - Add support for
BuildOp.inlineto render complicated widget inline (#1056) - Fix incorrect cursor inside a
SelectionArea(#902) - Fix border radius does not clip contents (#903)
- Fix anchor doesn't work with
baseUrlspecified (#904) - Fix padding is ignored on empty P tag (#906)
- Fix
border-radiuserror if border is not uniform (#910) - Fix inline
white-space: nowrap(#944) - Fix
TRbackground color doesn't fill the whole row by #1049 - MIGRATE: Replace
WidgetPlaceholder.generatorwith.debugLabel(#619) - MIGRATE: Replace
WidgetFactory.gestureTapCallbackwith.buildGestureRecognizer(#732) - MIGRATE: Replace
RebuildTriggerswithList - MIGRATE: Replace
BuildBit.detach,.insertAfterand.insertBeforewith returning a new tree inBuildOp.onParsed(#732) - BREAKING: Remove
HtmlWidget.webViewXxxproperties #615 - BREAKING: Remove support for
box-sizing(#903) - BREAKING: Remove
WidgetPlaceholder.autoUnwrap(#906) - BREAKING:
.getDependency<MediaQueryData>()no longer works (#911) - BREAKING: Append
defaultStylesinstead of prepend (#1055) - BREAKING: Change default alignment of inline widget from
bottomtobaseline(#1056)
See migration document: https://github.com/daohoangson/flutter_widget_from_html/blob/master/docs/migration.md
0.10.6
- Fix border 0 is still being rendered (#1045)
- Add support for
-
0.14.1-alpha.115 Oct 2023 pre-releaseNothing published for this version
-
0.14.0-alpha.114 Oct 2023 pre-releaseNothing published for this version
-
0.13.1-alpha.213 Oct 2023 pre-releaseNothing published for this version
-
0.13.1-alpha.112 Oct 2023 pre-releaseNothing published for this version
-
0.13.0-alpha.512 Oct 2023 pre-releaseNothing published for this version
-
0.13.0-alpha.412 Sep 2023 pre-releaseNothing published for this version
-
0.13.0-alpha.312 Sep 2023 pre-releaseNothing published for this version
-
0.13.0-alpha.212 Sep 2023 pre-releaseNothing published for this version
-
0.13.0-alpha.103 Jun 2023 pre-releaseNothing published for this version
-
0.12.0-alpha.126 May 2023 pre-releaseNothing published for this version
-
0.11.0-alpha.222 May 2023 pre-releaseNothing published for this version
-
0.11.0-alpha.117 May 2023 pre-releaseNothing published for this version
-
0.10.609 Oct 2023Nothing published for this version
-
0.10.507 Sep 2023Release notes
Open source →- Replace the deprecated
DecoderCallbackin tests (#1014) - Assume HTTPS for protocol relative URL without base (#1016)
- Add screenshots, funding and topics to pubspec files (#1010)
- Replace the deprecated
-
0.10.5+109 Sep 2023Nothing published for this version
-
0.10.5+209 Sep 2023Nothing published for this version
-
0.10.5+310 Sep 2023 -
0.10.429 Aug 2023Release notes
Open source →- Add support for Flutter 3.13 (#995)
- Remove package
fwfh_text_style(#1009)
-
0.10.312 Jul 2023 -
0.10.228 Jun 2023 -
0.10.118 May 2023Release notes
Open source →- Add support for Flutter 3.10 (#889)
- Apply OpenSSF Scorecard (#888)
- Remove default value
enableCaching=true(#893)
-
0.10.008 Feb 2023Release notes
Open source →- Add support for Flutter 3.7 (#861)
- Update dependency flutter_svg to v2 (#862)
-
0.9.109 Jan 2023Release notes
Open source →- Adjust text-decoration-line cascading logic (#843)
- Try catch possible errors during table layout (#846)
- Add support for
list-style-type: none(#847) - Add support for
srcattribute in VIDEO tag (#848) - Adjust sizing logic for IMG tag (#854)
- Redistribute table column width to avoid overflow (#856)
-
0.9.001 Nov 2022Release notes
Open source →- Requires Flutter 3.3 (#821)
- Add support for
SelectionArea(#821) - Breaking changes: remove support for web view
HtmlWidgetparameters (#830)
-
0.9.0+117 Nov 2022 -
0.9.0+225 Dec 2022 -
0.8.530 Jan 2022Release notes
Open source →- Improve
IFRAMEerror & timer handling (#709) - Fix
FwfhTextStyleusage withinCupertinoPageScaffold(#713)
- Improve
-
0.8.417 Dec 2021Release notes
Open source →- Add support for rtl in
HtmlTable(#681) - Improve parser for
borderinline style (#685, authored by @EA-YOUHOU) - Remove decoration when href is missing (#678, authored by @EA-YOUHOU)
- Fix wrong text scale when
isSelectable=true(#689) - Fix background color being rendered twice (#691)
- Fix error on
TextStyle.merge(#680, #693)
- Add support for rtl in
-
0.8.309 Dec 2021Release notes
Open source →- Add support for [email protected] (#655)
- Add support for [email protected] (#648)
- Add support for [email protected] (#657)
- New package:
fwfh_text_style(#628) - Allow
HtmlWidget.textStyleto be null (#632) - Conditionally import
flutter_cache_manager(#641) - Avoid importing
dart:ioin svg_factory.dart (#653) - Fix detached sub-tree still being built (#650)
- Fix bug text-align with padding (#651)
- Fix anchor being stuck (#659)
-
0.8.3+111 Dec 2021Release notes
Open source →- Add support for
HtmlWidget.isSelectable(#631) - Add support for
HtmlWidget.onSelectionChanged(#672) - New package:
fwfh_selectable_text(#672)
- Add support for
-
0.8.3-beta.115 Nov 2021 pre-releaseNothing published for this version
-
0.8.209 Nov 2021Release notes
Open source →- Optimize
HtmlListMarker(#623) - Fix leading and trailing whitespace within
PREbeing trimmed (#624) - Replace
evaluateJavascriptwithrunJavascriptReturningResult(#625)
- Optimize
-
0.8.123 Oct 2021Release notes
Open source →- Mark enhanced
HtmlWidget.webViewXxxproperties as deprecated (#614) - Add support for [email protected] (#611)
- Add support for
ListViewandSliverListconstructor params (#616)
- Mark enhanced
-
0.8.1+125 Oct 2021 -
0.8.018 Oct 2021Release notes
Open source →- Update for Flutter 2.5 (#587)
- BREAKING: Change
WidgetBit.inlinedefault alignment → bottom (#598) - BREAKING: Remove
BuildMetadata.willBuildSubtree(#607) - BREAKING: Remove
BuildTree.replaceWith(#607) - BREAKING: Remove
WidgetFactory.buildBorder(#608) - Add support for
DETAILStag (#593) - Add support for
BuildOp.onTreeFlattening(#607) - Add support for
display: inline-block(#607) - Add support for
border-radius(#608) - Fix bug extra space because of colspan (#600)
- Fix bug render loop when TABLE's baseline is needed (#604)
-
0.7.030 Aug 2021Release notes
Open source →- Flutter 2.2
- BREAKING: Remove
HtmlWidget.buildAsyncBuilder(#575) - BREAKING: Remove
HtmlWidget.hyperlinkColor(#571) - BREAKING: Change
HtmlWidget.onTapUrlsignature to return aFutureOr<bool>. (#563) - Show click cursor for
Atag (#322) - Add support for
HtmlWidget.renderMode(#484) - Add support for error & loading builder for network image (#547, thanks @DFelten)
- Improve
text-decorationsupport (#569) - Add support for
HtmlWidgetState.scrollToAnchor(#577) - Implement
HtmlWidget.onErrorBuilderandonLoadingBuilder(#575) - Fix bug border+background (#516)
- Fix incorrect UL/OL tag closing
- Fix
CssSizingValueequality check - Fix missing block margins on empty tag (#580)
This release includes some changes that may require migration if you have a custom
WidgetFactory:- Remove
TextStyleHtml.maxLinesand.textOverflow(#570) - Remove
WidgetFactory.buildColumnPlaceholderparamtrimMarginVertical - Remove
WidgetFactory.buildColumnWidgetparamtsh - Change
WidgetFactory.buildImageWidgetparams - Replace
WidgetFactory.getListStyleMarkerwithgetListMarkerText - Remove
WidgetFactory.imageLoadingBuilderandimageErrorBuilder(#575) - Replace
WidgetFactory.onTapAnchorparamanchorContextwithscrollTo
-
0.7.0-dev.202108080108 Aug 2021 pre-releaseNothing published for this version
-
0.7.0-dev.202106130113 Jun 2021 pre-releaseNothing published for this version