TextStyler constructor
TextStyler({
- TextOverflow? overflow,
- StrutStyleMix? strutStyle,
- TextAlign? textAlign,
- TextScaler? textScaler,
- int? maxLines,
- TextStyleMix? style,
- TextWidthBasis? textWidthBasis,
- TextHeightBehaviorMix? textHeightBehavior,
- TextDirection? textDirection,
- bool? softWrap,
- List<
Directive< ? textDirectives,String> > - Color? selectionColor,
- String? semanticsLabel,
- Locale? locale,
- AnimationConfig? animation,
- WidgetModifierConfig? modifier,
- List<
VariantStyle< ? variants,TextSpec> >
Implementation
TextStyler({
TextOverflow? overflow,
StrutStyleMix? strutStyle,
TextAlign? textAlign,
TextScaler? textScaler,
int? maxLines,
TextStyleMix? style,
TextWidthBasis? textWidthBasis,
TextHeightBehaviorMix? textHeightBehavior,
TextDirection? textDirection,
bool? softWrap,
List<Directive<String>>? textDirectives,
Color? selectionColor,
String? semanticsLabel,
Locale? locale,
AnimationConfig? animation,
WidgetModifierConfig? modifier,
List<VariantStyle<TextSpec>>? variants,
}) : this.create(
overflow: Prop.maybe(overflow),
strutStyle: Prop.maybeMix(strutStyle),
textAlign: Prop.maybe(textAlign),
textScaler: Prop.maybe(textScaler),
maxLines: Prop.maybe(maxLines),
style: Prop.maybeMix(style),
textWidthBasis: Prop.maybe(textWidthBasis),
textHeightBehavior: Prop.maybeMix(textHeightBehavior),
textDirection: Prop.maybe(textDirection),
softWrap: Prop.maybe(softWrap),
textDirectives: textDirectives,
selectionColor: Prop.maybe(selectionColor),
semanticsLabel: Prop.maybe(semanticsLabel),
locale: Prop.maybe(locale),
variants: variants,
modifier: modifier,
animation: animation,
);