TextStyleUtility<T extends Attribute> class

Inheritance

Constructors

TextStyleUtility(T builder(TextStyleDto))

Properties

backgroundColor ColorUtility<T>
latefinal
builder → T Function(TextStyleDto)
finalinherited
color ColorUtility<T>
latefinal
decoration TextDecorationUtility<T>
latefinal
decorationColor ColorUtility<T>
latefinal
decorationStyle TextDecorationStyleUtility<T>
latefinal
fontFamily FontFamilyUtility<T>
latefinal
fontSize FontSizeUtility<T>
latefinal
fontStyle FontStyleUtility<T>
latefinal
fontWeight FontWeightUtility<T>
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow ShadowUtility<T>
latefinal
textBaseline TextBaselineUtility<T>
latefinal

Methods

as(TextStyle value) → T
inherited
background(Paint v) → T
bold() → T
call({String? fontFamily, FontWeight? fontWeight, FontStyle? fontStyle, double? fontSize, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, List<Shadow>? shadows, Color? color, Color? backgroundColor, List<FontFeature>? fontFeatures, TextDecoration? decoration, TextDecorationStyle? decorationStyle, Locale? locale, String? debugLabel, List<String>? fontFamilyFallback, Paint? foreground, Paint? background, double? decorationThickness, Color? decorationColor, double? height}) → T
debugLabel(String v) → T
decorationThickness(double v) → T
fontFamilyFallback(List<String> v) → T
fontFeatures(List<FontFeature> v) → T
foreground(Paint v) → T
height(double v) → T
italic() → T
letterSpacing(double v) → T
locale(Locale v) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({ColorDto? color, FontWeight? fontWeight, FontStyle? fontStyle, TextDecoration? decoration, double? fontSize, double? letterSpacing, double? wordSpacing, ColorDto? backgroundColor, ColorDto? decorationColor, TextDecorationStyle? decorationStyle, TextBaseline? textBaseline, List<ShadowDto>? shadows, List<FontFeature>? fontFeatures, Paint? foreground, Paint? background, double? decorationThickness, List<String>? fontFamilyFallback, Locale? locale, String? debugLabel, double? height, String? fontFamily}) → T
override
ref(TextStyleToken token) → T
shadows(List<Shadow> v) → T
toString() String
A string representation of this object.
inherited
wordSpacing(double v) → T

Operators

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