TextStyleData constructor
const
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,
Implementation
const TextStyleData({
this.background,
this.backgroundColor,
this.color,
this.debugLabel,
this.decoration,
this.decorationColor,
this.decorationStyle,
this.decorationThickness,
this.fontFamily,
this.fontFamilyFallback,
this.fontFeatures,
this.fontSize,
this.fontStyle,
this.fontWeight,
this.foreground,
this.height,
this.letterSpacing,
this.locale,
this.shadows,
this.textBaseline,
this.wordSpacing,
}) : ref = null;