DomTreeSerializer class

Constructors

DomTreeSerializer({bool isIOS = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isIOS bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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