OmegaSearchFieldMulti constructor
OmegaSearchFieldMulti({
- Key? key,
- bool enabled = true,
- bool visible = true,
- String label = '',
- required Color colorWhite,
- required Color colorIcon,
- required Color colorPrimary,
- String? hint,
- bool obscureText = false,
- TextInputType keyboardType = TextInputType.text,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? inputFormatters, - required List<
SearchFieldSource> source, - String barText = 'Buscar',
- dynamic onSelect(
- dynamic
- dynamic onSaved(
- dynamic value,
- List<
SearchFieldSource> ? keys
- String? validator()?,
- bool showRequiredLabel = false,
- required List<
SearchFieldSource> getSource(), - bool useValidateToOpen = false,
- bool validateToOpen()?,
- double labelSize = 14,
Implementation
OmegaSearchFieldMulti({
Key? key,
this.enabled = true,
this.visible = true,
this.label = '',
required this.colorWhite,
required this.colorIcon,
required this.colorPrimary,
this.hint,
this.obscureText = false,
this.keyboardType = TextInputType.text,
this.focusNode,
this.inputFormatters,
required this.source,
this.barText = 'Buscar',
this.onSelect,
this.onSaved,
this.validator,
this.showRequiredLabel = false,
required this.getSource,
this.useValidateToOpen = false,
this.validateToOpen,
this.labelSize = 14,
}) : super(key: key);