OmegaSearchFieldMulti constructor

OmegaSearchFieldMulti({
  1. Key? key,
  2. bool enabled = true,
  3. bool visible = true,
  4. String label = '',
  5. Color labelColor = Colors.black,
  6. required Color colorWhite,
  7. required Color colorIcon,
  8. required Color colorPrimary,
  9. String? hint,
  10. bool obscureText = false,
  11. TextInputType keyboardType = TextInputType.text,
  12. FocusNode? focusNode,
  13. List<TextInputFormatter>? inputFormatters,
  14. required List<SearchFieldSource> source,
  15. String barText = 'Buscar',
  16. dynamic onSelect(
    1. dynamic
    )?,
  17. dynamic onSaved(
    1. dynamic value,
    2. List<SearchFieldSource>? keys
    )?,
  18. String? validator(
    1. String?
    )?,
  19. bool showRequiredLabel = false,
  20. required List<SearchFieldSource> getSource(),
  21. bool useValidateToOpen = false,
  22. bool validateToOpen()?,
  23. double labelSize = 14,
})

Implementation

OmegaSearchFieldMulti({
  Key? key,
  this.enabled = true,
  this.visible = true,
  this.label = '',
  this.labelColor = Colors.black,
  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);