CustomSelectFormField<T extends SelectOption> constructor
const
CustomSelectFormField<T extends SelectOption> ({
- Key? key,
- required Future<
List< getOptions(),T> > - TextEditingCController? controller,
- String? label,
- bool required = false,
- bool showSearchInput = true,
- bool autoUnfocus = true,
- void onChange(
- SelectOptionOnChangeEventData<
T> event
- SelectOptionOnChangeEventData<
Implementation
const CustomSelectFormField({
super.key,
required this.getOptions,
this.controller,
this.label,
this.required = false,
this.showSearchInput = true,
this.autoUnfocus = true,
this.onChange,
});