DropdownSearchWidget<Output, Input> constructor

const DropdownSearchWidget<Output, Input>({
  1. Key? key,
  2. String label = '',
  3. required String formControlName,
  4. Map<String, String Function(Object)>? validationMessages,
  5. bool? isDarker,
  6. Icon? prefixIcon,
  7. required String dataLabel(
    1. Input
    ),
  8. required Output valueProperty(
    1. Input
    ),
  9. required List<Input> options,
  10. bool enable = true,
  11. void onChange(
    1. FormControl<Output>
    )?,
  12. bool showSearchBox = false,
  13. TextInputType keyboardType = TextInputType.visiblePassword,
})

Implementation

const DropdownSearchWidget(
    {Key? key,
    this.label = '',
    required this.formControlName,
    this.validationMessages,
    this.isDarker,
    this.prefixIcon,
    required this.dataLabel,
    required this.valueProperty,
    required this.options,
    this.enable = true,
    this.onChange,
    this.showSearchBox = false,
    this.keyboardType = TextInputType.visiblePassword})
    : super(key: key);