TextStyler constructor

TextStyler({
  1. TextOverflow? overflow,
  2. StrutStyleMix? strutStyle,
  3. TextAlign? textAlign,
  4. TextScaler? textScaler,
  5. int? maxLines,
  6. TextStyleMix? style,
  7. TextWidthBasis? textWidthBasis,
  8. TextHeightBehaviorMix? textHeightBehavior,
  9. TextDirection? textDirection,
  10. bool? softWrap,
  11. List<Directive<String>>? textDirectives,
  12. Color? selectionColor,
  13. String? semanticsLabel,
  14. Locale? locale,
  15. AnimationConfig? animation,
  16. WidgetModifierConfig? modifier,
  17. List<VariantStyle<TextSpec>>? variants,
})

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,
     );