textStyle property
TextStyle?
get
textStyle
Implementation
TextStyle? get textStyle {
final raw = textStyleState?.fromController(this) ?? _textStyle;
return raw?.copyWith(
color: textColor,
fontSize: textSize,
fontWeight: textFontWeight,
decoration: textDecoration,
decorationColor: textDecorationColor,
decorationStyle: textDecorationStyle,
decorationThickness: textDecorationThickness,
fontFamily: textFontFamily,
fontStyle: textFontStyle,
leadingDistribution: textLeadingDistribution,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
);
}
set
textStyle
(TextStyle? value)
Implementation
set textStyle(TextStyle? value) => _textStyle = value;