NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #798 most downloaded on pub.dev
Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
Latest stable
0.17.4
Last release 1 months ago
26 Sep 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
134 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
BREAKING: Remove HtmlWidget.buildAsyncBuilder
HtmlWidget.buildAsyncBuilder (#575)HtmlWidget.hyperlinkColor (#571)HtmlWidget.onTapUrl signature to return a FutureOr<bool>. (#563)A tag (#322)HtmlWidget.renderMode (#484)text-decoration support (#569)HtmlWidgetState.scrollToAnchor (#577)HtmlWidget.onErrorBuilder and onLoadingBuilder (#575)CssSizingValue equality checkThis release includes some changes that may require migration if you have a custom WidgetFactory:
TextStyleHtml.maxLines and .textOverflow (#570)WidgetFactory.buildColumnPlaceholder param trimMarginVerticalWidgetFactory.buildColumnWidget param tshWidgetFactory.buildImageWidget paramsWidgetFactory.getListStyleMarker with getListMarkerTextWidgetFactory.imageLoadingBuilder and imageErrorBuilder (#575)WidgetFactory.onTapAnchor param anchorContext with scrollToYour coding agent can read these notes before it upgrades. Set up the MCP server →
BREAKING: RenderMode.Column is now .column (ListView and SliverList have the same change)
RenderMode.Column is now .column (ListView and SliverList have the same change)min-width being ignored (#544)BREAKING: buildColumnPlaceholder removed trimMarginVertical named param
buildColumnPlaceholder removed trimMarginVertical named parambuildColumnWidget removed tsh paramonTapAnchor replaced anchorContext param with scrollToWidgetFactory.buildTextSpanHtmlWidget.renderMode (#484)Fix incorrect UL/OL tag closing
A tag (#322)Nothing published for this version
Restore computeLineMetrics usage in Flutter web.
AUDIO tag (#530)computeLineMetrics usage in Flutter web. (#561)min-width being ignored (#544)Add support for white-space inline style
flutter_svg@0.22.0 (#498)_ListMarkerRenderObject invalid sizeFlutter 2 with null safety 🚀 (#436, special thanks to @miDeb)
fwfh_webview (#448)fwfh_url_launcher (#450)fwfh_svg (#452)fwfh_chewie (#461)fwfh_cached_network_image (#463)computeDryLayout (#411)webViewMediaPlaybackAlwaysAllow (#468)Deployed c0e08e790d4b827766d4cd7586db4e31cabe92a5 to https://api-iou4gliwz-flutter-widget-from-html.vercel.app.
Quick links:
Add Flutter Web support for webViewMediaPlaybackAlwaysAllow
webViewMediaPlaybackAlwaysAllow (#468)Deployed 1a07c5d9218f55dd8975a73528854c25949d4dc0 to https://api-5mal3qqic-flutter-widget-from-html.vercel.app.
Quick links:
Nothing published for this version
Nothing published for this version
Add support for anchor in core package
fwfh_webview (#448)fwfh_url_launcher (#450)fwfh_svg (#452)Deployed 998205d65dff402a4f06ed817aec2f94aad628aa to https://api-je289nhbj-flutter-widget-from-html.vercel.app.
Quick links:
Migrate to null safety (#436, authored by @miDeb)
Deployed 2f191a9217fdc52e12e2dba33dfb1c81a01fff5d to https://api-mm20lnu18-flutter-widget-from-html.vercel.app.
Quick links:
Deployed 2f191a9217fdc52e12e2dba33dfb1c81a01fff5d to https://example-7esp3rcv0-flutter-widget-from-html.vercel.app.
Quick links:
Add support for TABLE attribute cellpadding
cellpadding (#365)valign (#365)unsupportedWebViewWorkaroundForIssue375webViewDebuggingEnabledwebViewMediaPlaybackAlwaysAllowwebViewUserAgentHtmlWidget.onTapImage callback (#398)dom.Element directly (#367)Deployed b682da4c3fab95adea11a352829ee4a72528c4c4 to https://api-lkxc8uqdb-flutter-widget-from-html.vercel.app.
Quick links:
Deployed b682da4c3fab95adea11a352829ee4a72528c4c4 to https://example-hjdg6lk9d-flutter-widget-from-html.vercel.app.
Quick links:
[CanvasKit] Add workaround for unimplemented computeLineMetrics
computeLineMetrics (#441)Deployed 0c9db2e3007f73eadbc7862cbc10019fadf1a957 to https://api-lkxc8uqdb-flutter-widget-from-html.vercel.app.
Quick links:
Deployed 0c9db2e3007f73eadbc7862cbc10019fadf1a957 to https://example-wsom3d3as-flutter-widget-from-html.vercel.app.
Quick links:
computeLineMetrics (#441)Add param unsupportedWebViewWorkaroundForIssue375
unsupportedWebViewWorkaroundForIssue375HtmlWidget.onTapImage callbackcellpadding (#365)valign (#365)dom.Element directly (#367)Deployed 8b1567d30372c8418e13ca14645af29680cae4b8 to https://api-56zculyf5.vercel.app.
Quick links:
Deployed 8b1567d30372c8418e13ca14645af29680cae4b8 to https://example-g3fky8nv7.vercel.app.
Quick links:
Add support for auto, percentage sizing (e.g. width: 50%)
width: 50%)This release includes some changes that may require migration if you have a custom WidgetFactory:
BuildMetadata.isBlockElement with .willBuildSubtree.BuildOp.isBlockElement with .onWidgetsIsOptionalWidgetFactory.parseStyleDisplayTextStyleHtml.crossAxisAlignment has been removed (no replacement)Deployed be2c423e728bb673a33a240c503c77f3f02fd102 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed be2c423e728bb673a33a240c503c77f3f02fd102 to https://example-gwh1xadoa.vercel.app.
Quick links:
Discard preferred width / height on infinity value.
BuildOp for display: block (#342)Deployed efa0b397b0b66889ee5ad1b22267653ef307b3f8 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed efa0b397b0b66889ee5ad1b22267653ef307b3f8 to https://example-4u9svdsgi.vercel.app.
Quick links:
Fix bug null access (authored by @sweatfryash)
null access (authored by @sweatfryash)Deployed d429bb13419d0169b15664261a2af9bac3bd24d7 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed d429bb13419d0169b15664261a2af9bac3bd24d7 to https://example-oakx6prrz.vercel.app.
Quick links:
Fix LI marker position on non-default line height
Deployed 83ae6c683f8f429d6e506d07e6058a0ca705cbb4 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed 83ae6c683f8f429d6e506d07e6058a0ca705cbb4 to https://example-c7j90lzxc.vercel.app.
Quick links:
Fix CssBlock loosing stretched width on render object updated
CssBlock loosing stretched width on render object updated (#360)Deployed 399bd3bc97f3c5d5d2815fff53c73e499c550683 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed 399bd3bc97f3c5d5d2815fff53c73e499c550683 to https://example-7z0yy8z3f.vercel.app.
Quick links:
Add support for chewie 0.12 (#373, authored by @urakozz)
Deployed 1b3a26c4cb4f4358a7cc2ef4e4e8ddc924d33f57 to https://api-56zculyf5.vercel.app.
Quick links:
Deployed 1b3a26c4cb4f4358a7cc2ef4e4e8ddc924d33f57 to https://example-fdk7y2due.vercel.app.
Quick links:
Finally, BREAKING changes if you use a custom WidgetFactory:
This is a big release with lots of improvements under the hood. If you don't extends WidgetFactory yourself then there are only two changes that may affect your app:
customStylesBuilder returns Map instead of ListonTapUrl is called for incomplete URLOther changes:
text-align with end/start/-moz-center/-webkit-center (#305)text-overflow (#204)line-height and % in font-size (#220)IMG (#233)margin, padding (#237)pt unit (#266)background (color only) (#275)Finally, BREAKING changes if you use a custom WidgetFactory:
BuildOp: callback params changedBuiltPiece has been removedNodeMetadata -> BuildMetadataTextBit -> BuildBitTextStyleBuilders -> TextStyleBuilderWidgetFactory
buildXxx methods now have BuildMetadata as first parameterparseTag(NodeMetadata, String, String) -> parse(BuildMetadata)Deployed ccb7c56788f640680cf11e92711cd90df660265d to https://api-4u2589v25.vercel.app.
Quick links:
Deployed ccb7c56788f640680cf11e92711cd90df660265d to https://example-gcf8qsptk.vercel.app.
Quick links:
Nothing published for this version
Nothing published for this version
Finally, BREAKING changes if you use a custom WidgetFactory:
This is a big release with lots of improvements under the hood. If you don't extends WidgetFactory yourself then there are only two changes that may affect your app:
customStylesBuilder returns Map instead of ListonTapUrl is called for incomplete URLOther changes:
text-align with end/start/-moz-center/-webkit-center (#305)text-overflow (#204)line-height and % in font-size (#220)IMG (#233)margin, padding (#237)pt unit (#266)background (color only) (#275)Finally, BREAKING changes if you use a custom WidgetFactory:
BuildOp: callback params changedBuiltPiece has been removedNodeMetadata -> BuildMetadataTextBit -> BuildBitTextStyleBuilders -> TextStyleBuilderWidgetFactory
buildXxx methods now have BuildMetadata as first parameterparseTag(NodeMetadata, String, String) -> parse(BuildMetadata)Add support for flutter_svg@0.19.0
Note: Only flutter_widget_from_html is updated to 0.5.0+4, flutter_widget_from_html_core stays at 0.5.0+3.
Deployed 6137079f036ad85a5ba723d3ecd2fe2e3c9c8d4f to https://api-4u2589v25.vercel.app.
Quick links:
Deployed 6137079f036ad85a5ba723d3ecd2fe2e3c9c8d4f to https://example-660btp2u6.vercel.app.
Quick links:
Use Stack.clipBehavior instead of .overflow (#321, authored by @bahador)
Note: The packages now require Flutter version 1.20.0 and up.
Deployed 6e97ebdfd7f4fd7fee4743eb46c38617104192e3 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed 6e97ebdfd7f4fd7fee4743eb46c38617104192e3 to https://example-6l7y1367q.vercel.app.
Quick links:
Stop using singleton WidgetFactory by default
video_player version constraint as suggested by publisher (#333, authored by @dgilperez)Deployed 9334b27c394b1ec3c3af31fd786567ceb99ab466 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed 9334b27c394b1ec3c3af31fd786567ceb99ab466 to https://example-lvm369scl.vercel.app.
Quick links:
Fix incorrect alignment of list marker
webview_flutter@1.0.0 (#336)Deployed b983a0b630ee11b0bd6dde0513982660ae049689 to https://api-4u2589v25.vercel.app.
Quick links:
Deployed b983a0b630ee11b0bd6dde0513982660ae049689 to https://example-bi5wotdp7.vercel.app.
Quick links:
If you don't extends WidgetFactory yourself then there are only two BREAKING changes that may affect your app:
This is a big release with lots of improvements under the hood, probably the last pre-release before v0.5.0 stable is out. If you don't extends WidgetFactory yourself then there are only two BREAKING changes that may affect your app:
customStylesBuilder returns Map instead of ListonTapUrl is called for incomplete URLOther changes:
pt unit (#266)background (color only) (#275)margin, padding (#237)textScaleFactor being considered twice during rendering (#267)Finally, BREAKING changes if you have a custom WidgetFactory:
BuildOp: callback params changedImgMetadata -> ImageMetadata:
ImageSourceNodeMetadata -> BuildMetadata:
TextStyleHtmlhasOpshasParentsops -> buildOpsparents -> parentOpsop= -> register(BuildOp)style -> operator [](String)styles= -> operator []=(String, String)TableData -> TableMetadataTextBit
TextWhitespace, TextWhitespaceTypedatacanCompilehasTrailingWhitespace (TextBits still has it)InlineSpan compile(TextStyle) -> CompileTo compile(CompileFrom)static TextBit TextBit.nextOf(TextBit) -> instance TextBit next()TextStyleBuilders -> TextStyleBuilder:
TextStyleHtml Function(BuildContext, TextStyleHtml, T) -> TextStyleHtml Function(TextStyleHtml, T)WidgetFactory
buildXxx methods have BuildMetadata as first parameterbuildImageXxx -> imageXxxbuildGestureTapCallbackForUrl -> gestureTapCallbackparseTag(NodeMetadata, String, String) -> parse(BuildMetadata)WidgetPlaceholder
Iterable<Widget> Function(BuildContext, Iterable<Widget>, T) -> Widget Function(BuildContext, Widget)Deployed a31439fef74b8edb1a7def87d6724457c4793fbc to https://example-1aak9kx3q.vercel.app.
Quick links:
Deployed a31439fef74b8edb1a7def87d6724457c4793fbc to https://api-ldqgf9mq8.vercel.app.
Quick links:
Deployed a31439fef74b8edb1a7def87d6724457c4793fbc to https://document-pujtpc5qb.vercel.app.
Quick links:
BREAKING: Remove 3rd param wf from WidgetPlaceholder.wrap
wf from WidgetPlaceholder.wrapHtmlWidget.tableCellPaddingCssLineHeightImageLayout (#230)builder of TextStyleBuilders.enqueueWidgetFactory.buildImagetext-overflow (#204)width, height, max-width, max-height, min-width and min-heightline-height and % in font-size (#220)IMG (#233)Implement proper inline support for margin and padding
margin and padding (#237)nullAdd support for latest Flutter dev channel
width, height, max-width, max-height, min-width and min-heighttext-overflow (#204)BREAKING: Remove TextStyleBuilders.recognizer
TextStyleBuilders.recognizer (#168)lazySet method (#169)HtmlConfig and change factoryBuilder method signature (#173)bodyPaddingbuilderCallback with customStylesBuilder and customWidgetBuilder (#169)align (#153)padding (#160)line-height (#193)VIDEO.poster (#197)color support (#201)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for tag SUB, SUP and inline style vertical-align
vertical-align (#143)Fix conflict between TABLE and background-color
Fix bug vertical-align with trailing whitespace
- Switch to MIT license
Fix non-breaking space rendering
Update supported Flutter version >=1.10.15 <2.0.0
>=1.10.15 <2.0.0Fix IMG wrong size when device has scaled text
>=1.12.13+hotfix.5 <2.0.0- Use minimum main axis size - Update dependencies
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for type/start/reversed (LI/OL/UL)
type/start/reversed (LI/OL/UL) (#91)Fix cached image not being rendered on first build
Add basic detection and support for Directionality widget during LI/OL/UL rendering
Directionality widget during LI/OL/UL rendering (#115)Add enableCaching prop to control cache logic
enableCaching prop to control cache logicFix bug rendering ZERO WIDTH SPACE character
Re-implement text-align support to avoid conflicts (#66, #74)
Build RichText with proper textScaleFactor (#75, #78)
RichText with proper textScaleFactor (#75, #78)- Fix bug rendering empty TD tag (#81) - Improve white space rendering - Improve IMG rendering
Improve BR rendering to be consistent with browsers (#83, #84)
One column per quarter.