OmegaAutoCompleteField constructor
OmegaAutoCompleteField({
- bool enabled = true,
- bool visible = true,
- double labelSize = 14.0,
- dynamic onSuggestionSelected()?,
- required List<
String> suggestions, - String? label,
- Color? labelColor,
- String? hint,
- TextInputType keyboardType = TextInputType.text,
- dynamic onChanged()?,
- dynamic onSaved()?,
- dynamic onTap()?,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- bool showRequiredLabel = false,
- TextEditingController? controller,
- bool autofocus = false,
Implementation
OmegaAutoCompleteField({
this.enabled = true,
this.visible = true,
this.labelSize = 14.0,
this.onSuggestionSelected,
required this.suggestions,
this.label,
this.labelColor,
this.hint,
this.keyboardType = TextInputType.text,
this.onChanged,
this.onSaved,
this.onTap,
this.focusNode,
this.inputFormatters,
this.validator,
this.showRequiredLabel = false,
this.controller,
this.autofocus = false,
});