OmegaTextArea constructor
OmegaTextArea({
- Key? key,
- bool enabled = true,
- bool visible = true,
- String label = '',
- double labelSize = 14,
- Color labelColor = Colors.black,
- String? hint,
- int? maxLength,
- TextInputType keyboardType = TextInputType.text,
- dynamic onChanged()?,
- dynamic onSaved()?,
- dynamic onTap()?,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- bool showRequiredLabel = false,
- bool autofocus = false,
- TextCapitalization textCapitalization = TextCapitalization.none,
- String? initialValue,
- int? minLines = 2,
- int? maxLines = 10,
- TextStyle? labelStyle,
Implementation
OmegaTextArea({
Key? key,
this.enabled = true,
this.visible = true,
this.label = '',
this.labelSize = 14,
this.labelColor = Colors.black,
this.hint,
this.maxLength,
this.keyboardType = TextInputType.text,
this.onChanged,
this.onSaved,
this.onTap,
this.focusNode,
this.inputFormatters,
this.validator,
this.showRequiredLabel = false,
this.autofocus = false,
this.textCapitalization = TextCapitalization.none,
this.initialValue,
this.minLines = 2,
this.maxLines = 10,
this.labelStyle,
}) : super(key: key);