flutter_html_css_text_overflow 0.2.1 copy "flutter_html_css_text_overflow: ^0.2.1" to clipboard
flutter_html_css_text_overflow: ^0.2.1 copied to clipboard

A flutter_html extension that applies the CSS text-overflow, white-space and -webkit-line-clamp properties from an element's inline style.

0.2.1 #

  • Switches the inline-style parsing underneath this extension to the shared flutter_html_css_core package instead of a private copy. Nothing about the supported properties or the widget output changes.
  • Recognizes ! important (with a space after the !) as !important. The old parsing only matched the compact form and silently ignored the spaced one.
  • Splits declarations on a ; that sits outside quotes and parentheses, so a url("a;b.png") inside a declaration this extension does not act on no longer gets cut in half.

0.2.0 #

  • Renamed from flutter_html_css_text_overflow_extension on pub.dev. The old package stays published and is marked discontinued with this one as its replacement. Class names are unchanged.

0.1.0 #

  • Initial release. Applies text-overflow, white-space (pre/pre-wrap/pre-line/nowrap) and -webkit-line-clamp from an element's inline style, so the CSS behind Bootstrap's .text-truncate renders as a single ellipsized line.
0
likes
160
points
49
downloads

Documentation

API reference

Publisher

verified publisherchaosworld.cc

Weekly Downloads

A flutter_html extension that applies the CSS text-overflow, white-space and -webkit-line-clamp properties from an element's inline style.

Repository (GitLab)
View/report issues
Contributing

Topics

#flutter-html #css #html #extension #text-overflow

License

MPL-2.0 (license)

Dependencies

flutter, flutter_html, flutter_html_css_core, html

More

Packages that depend on flutter_html_css_text_overflow