flutter_widget_from_html

Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.

MIT License

Stars
625
Committers
16

Bot releases are hidden (Show)

flutter_widget_from_html - v0.8.5

Published by daohoangson over 2 years ago

  • Improve IFRAME error & timer handling (#709)
  • Fix FwfhTextStyle usage within CupertinoPageScaffold (#713)

Deployed 6f1e8aecd92e8b1f7043f16ebeeb5462a06adc37 to https://example-ozfstoncz-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html - v0.8.3+1

Published by daohoangson almost 3 years ago

  • Add support for HtmlWidget.isSelectable (#631)
  • Add support for HtmlWidget.onSelectionChanged (#672)
  • New package: fwfh_selectable_text (#672)

Deployed a5d558f921b7324207b25d241fc8e2bf3496b1bb to https://example-r4y3ggrsv-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html - v0.8.3

Published by daohoangson almost 3 years ago

  • 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.textStyle to be null (#632)
  • Conditionally import flutter_cache_manager (#641)
  • Avoid importing dart:io in svg_factory.dart (#653)
  • Fix detached sub-tree still being built (#650)
  • Fix bug text-align with padding (#651)
  • Fix anchor being stuck (#659)

Deployed b730577209d3f717f875e01cf81aedfb3a340399 to https://example-m1v9trqsc-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html - v0.8.2

Published by daohoangson almost 3 years ago

  • Optimize HtmlListMarker (#623)
  • Fix leading and trailing whitespace within PRE being trimmed (#624)
  • Replace evaluateJavascript with runJavascriptReturningResult (#625)
flutter_widget_from_html - v0.8.1

Published by daohoangson almost 3 years ago

  • Mark enhanced HtmlWidget.webViewXxx properties as deprecated (#614)
  • Add support for [email protected] (#611)
  • Add support for ListView and SliverList constructor params (#616)
flutter_widget_from_html - v0.8.0

Published by daohoangson about 3 years ago

  • 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)
flutter_widget_from_html - v0.7.0

Published by daohoangson about 3 years ago

  • 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
flutter_widget_from_html - v0.6.2

Published by daohoangson about 3 years ago

  • 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)
flutter_widget_from_html - v0.7.0-dev.2021080801

Published by daohoangson about 3 years ago

  • 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)
flutter_widget_from_html - v0.7.0-dev.2021061301

Published by daohoangson over 3 years ago

  • 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)
flutter_widget_from_html - v0.7.0-dev.2021052101

Published by daohoangson over 3 years ago

  • Requires Flutter 2.2
  • Show click cursor for A tag (#322)
  • Fix incorrect UL/OL tag closing
  • Fix bug padding+background+h2 (#523)
flutter_widget_from_html - v0.6.1

Published by daohoangson over 3 years ago

  • 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)
flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • 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 c0e08e790d4b827766d4cd7586db4e31cabe92a5 to https://api-iou4gliwz-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • Dispose recognizer properly (#466)
  • Add Flutter Web support for webViewMediaPlaybackAlwaysAllow (#468)
  • Update test for [email protected] (#469)

Deployed 1a07c5d9218f55dd8975a73528854c25949d4dc0 to https://api-5mal3qqic-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • Add support for anchor in core package (#447)
  • Implement new package fwfh_webview (#448)
  • Implement new package fwfh_url_launcher (#450)
  • Implement new package fwfh_svg (#452)

Deployed 998205d65dff402a4f06ed817aec2f94aad628aa to https://api-je289nhbj-flutter-widget-from-html.vercel.app.

Quick links:

flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • 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:

flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • [CanvasKit] Add workaround for unimplemented 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:

flutter_widget_from_html -

Published by daohoangson over 3 years ago

  • Add support for TABLE attribute cellpadding (#365)
  • Add support for table cell attributes valign (#365)
  • Add WebView related params (#388, #431)
    • unsupportedWebViewWorkaroundForIssue375
    • webViewDebuggingEnabled
    • webViewMediaPlaybackAlwaysAllow
    • webViewUserAgent
  • Add support for HtmlWidget.onTapImage callback (#398)
  • Add support for sandbox="allow-scripts" (#420)
  • Add support for file:// images (#432)
  • Allow getting parsed inline styles from dom.Element directly (#367)
  • Improve support for inline styles border, border-collapse and box-sizing (#365)
  • Fix line metrics are unavailable on Flutter web (#383)
  • Fix IMG tag with dimensions being stretched (#429)

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:

flutter_widget_from_html -

Published by daohoangson almost 4 years ago

  • Add param unsupportedWebViewWorkaroundForIssue375
  • Add support for HtmlWidget.onTapImage callback
  • Add support for TABLE attribute cellpadding (#365)
  • Add support for table cell attributes valign (#365)
  • Allow getting parsed inline styles from dom.Element directly (#367)
  • Improve support for inline styles border, border-collapse and box-sizing (#365)
  • Fix line metrics are unavailable on Flutter web (#383)

Deployed 8b1567d30372c8418e13ca14645af29680cae4b8 to https://api-56zculyf5.vercel.app.

Quick links:

Deployed 8b1567d30372c8418e13ca14645af29680cae4b8 to https://example-g3fky8nv7.vercel.app.

Quick links:

flutter_widget_from_html -

Published by daohoangson almost 4 years ago

  • 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:

Package Rankings
Top 1.64% on Pub.dev
Badges
Extracted from project README
Flutter codecov pub package pub package pub package pub package pub package pub package pub package
Related Projects