NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #445 most downloaded on pub.dev
A Flutter widget for rendering static HTML and CSS as Flutter widgets.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 1.8 years
Nearly every release is documented
notes for 53 of 55 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
66 releases · first in 2018
chore: Update upper sdk constraint for external packages to Dart 4.0.0 by @Sub6Resources in #1302
Full Changelog: flutter_html-v3.0.0-beta.2...v3.0.0
One column per quarter.
Fix image source matcher tests so they actually run correctly by @Sub6Resources in #1086
CustomRender to HtmlExtension by @Sub6Resources in #1176<figure> stylesheet by @Sub6Resources in #1269Full Changelog: 3.0.0-alpha.5...flutter_html-v3.0.0-beta.2
FIX : Aspect ratio exception when height is 0 ( #1222 ).
FIX Align the baseline of inline content with the baseline of its parent flow, even if it has padding or borders
<br> issueauto margins now work for any Display.BLOCK element.auto width and height is now the default, rather than nullMargin, Height, and Width classes that allow em, rem, px, auto, and % values to be givenp and h1-6 styles to use em for better font scalingFixed hot reloads, thanks @arjenmels
Fixed styling not being applied to list item markers
BREAKING Full modularization using split packages; see our upgrade guide or use flutter_html_all
BREAKING Reworked custom renders pending full modularation in 3.0.0
Allow width/height/alignment styling on table/tr/td tags
Explicitly declare multiplatform support
Ignore unsupported custom style selectors when using fromCss
Fix regression in usage of line breaks in body being stripped
Update minimum versions of dependencies for Flutter 2.5 compatibility
Allow setting selectionControls with SelectableHtml
Stable release with all 2.1.1-preview.X changes
Fixes a leading whitespace issue
SelectableHtml widget (supporting a subset of tags) which allow text selection
Stable release with all 2.0.0-nullsafety.X changes
See the README for details on how to migrate blacklistedElements (deprecated) to tagsList
tagsList parameterblacklistedElements (deprecated) to tagsListfailed assertion error when tap-scrolling on any linkNew features & fixes for lists:
start="5";)<audio> on iOS ("_duration called on null" exception)Image loading with request headers, from relative paths and custom loading widget
<details>/<summary> tags<a> linksshrinkWrap property would not constrain the widget to take up the space it needs
shrinkWrapsrcs changed in the HTML dataAllow for returning null from a customRender function to disable the widget
null from a customRender function to disable the widget* Update dependencies
* Fix text scaling issues * Update dependencies
Nothing published for this version
For a list of pre-release changes, including several BREAKING CHANGES, see release notes for 1.0.0 above.
Add support for AssetImages using the asset: prefix (#162).
AssetImages using the asset: prefix (#162).Make it so width=100% doesn't throw error. Fixes #118.
width=100% doesn't throw error. Fixes #118.ImageProperties to negative to ignore the width and/or height values from the html. Fixes #97img alt property now renders correctly when the image fails to load and with the correct style. Fixes #96sub tag.shrinkToFit (#148). Fixes #75.Add support for customTextStyle to block and specialty HTML elements.
customTextStyle to block and specialty HTML elements.Add src to the onImageTap callback
src to the onImageTap callback (#93)Use tryParse instead of parse for image width and height attributes so that % values are ignored safely. Fixes #98
Nothing published for this version
Image properties and onImageTap for the richTextParser, plus some fixes
BREAKING: useRichText now defaults to true
useRichText now defaults to trueaside, bdi, big, cite, data, ins, kbd, mark, nav, noscript, q, rp, rt, ruby, s, samp, strike, template, time, tt, and var added to RichText parser.* Fixes extra padding issue
Add support for address tag in RichText parser.
address tag in RichText parser.Added custom textstyle and edgeinsets callback
* Fix whitespace issue.
Add support for span in RichText parser.
Fixes table error in RichText parser.
table error in RichText parser. (#58)Adds support for base64 encoded images
Adds partial support for deprecated font tag.
font tag.Adds full support for sub and sup.
Adds an alternate RichText parser and useRichText parameter.
RichText parser and useRichText parameter. (#37)* Removes debug prints.
Adds typedef for onLinkTap function.
typedef for onLinkTap function.Logging no longer shows up in production.
Fixes issue with text nodes that contain only a space.
Adds full support for ul and ol
ul and olAdds check for img src before trying to load it.
img src before trying to load it.img alt attribute.* Fixed minor typo
GitHub version 0.6.0 milestone reached
Adds partial support for center and a renderNewlines property on the Html widget.
center and a renderNewlines property on the Html widget.Adds support for acronym, and big.
acronym, and big.* Adds onLinkTap callback.
onLinkTap callback.Adds support for strike, and tt.
strike, and tt.* Adds support for bdi and bdo
bdi and bdoFixed issue with table rows not lining up correctly
Major refactor that makes entire tree a Widget and eliminates the need to distinguish between inline and block elements.
Fixed issue with images not loading when inside of p tag
p tag (#6)Your coding agent can read these notes before it upgrades. Set up the MCP server →