TextStyleDto class
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
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant TextStyleDto? other) → TextStyleDto -
Merges this object with
other, returning a new object of typeT.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?