flutter_html_css_font_size library
Classes
- CssFontSize
-
One parsed CSS
font-sizevalue. - CssFontSizeHtmlExtension
-
Renders a relative CSS
font-sizethatflutter_html3.0.0 drops or compounds.
Enums
- CssFontSizeUnit
-
The units a CSS
font-sizecan state thatflutter_html3.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
elementshould render at, in logical pixels. -
stripImportant(
String? rawValue) → String? -
Removes a trailing
!importantfromrawValue.