copy method

TextAreaConfig copy({
  1. int? minLines,
  2. int? maxLines,
  3. bool? expands,
  4. bool? autocorrect,
  5. bool? isDisabled,
  6. bool? isRequired,
})

Implementation

TextAreaConfig copy({
  int? minLines,
  int? maxLines,
  bool? expands,
  bool? autocorrect,
  bool? isDisabled,
  bool? isRequired,
}) {
  return TextAreaConfig(
    minLines: minLines ?? this.minLines,
    maxLines: maxLines ?? this.maxLines,
    expands: expands ?? this.expands,
    autocorrect: autocorrect ?? this.autocorrect,
    isDisabled: isDisabled ?? this.isDisabled,
    isRequired: isRequired ?? this.isRequired,
  );
}