style method

Text style({
  1. Key? key,
  2. TextStyle? style,
  3. StrutStyle? strutStyle,
  4. bool? softWrap,
  5. TextOverflow? overflow,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. String? semanticsLabel,
  9. TextScaler? textScaler,
  10. TextWidthBasis? textWidthBasis,
  11. int? maxLines,
  12. 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,
    );