copyWith method

WrappableText copyWith({
  1. Key? key,
  2. TextSpan? text,
  3. FCClear? clear,
  4. TextAlign? textAlign,
  5. TextDirection? textDirection,
  6. TextOverflow? overflow,
  7. double? textScaleFactor,
  8. int? maxLines,
  9. Locale? locale,
  10. StrutStyle? strutStyle,
  11. TextHeightBehavior? textHeightBehavior,
  12. double? indent,
  13. EdgeInsetsGeometry? margin,
  14. EdgeInsetsGeometry? padding,
})

Implementation

WrappableText copyWith({
  Key? key,
  TextSpan? text,
  FCClear? clear,
  TextAlign? textAlign,
  TextDirection? textDirection,
  TextOverflow? overflow,
  double? textScaleFactor,
  int? maxLines,
  Locale? locale,
  StrutStyle? strutStyle,
  ui.TextHeightBehavior? textHeightBehavior,
  double? indent,
  EdgeInsetsGeometry? margin,
  EdgeInsetsGeometry? padding,
}) =>
    WrappableText(
      key: key ?? this.key,
      text: text ?? this.text,
      clear: clear ?? this.clear,
      textAlign: textAlign ?? this.textAlign,
      textDirection: textDirection ?? this.textDirection,
      overflow: overflow ?? this.overflow,
      textScaleFactor: textScaleFactor ?? this.textScaleFactor,
      maxLines: maxLines ?? this.maxLines,
      locale: locale ?? this.locale,
      strutStyle: strutStyle ?? this.strutStyle,
      textHeightBehavior: textHeightBehavior ?? this.textHeightBehavior,
      indent: indent ?? this.indent,
      margin: margin ?? this.margin,
      padding: padding ?? this.padding,
    );