flutter_html_css_text_overflow 0.2.1
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_corepackage 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 aurl("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_extensionon 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-clampfrom an element's inline style, so the CSS behind Bootstrap's.text-truncaterenders as a single ellipsized line.