DropdownSearchWidget<Output, Input> constructor
const
DropdownSearchWidget<Output, Input> ({
- Key? key,
- String label = '',
- required String formControlName,
- Map<
String, String Function(Object)> ? validationMessages, - bool? isDarker,
- Icon? prefixIcon,
- required String dataLabel(
- Input
- required Output valueProperty(
- Input
- required List<
Input> options, - bool enable = true,
- void onChange(
- FormControl<
Output>
- FormControl<
- bool showSearchBox = false,
- 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);