TextStyleDto class

Inheritance
Annotations

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
no setterinherited
value List<TextStyleData>
final

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant TextStyleDto? other) TextStyleDto
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

as(TextStyle style) TextStyleDto
maybeAs(TextStyle? style) TextStyleDto?