style method
Text
style({
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- bool? softWrap,
- TextOverflow? overflow,
- TextDirection? textDirection,
- Locale? locale,
- String? semanticsLabel,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
- int? maxLines,
- TextAlign? textAlign,
Apply TextStyle to existing textstyle
Implementation
Text style({
Key? key,
TextStyle? style,
StrutStyle? strutStyle,
bool? softWrap,
TextOverflow? overflow,
TextDirection? textDirection,
Locale? locale,
String? semanticsLabel,
TextScaler? textScaler,
TextWidthBasis? textWidthBasis,
int? maxLines,
TextAlign? textAlign,
}) =>
_copyWith(
key: key,
style: style,
strutStyle: strutStyle,
softWrap: softWrap,
overflow: overflow,
textDirection: textDirection,
locale: locale,
semanticsLabel: semanticsLabel,
textScaler: textScaler,
textWidthBasis: textWidthBasis,
maxLines: maxLines,
textAlign: textAlign,
);