PackageTrack
Sign in Get early access

flutter_html

A Flutter widget for rendering static HTML and CSS as Flutter widgets.

3.0.0 1000K downloads/mo #52 most downloaded on pub.dev Sub6Resources/flutter_html

What this package is like to depend on

Last release 1 years ago

11 Mar 2025

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

0 releases in the last 12 months

see the full history below

Release timeline

66 releases · Aug 2018 to Mar 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 66
  1. 3.0.0 11 Mar 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: flutter_html-v3.0.0-beta.2...v3.0.0

    Open source →
  2. 3.0.0-beta.2 31 May 2023 pre-release
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.0.0-alpha.5...flutter_html-v3.0.0-beta.2

    Open source →
  3. 3.0.0-beta.1 13 May 2023 pre-release
    Release notes
    • FIX: Aspect ratio exception when height is 0 (#1222). (ed75f8fe)
    • FIX: Fix issue with font scaling introduced in 3.0.0-alpha.6 (#1173). (c75e0dfb)
    • FIX: Fix various issues with list rendering. (520ff3c3)
    • FIX: Apply margins to properly. (7581ea79)
    • FIX: Use enum instead of const int internally in length.dart. (9dc7f08c)
    • FIX: Change CSSBoxWidget to CssBoxWidget. (a62449a7)
    • FEAT: Support mmultiscripts. (#1175). (a999a300)
    • FEAT: Support mfenced. (#1174). (9ca23084)
    • FEAT: Upgrade list-style-type to CSS3. (deb726ae)
    • FEAT: Support mtable, mtd, mtr for draw matrix. (#1164). (e99e2cc1)
    Open source →
  4. 3.0.0-alpha.6 30 Sep 2022 pre-release
    Release notes
    • FIX #731 Resolve newline <br> issue
    • FIX Align the baseline of inline content with the baseline of its parent flow, even if it has padding or borders
    • FIX Improved fontSize inheritance when cascading styles
    • FIX auto margins now work for any Display.BLOCK element.
    • FIX auto width and height is now the default, rather than null
    • FIX New CSSBoxWidget that handles calculations of child sizes for a more accurate HTML/CSS layout
    • BREAKING New Margin, Height, and Width classes that allow em, rem, px, auto, and % values to be given
    • FEAT Negative margins are now allowed
    • FIX Updated default p and h1-6 styles to use em for better font scaling
    • BREAKING Package now requires Dart sdk >= Dart 2.17
    • FIX: Apply margins to <table> properly. (7581ea79)
    • FIX: Use enum instead of const int internally in length.dart. (9dc7f08c)
    • FIX: Change CSSBoxWidget to CssBoxWidget. (a62449a7)
    • FIX: fix textShadow color declaration handler. (77ffe7cb)
    • FIX: ol use default style. (1c2412a2)
    • FIX: Crash when a tr tag includes text node. (ba8301c9)
    • FEAT: exposes fontFamilyFallback parameter. (1d65aafd)
    Open source →
  5. 3.0.0-alpha.5 09 Jun 2022 pre-release
    Release notes
    • Fixed hot reloads, thanks @arjenmels
    • Fixed link taps not working
    • Improvements in README
    Open source →
  6. 3.0.0-alpha.3 14 Apr 2022 pre-release
    Release notes
    • Fixed styling not being applied to list item markers
    • [video] Fixed crash when iframe or video tags used unsupported/incorrect height or width
    Open source →
  7. 3.0.0-alpha.2 05 Jan 2022 pre-release
    Release notes
    • BREAKING Full modularization using split packages; see our upgrade guide or use flutter_html_all
    Open source →
  8. 3.0.0-alpha.1 21 Dec 2021 pre-release
    Release notes
    • BREAKING Reworked custom renders pending full modularation in 3.0.0
    • Extended support custom render when using SelectableHtml
    • Updated flutter_svg to 1.0.0
    • Support flutter_webview 3.x
    • Automatic disposal of video and audio controllers
    • Fix block elements bottom spacing in table cells
    Open source →
  9. 2.2.1 09 Dec 2021
    Release notes
    • Allow styling on ruby tags
    • Allow width/height/alignment styling on table/tr/td tags
    • Prevent images causing rebuilding and leaking memory
    • Fixes display of list items on iOS with font weights below 400
    • Prevent crash on negative margins or paddings
    Open source →
  10. 2.2.0 29 Nov 2021
    Release notes
    • Explicitly declare multiplatform support
    • Extended and fixed list-style (marker) support
    • Basic support for height/width css properties
    • Support changing scroll physics of SelectableText.rich
    • Support text transform css property
    • Bumped minimum flutter_math_fork version for Flutter 2.5 compatibility
    • Fix styling of iframes
    • Fix nested font tag application
    • Fix whitespace rendering between list items
    • Prevent crash on empty <table> tag and tables with both colspan/rowspan
    • Prevent crash on use of negative margins in css
    Open source →
  11. 2.1.5 07 Oct 2021
    Release notes
    • Ignore unsupported custom style selectors when using fromCss
    • Fix SVG tag usage inside tables
    • Properly fix regression in usage of line breaks
    Open source →
  12. 2.1.4 03 Oct 2021
    Release notes
    • Fix regression in usage of line breaks in body being stripped
    Open source →
  13. 2.1.3 01 Oct 2021
    Release notes
    • Update minimum versions of dependencies for Flutter 2.5 compatibility
    • Extended and fixed support for css shadow
    • Fix block tags with explicit whitespace from being stripped
    Open source →
  14. 2.1.2 02 Sep 2021
    Release notes
    • Allow setting selectionControls with SelectableHtml
    • Fix onLinkTap not working with SelectableHtml
    • Don't crash when parsing unsupported :hover
    • Prevent endless loading when using animated images
    Open source →
  15. 2.1.1 28 Jul 2021
    Release notes
    • Stable release with all 2.1.1-preview.X changes
    Open source →
  16. 2.1.1-preview.0 27 Jul 2021 pre-release
    Release notes
    • Improves hr tag support
    • Fixes a leading whitespace issue
    • Fixes some crashes with CSS parsing
    Open source →
  17. 2.1.0 04 Jun 2021
    Release notes
    • SelectableHtml widget (supporting a subset of tags) which allow text selection
    • Fixed shrinkWrap to actually shrink the horizontal space
    • Support style tags to apply styling from inline css
    • Support applying styles from Flutter themes
    • Mouse hover on links when using Flutter Web
    • Allow custom anchor link tap implementations
    • Support additional list styling options
    • Fix several minor whitespace issues in text flow
    • Fixed specific colspan/rowspan usages in tables
    • Fixed whitespace issues around images
    • Swallow duplicate ids to prevent crashing the widget
    • Fixes crashing tap detection when using both link and image taps
    • Updates external dependencies
    • Raised minimum Flutter version to 2.2.0
    Open source →
  18. 2.0.0 11 May 2021
    Release notes
    • Stable release with all 2.0.0-nullsafety.X changes
    Open source →
  19. 2.0.0-nullsafety.1 29 Apr 2021 pre-release
    Release notes
    • Support basic MathML
    • Support inner links
    • Supply full context tree to custom render
    • Include or exclude specific tags via tagsList parameter
    • Fixed lists not rendering correctly
    • Fixes for colspans in tables
    • Fixed various exceptions when using inline styles
    • Fixed text decoration not cascading between parent and child
    • [BREAKING] support whitelisting tags
      • See the README for details on how to migrate blacklistedElements (deprecated) to tagsList
    • Fixed failed assertion error when tap-scrolling on any link
    • Updated dependencies
    Open source →
  20. 2.0.0-nullsafety.0 06 Mar 2021 pre-release
    Release notes
    • Nullsafety support
    • Official Flutter Web support
    • New features & fixes for lists:
      • Support start attribute (e.g. start="5";)
      • Support RTL direction
      • Support setting padding - you can remove the starting padding if you choose
      • Fixed unknown character box on iOS when font-weight is below w400
    • Upgraded link functions to provide more granular control
    • Fixed errors in text-decoration parsing
    • Fixed <audio> on iOS ("_duration called on null" exception)
    • Updated dependencies
    Open source →
  21. 1.3.0 22 Feb 2021
    Release notes
    • New image loading API
    • Image loading with request headers, from relative paths and custom loading widget
    • SVG image support from network or local assets
    • Support for <details>/<summary> tags
    • Allow returning spans from custom tag renders
    • Inline font styling
    • Content-based table column sizing
    • Respect iframe sandbox attribute
    • Fixed text flow and styling when using tags inside <a> links
    • Fixed issue where shrinkWrap property would not constrain the widget to take up the space it needs
      • See the Notes for an example usage with shrinkWrap
    • Fixed issue where iframes would not update when their srcs changed in the HTML data
    • Updated dependencies for Flutter 1.26+
    Open source →
  22. 1.2.0 15 Jan 2021
    Release notes
    • Support irregular table sizes
    • Allow for returning null from a customRender function to disable the widget
    Open source →
  23. 1.1.1 22 Nov 2020
    Release notes
    • Update dependencies
    Open source →
  24. 1.0.2 08 Aug 2020
    Release notes
    • Fix text scaling issues
    • Update dependencies
    Open source →
  25. 1.0.0 11 May 2020

    Nothing published for this version

  26. 1.0.0-pre.1 27 Dec 2019 pre-release
    Release notes
    • For a list of pre-release changes, including several BREAKING CHANGES, see release notes for 1.0.0 above.
    Open source →
  27. 0.11.1 14 Dec 2019
    Release notes
    • Add support for AssetImages using the asset: prefix (#162).
    Open source →
  28. 0.11.0 10 Sep 2019
    Release notes
    • Make it so width=100% doesn't throw error. Fixes #118.
    • You can now set width and/or height in ImageProperties to negative to ignore the width and/or height values from the html. Fixes #97
    • The img alt property now renders correctly when the image fails to load and with the correct style. Fixes #96
    • Add partial support for sub tag.
    • Add new option: shrinkToFit (#148). Fixes #75.
    Open source →
  29. 0.10.4 22 Jun 2019
    Release notes
    • Add support for customTextStyle to block and specialty HTML elements.
    Open source →
  30. 0.10.3 20 Jun 2019
    Release notes
    • Add src to the onImageTap callback (#93)
    Open source →
  31. 0.10.2 20 Jun 2019
    Release notes
    • Add customTextAlign property (#112)
    • Use tryParse instead of parse for image width and height attributes so that % values are ignored safely. Fixes #98
    Open source →
  32. 0.10.1 21 May 2019
    Release notes
    • Image properties and onImageTap for the richTextParser, plus some fixes (#90)
    • Hotfix 1 (June 6, 2019): Fixes #100
    Open source →
  33. 0.10.1+hotfix.1 07 Jun 2019

    Nothing published for this version

  34. 0.10.0 19 May 2019
    Release notes
    • BREAKING: useRichText now defaults to true
    • Support for aside, 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.
    Open source →
  35. 0.9.9 18 May 2019
    Release notes
    • Fixes extra padding issue (#87)
    Open source →
  36. 0.9.8 15 May 2019
    Release notes
    • Add support for address tag in RichText parser.
    Open source →
  37. 0.9.7 13 May 2019
    Release notes
    • Added onImageError callback
    • Added custom textstyle and edgeinsets callback (#72)
    • Update dependency versions (#84)
    • Fixes #82 and #86
    Open source →
  38. 0.9.6 12 Mar 2019
    Release notes
    • Fix whitespace issue. (#59)
    Open source →
  39. 0.9.5 12 Mar 2019
    Release notes
    • Add support for span in RichText parser. (#61)
    • Adds linkStyle attribute. (#70)
    • Adds tests for header, hr, and i (#62)
    Open source →
  40. 0.9.4 05 Feb 2019
    Release notes
    • Fixes table error in RichText parser. (#58)
    Open source →
  41. 0.9.3 01 Feb 2019
    Release notes
    • Adds support for base64 encoded images
    Open source →
  42. 0.9.2 01 Feb 2019
    Release notes
    • Adds partial support for deprecated font tag.
    Open source →
  43. 0.9.1 01 Feb 2019
    Release notes
    • Adds full support for sub and sup. (#46)
    • Fixes weak warning caught by Pub analysis (#54)
    Open source →
  44. 0.9.0 01 Feb 2019
    Release notes
    • Adds an alternate RichText parser and useRichText parameter. (#37)
    Open source →
  45. 0.8.2 02 Nov 2018
    Release notes
    • Removes debug prints.
    Open source →
  46. 0.8.1 19 Oct 2018
    Release notes
    • Adds typedef for onLinkTap function.
    Open source →
  47. 0.8.0 19 Oct 2018
    Release notes
    • Adds custom tag callback
    • Logging no longer shows up in production.
    Open source →
  48. 0.7.1 12 Sep 2018
    Release notes
    • Fixes issue with text nodes that contain only a space. (#24)
    • Fixes typo in README.md from 0.7.0.
    Open source →
  49. 0.7.0 11 Sep 2018
    Release notes
    • Adds full support for ul and ol
    Open source →
  50. 0.6.2 06 Sep 2018
    Release notes
    • Adds check for img src before trying to load it.
    • Adds support for img alt attribute.
    Open source →
  51. 0.6.1 05 Sep 2018
    Release notes
    • Fixed minor typo
    Open source →
  52. 0.6.0 05 Sep 2018
    Release notes
    • Update README.md and example
    • GitHub version 0.6.0 milestone reached
    Open source →
  53. 0.5.6 05 Sep 2018
    Release notes
    • Adds partial support for center and a renderNewlines property on the Html widget.
    Open source →
  54. 0.5.5 04 Sep 2018
    Release notes
    • Adds support for acronym, and big.
    Open source →
  55. 0.5.4 01 Sep 2018
    Release notes
    • Adds onLinkTap callback.
    Open source →
  56. 0.5.3 26 Aug 2018
    Release notes
    • Adds support for strike, and tt.
    Open source →
  57. 0.5.2 26 Aug 2018
    Release notes
    • Adds support for bdi and bdo
    Open source →
  58. 0.5.1 25 Aug 2018
    Release notes
    • Fixed issue with table rows not lining up correctly (#4)
    Open source →
  59. 0.5.0 24 Aug 2018
    Release notes
    • Major refactor that makes entire tree a Widget and eliminates the need to distinguish between inline and block elements.
    • Fixed #7, #9, #10, and #11.
    Open source →
  60. 0.4.1 15 Aug 2018
    Release notes
    • Fixed issue with images not loading when inside of p tag (#6)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive