copyWith method
FlutstrapTextArea
copyWith({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- String? label,
- String? placeholder,
- String? helperText,
- bool? disabled,
- bool? readonly,
- bool? required,
- bool? showValidation,
- bool? isValid,
- String? validationMessage,
- int? maxLength,
- bool? showCharacterCounter,
- int? rows,
- bool? autoResize,
- FSTextAreaSize? size,
- FSTextAreaVariant? variant,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - VoidCallback? onEditingComplete,
- FocusNode? focusNode,
- TextInputAction? textInputAction,
- EdgeInsetsGeometry? padding,
- bool? showLabel,
- String? semanticLabel,
- Duration? resizeDelay,
Implementation
FlutstrapTextArea copyWith({
Key? key,
TextEditingController? controller,
String? initialValue,
String? label,
String? placeholder,
String? helperText,
bool? disabled,
bool? readonly,
bool? required,
bool? showValidation,
bool? isValid,
String? validationMessage,
int? maxLength,
bool? showCharacterCounter,
int? rows,
bool? autoResize,
FSTextAreaSize? size,
FSTextAreaVariant? variant,
ValueChanged<String>? onChanged,
ValueChanged<String>? onSubmitted,
VoidCallback? onEditingComplete,
FocusNode? focusNode,
TextInputAction? textInputAction,
EdgeInsetsGeometry? padding,
bool? showLabel,
String? semanticLabel,
Duration? resizeDelay,
}) {
return FlutstrapTextArea(
key: key ?? this.key,
controller: controller ?? this.controller,
initialValue: initialValue ?? this.initialValue,
label: label ?? this.label,
placeholder: placeholder ?? this.placeholder,
helperText: helperText ?? this.helperText,
disabled: disabled ?? this.disabled,
readonly: readonly ?? this.readonly,
required: required ?? this.required,
showValidation: showValidation ?? this.showValidation,
isValid: isValid ?? this.isValid,
validationMessage: validationMessage ?? this.validationMessage,
maxLength: maxLength ?? this.maxLength,
showCharacterCounter: showCharacterCounter ?? this.showCharacterCounter,
rows: rows ?? this.rows,
autoResize: autoResize ?? this.autoResize,
size: size ?? this.size,
variant: variant ?? this.variant,
onChanged: onChanged ?? this.onChanged,
onSubmitted: onSubmitted ?? this.onSubmitted,
onEditingComplete: onEditingComplete ?? this.onEditingComplete,
focusNode: focusNode ?? this.focusNode,
textInputAction: textInputAction ?? this.textInputAction,
padding: padding ?? this.padding,
showLabel: showLabel ?? this.showLabel,
semanticLabel: semanticLabel ?? this.semanticLabel,
resizeDelay: resizeDelay ?? this.resizeDelay,
);
}