copyWith method

TextBoxConfig copyWith({
  1. double? maxWidth,
  2. EdgeInsets? margins,
  3. double? timePerChar,
  4. double? dismissDelay,
  5. 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,
  );
}