TextConstants class Null safety

Constructors

TextConstants()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultColor → const Color
color used if no color is specified
Colors.black
defaultColors → const List<String>
available list of colors
["#ff0000", "#cc0000", "#00ff00", "#6aa84f", "#0000ff", "#ffff00", "#ff77ff", "#9900ff", "#bf9001", "#666…
defaultFontFamily → const String
font-family used when no family is specified
"Roboto"
defaultFontSize → const double
font-size used when no size is specified
16
defaultLinkColor → const Color
Colors.blue
defaultLinkUnderline → const TextDecoration
link underline when no override was provided
TextDecoration.underline
errorStyle → const TextStyle
used when invalid HTML is parsed
TextStyle(color: Colors.red, fontWeight: FontWeight.bold)
headers → const List<String>
available header tags
const ["h1", "h2", "h3"]
headerSizes → const Map<String, double>
corresponding header-sizes
const {"h1" : 30, "h2" : 25, "h3" : 20}
labelStyle → const TextStyle
default style of labels
TextStyle(color: Colors.black)