copyWith method
TextBoxConfig
copyWith({
- double? maxWidth,
- EdgeInsets? margins,
- double? timePerChar,
- double? dismissDelay,
- bool? growingBox,
Implementation
TextBoxConfig copyWith({
double? maxWidth,
EdgeInsets? margins,
double? timePerChar,
double? dismissDelay,
bool? growingBox,
}) {
return TextBoxConfig(
maxWidth: maxWidth ?? this.maxWidth,
margins: margins ?? this.margins,
timePerChar: timePerChar ?? this.timePerChar,
dismissDelay: dismissDelay ?? this.dismissDelay,
growingBox: growingBox ?? this.growingBox,
);
}