OmegaAutoCompleteField constructor

OmegaAutoCompleteField({
  1. bool enabled = true,
  2. bool visible = true,
  3. double labelSize = 14.0,
  4. dynamic onSuggestionSelected()?,
  5. required List<String> suggestions,
  6. String? label,
  7. Color? labelColor,
  8. String? hint,
  9. TextInputType keyboardType = TextInputType.text,
  10. dynamic onChanged(
    1. String
    )?,
  11. dynamic onSaved(
    1. String?
    )?,
  12. dynamic onTap()?,
  13. FocusNode? focusNode,
  14. List<TextInputFormatter>? inputFormatters,
  15. String? validator(
    1. String?
    )?,
  16. bool showRequiredLabel = false,
  17. TextEditingController? controller,
  18. 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,
});