copyWith method
WrappableText
copyWith({
- Key? key,
- TextSpan? text,
- FCClear? clear,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- Locale? locale,
- StrutStyle? strutStyle,
- TextHeightBehavior? textHeightBehavior,
- double? indent,
- EdgeInsetsGeometry? margin,
- 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,
);