flutter_html_css_font_size library

Classes

CssFontSize
One parsed CSS font-size value.
CssFontSizeHtmlExtension
Renders a relative CSS font-size that flutter_html 3.0.0 drops or compounds.

Enums

CssFontSizeUnit
The units a CSS font-size can state that flutter_html 3.0.0 can hold.

Constants

kCssFontSizeProperties → const Set<String>
The CSS property CssFontSizeHtmlExtension makes renderable.
kFlutterHtmlRootFontSize → const double
flutter_html's root font size in logical pixels.

Functions

parseInlineCssDeclarations(String? styleAttribute) → Map<String, String>
Splits an inline style="" attribute into declarations.
resolvedFontSizeOf(StyledElement element, {double rootFontSize = kFlutterHtmlRootFontSize}) → double
The font size element should render at, in logical pixels.
stripImportant(String? rawValue) → String?
Removes a trailing !important from rawValue.