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

A flutter_html extension that renders the CSS border longhand properties: border-width, border-style, border-color and their per-side and logical forms.

0.2.1 #

  • Depends on flutter_html_css_core 0.1.0 for the inline-style parsing this package used to carry itself.
  • CssDeclaration and formatPx are no longer declared in this package. Both are re-exported from flutter_html_css_core under the same names, so the public API is unchanged.
  • parseInlineStyle now wraps the core package's splitDeclarations, and tokenizeValue now wraps its splitTopLevel. Both keep their original names, signatures and behaviour.
  • parseBorderWidth is unchanged. It deliberately does not move to the core package's CssLength: it mirrors flutter_html's own width arithmetic, which reads every length unit as a bare number with no font size consulted, rather than resolving a length the way real CSS does.

0.2.0 #

  • Renamed from flutter_html_css_border_extension on pub.flutter-io.cn. The old package stays published and is marked discontinued with this one as its replacement. Class names are unchanged.

0.1.0 #

  • Initial release. Adds a flutter_html extension that resolves the CSS border cascade of an element's inline style and writes it back as the shorthands flutter_html parses. border-width, border-style, border-color, the twelve per-side longhands and the logical border-block* and border-inline* forms all render. dashed, dotted, double, groove, ridge, inset and outset are drawn as a solid line of the declared width and colour. Flutter's BorderSide has no other visible style.
0
likes
160
points
51
downloads

Documentation

API reference

Publisher

verified publisherchaosworld.cc

Weekly Downloads

A flutter_html extension that renders the CSS border longhand properties: border-width, border-style, border-color and their per-side and logical forms.

Repository (GitLab)
View/report issues
Contributing

Topics

#flutter-html #css #html #extension #border

License

MPL-2.0 (license)

Dependencies

flutter, flutter_html, flutter_html_css_core, html

More

Packages that depend on flutter_html_css_border