DomTreeSerializer class
Constructors
- DomTreeSerializer({bool isIOS = false})
-
const
Properties
Methods
-
cssColor(
Color? color) → String? - Flutter color --> CSS color
-
cssFontSize(
double? fontSize) → String? - Flutter font size --> CSS font size
-
cssFromBuildContext(
CssStyleDeclaration cssStyle, BuildContext context) → void - Sets CSS properties based on Flutter style.
-
cssFromCupertinoThemeData(
CssStyleDeclaration cssStyle, CupertinoThemeData theme) → void -
cssFromTextStyle(
CssStyleDeclaration cssStyle, TextStyle textStyle) → void -
cssFromThemeData(
CssStyleDeclaration cssStyle, ThemeData theme) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
{required BuildContext context, required Node node, Color? backgroundColor}) → String - Serializes any DOM node.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited