Skip to content

Releases: daohoangson/flutter_widget_from_html

v0.8.2

09 Nov 11:24
5758f23
Compare
Choose a tag to compare
  • Optimize HtmlListMarker (#623)
  • Fix leading and trailing whitespace within PRE being trimmed (#624)
  • Replace evaluateJavascript with runJavascriptReturningResult (#625)

v0.8.1

23 Oct 02:54
3b20aa0
Compare
Choose a tag to compare
  • Mark enhanced HtmlWidget.webViewXxx properties as deprecated (#614)
  • Add support for [email protected] (#611)
  • Add support for ListView and SliverList constructor params (#616)

v0.8.0

18 Oct 14:36
d6895b5
Compare
Choose a tag to compare
  • Update for Flutter 2.5 (#587)
  • BREAKING: Change WidgetBit.inline default alignment → bottom (#598)
  • BREAKING: Remove BuildMetadata.willBuildSubtree (#607)
  • BREAKING: Remove BuildTree.replaceWith (#607)
  • BREAKING: Remove WidgetFactory.buildBorder (#608)
  • Add support for DETAILS tag (#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)

v0.7.0

31 Aug 01:55
54b0172
Compare
Choose a tag to compare
  • Flutter 2.2
  • BREAKING: Remove HtmlWidget.buildAsyncBuilder (#575)
  • BREAKING: Remove HtmlWidget.hyperlinkColor (#571)
  • BREAKING: Change HtmlWidget.onTapUrl signature to return a FutureOr<bool>. (#563)
  • Show click cursor for A tag (#322)
  • Add support for HtmlWidget.renderMode (#484)
  • Add support for error & loading builder for network image (#547, thanks @DFelten)
  • Improve text-decoration support (#569)
  • Add support for HtmlWidgetState.scrollToAnchor (#577)
  • Implement HtmlWidget.onErrorBuilder and onLoadingBuilder (#575)
  • Fix bug border+background (#516)
  • Fix incorrect UL/OL tag closing
  • Fix CssSizingValue equality 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.maxLines and .textOverflow (#570)
  • Remove WidgetFactory.buildColumnPlaceholder param trimMarginVertical
  • Remove WidgetFactory.buildColumnWidget param tsh
  • Change WidgetFactory.buildImageWidget params
  • Replace WidgetFactory.getListStyleMarker with getListMarkerText
  • Remove WidgetFactory.imageLoadingBuilder and imageErrorBuilder (#575)
  • Replace WidgetFactory.onTapAnchor param anchorContext with scrollTo

v0.6.2

12 Aug 12:05
3bad2e6
Compare
Choose a tag to compare
  • Add support for AUDIO tag (#530)
  • Restore computeLineMetrics usage in Flutter web. (#561)
  • Improve whitespace handling (#551)
  • Fix negative margin/padding throwing exception (#510)
  • Fix bug padding+background+h2 (#523)
  • Fix min-width being ignored (#544)
  • Fix portrait video (#553)

v0.7.0-dev.2021080801

08 Aug 20:26
8f414ea
Compare
Choose a tag to compare
v0.7.0-dev.2021080801 Pre-release
Pre-release
  • BREAKING: RenderMode.Column is now .column (ListView and SliverList have the same change)
  • Add support for error & loading builder (#547, thanks @DFelten)
  • Improve whitespace handling (#551)
  • Fix min-width being ignored (#544)
  • Fix portrait video (#553)

v0.7.0-dev.2021061301

13 Jun 09:16
c60446e
Compare
Choose a tag to compare
v0.7.0-dev.2021061301 Pre-release
Pre-release
  • BREAKING: buildColumnPlaceholder removed trimMarginVertical named param
  • BREAKING: buildColumnWidget removed tsh param
  • BREAKING: onTapAnchor replaced anchorContext param with scrollTo
  • Add support for WidgetFactory.buildTextSpan
  • Add support for HtmlWidget.renderMode (#484)

v0.7.0-dev.2021052101

21 May 11:48
07c2e63
Compare
Choose a tag to compare
v0.7.0-dev.2021052101 Pre-release
Pre-release
  • Requires Flutter 2.2
  • Show click cursor for A tag (#322)
  • Fix incorrect UL/OL tag closing
  • Fix bug padding+background+h2 (#523)

v0.6.1

30 Apr 08:08
354b45d
Compare
Choose a tag to compare
  • Add support for white-space inline style (#483)
  • Add support for [email protected] (#498)
  • Change onTapUrl signature to accept a returning value (#499)
  • Fix _ListMarkerRenderObject invalid size
  • Fix anchor bugs (#485, #491, #493 and #500)
  • Fix TR display: none is still being rendered (#489)
  • Fix empty TD being skipped -> incorrect table layout (#503)

v0.6.0

07 Apr 19:26
c0e08e7
Compare
Choose a tag to compare
  • Flutter 2 with null safety 🚀 (#436, special thanks to @miDeb)
  • Implement new packages:
    • fwfh_webview (#448)
    • fwfh_url_launcher (#450)
    • fwfh_svg (#452)
    • fwfh_chewie (#461)
    • fwfh_cached_network_image (#463)
  • Use csslib to parse inline style (#379)
  • Implement computeDryLayout (#411)
  • Dispose recognizer properly (#466)
  • Add Flutter Web support for webViewMediaPlaybackAlwaysAllow (#468)

Deployed c0e08e7 to https://api-iou4gliwz-flutter-widget-from-html.vercel.app.

Quick links: