FlutstrapTextArea constructor
const
FlutstrapTextArea({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- String? label,
- String? placeholder,
- String? helperText,
- bool disabled = false,
- bool readonly = false,
- bool required = false,
- bool showValidation = false,
- bool isValid = true,
- String? validationMessage,
- int? maxLength,
- bool showCharacterCounter = false,
- int rows = 3,
- bool autoResize = false,
- FSTextAreaSize size = FSTextAreaSize.md,
- FSTextAreaVariant variant = FSTextAreaVariant.primary,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - VoidCallback? onEditingComplete,
- FocusNode? focusNode,
- TextInputAction? textInputAction,
- EdgeInsetsGeometry? padding,
- bool showLabel = true,
- String? semanticLabel,
- Duration resizeDelay = const Duration(milliseconds: 100),
Implementation
const FlutstrapTextArea({
super.key,
this.controller,
this.initialValue,
this.label,
this.placeholder,
this.helperText,
this.disabled = false,
this.readonly = false,
this.required = false,
this.showValidation = false,
this.isValid = true,
this.validationMessage,
this.maxLength,
this.showCharacterCounter = false,
this.rows = 3,
this.autoResize = false,
this.size = FSTextAreaSize.md,
this.variant = FSTextAreaVariant.primary,
this.onChanged,
this.onSubmitted,
this.onEditingComplete,
this.focusNode,
this.textInputAction,
this.padding,
this.showLabel = true,
this.semanticLabel,
this.resizeDelay = const Duration(milliseconds: 100),
});