TextStyleDelta.delta constructor
const
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.
Implementation
const factory TextStyleDelta.delta({
bool? inherit,
Color? color,
Color? backgroundColor,
double? fontSize,
FontWeight? fontWeight,
FontStyle? Function()? fontStyle,
double? letterSpacing,
double? wordSpacing,
TextBaseline? Function()? textBaseline,
double? height,
TextLeadingDistribution? Function()? leadingDistribution,
Locale? locale,
Paint? Function()? foreground,
Paint? Function()? background,
List<Shadow>? shadows,
List<FontFeature>? fontFeatures,
List<FontVariation>? fontVariations,
TextDecoration? decoration,
Color? decorationColor,
TextDecorationStyle? Function()? decorationStyle,
double? decorationThickness,
String? debugLabel,
String? fontFamily,
List<String>? fontFamilyFallback,
String? package,
TextOverflow? Function()? overflow,
}) = _TextStyleDelta;