TextStyleData class

Inheritance
Annotations

Constructors

TextStyleData({Paint? background, ColorDto? backgroundColor, ColorDto? color, String? debugLabel, TextDecoration? decoration, ColorDto? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? fontFamily, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, double? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, Paint? foreground, double? height, double? letterSpacing, Locale? locale, List<ShadowDto>? shadows, TextBaseline? textBaseline, double? wordSpacing})
const
TextStyleData.tokenRef(TextStyleRef tokenRef)
const

Properties

background Paint?
final
backgroundColor ColorDto?
final
color ColorDto?
final
debugLabel String?
final
decoration TextDecoration?
final
decorationColor ColorDto?
final
decorationStyle TextDecorationStyle?
final
decorationThickness double?
final
fontFamily String?
final
fontFamilyFallback List<String>?
final
fontFeatures List<FontFeature>?
final
fontSize double?
final
fontStyle FontStyle?
final
fontWeight FontWeight?
final
foreground Paint?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
isTokenRef bool
no setter
letterSpacing double?
final
locale Locale?
final
props List<Object?>
no setter
ref TextStyleRef?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<ShadowDto>?
final
stringify bool
no setterinherited
textBaseline TextBaseline?
final
wordSpacing double?
final

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant TextStyleData? other) TextStyleData
Merges this object with other, returning a new object of type T.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) TextStyle
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from(TextStyle style) TextStyleData