VoFieldOptions constructor
const
VoFieldOptions({
- String? label,
- String? hint,
- String? helperText,
- String? errorText,
- Widget? prefix,
- Widget? prefixIcon,
- Widget? suffix,
- Widget? suffixIcon,
- TextCapitalization textCapitalization = TextCapitalization.none,
- TextAlign textAlign = TextAlign.start,
- int maxLines = 1,
- int? maxLength,
- FocusNode? focusNode,
- bool autofocus = false,
- bool autocorrect = false,
- bool enableSuggestions = false,
- bool readOnly = false,
- bool showCursor = false,
- bool showErrorText = false,
- TextInputType keyboardType = TextInputType.text,
- TextInputAction textInputAction = TextInputAction.next,
- bool obscureText = false,
- bool enabled = true,
- VoLabelBehavior labelBehavior = VoLabelBehavior.auto,
- Color? fillColor,
- InputBorder? border,
- InputBorder? enabledBorder,
- InputBorder? focusedBorder,
- InputBorder? errorBorder,
- InputBorder? disabledBorder,
Implementation
const VoFieldOptions({
this.label,
this.hint,
this.helperText,
this.errorText,
this.prefix,
this.prefixIcon,
this.suffix,
this.suffixIcon,
this.textCapitalization = TextCapitalization.none,
this.textAlign = TextAlign.start,
this.maxLines = 1,
this.maxLength,
this.focusNode,
this.autofocus = false,
this.autocorrect = false,
this.enableSuggestions = false,
this.readOnly = false,
this.showCursor = false,
this.showErrorText = false,
this.keyboardType = TextInputType.text,
this.textInputAction = TextInputAction.next,
this.obscureText = false,
this.enabled = true,
this.labelBehavior = VoLabelBehavior.auto,
this.fillColor,
this.border,
this.enabledBorder,
this.focusedBorder,
this.errorBorder,
this.disabledBorder,
});