flutter_html_css_border 0.2.1
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_core0.1.0 for the inline-style parsing this package used to carry itself. CssDeclarationandformatPxare no longer declared in this package. Both are re-exported fromflutter_html_css_coreunder the same names, so the public API is unchanged.parseInlineStylenow wraps the core package'ssplitDeclarations, andtokenizeValuenow wraps itssplitTopLevel. Both keep their original names, signatures and behaviour.parseBorderWidthis unchanged. It deliberately does not move to the core package'sCssLength: it mirrorsflutter_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_extensionon 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_htmlextension that resolves the CSS border cascade of an element's inline style and writes it back as the shorthandsflutter_htmlparses.border-width,border-style,border-color, the twelve per-side longhands and the logicalborder-block*andborder-inline*forms all render.dashed,dotted,double,groove,ridge,insetandoutsetare drawn as a solid line of the declared width and colour. Flutter'sBorderSidehas no other visible style.