copyWith method

Implementation

WrappedText copyWith({
  WrappedTextDataBuilder<TextStyle>? style,
  WrappedTextDataBuilder<TextAlign>? textAlign,
  WrappedTextDataBuilder<bool>? softWrap,
  WrappedTextDataBuilder<TextOverflow>? overflow,
  WrappedTextDataBuilder<int>? maxLines,
  WrappedTextDataBuilder<TextWidthBasis>? textWidthBasis,
  Widget? child,
}) {
  return WrappedText(
    style: style ?? this.style,
    textAlign: textAlign ?? this.textAlign,
    softWrap: softWrap ?? this.softWrap,
    overflow: overflow ?? this.overflow,
    maxLines: maxLines ?? this.maxLines,
    textWidthBasis: textWidthBasis ?? this.textWidthBasis,
    child: child ?? this.child,
  );
}