TextStyleBuilder class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
build(
BuildContext context, {Color? color = ColorPalette.solidDarkGrey, FontWeight? boldness = regularFontWeight, required double? fontSize, TextDecoration? decoration = TextDecoration.none, double? lineHeight}) → TextStyle
Constants
- boldFontWeight → const FontWeight
- caption → const double
- extraLargeFontSize → const double
- extraSmallFontSize → const double
- extraTinyFontSize → const double
- largeFontSize → const double
- lightBoldFontWeight → const FontWeight
- mediumFontSize → const double
- mediumLargeFontSize → const double
- normalFontSize → const double
- regularFontWeight → const FontWeight
- semiBoldFontWeight → const FontWeight
- smallFontSize → const double
- tinyFontSize → const double