TextStyleDelta class sealed

A delta that applies modifications to a TextStyle.

Mixed-in types

Constructors

TextStyleDelta.delta({bool? inherit, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle()?, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline()?, double? height, TextLeadingDistribution? leadingDistribution()?, Locale? locale, Paint? foreground()?, Paint? background()?, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle()?, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, String? package, TextOverflow? overflow()?})
Creates a partial modification of a TextStyle.
const
factory
TextStyleDelta.value(TextStyle style)
Creates a complete replacement of a TextStyle.
const
factory

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

call(covariant TextStyle? style) TextStyle
Applies this delta to the given value.
override
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