Selector<T> constructor
const
Selector<T> ({
- required List<
SelectorOption< options,T> > - T? value,
- void onChanged(
- T value
- String placeholder = 'Select...',
- bool disabled = false,
- bool clearable = false,
- bool searchable = false,
- String? label,
- String? error,
- InputStyle? style,
- Key? key,
Implementation
const Selector({
required this.options,
this.value,
this.onChanged,
this.placeholder = 'Select...',
this.disabled = false,
this.clearable = false,
this.searchable = false,
this.label,
this.error,
this.style,
super.key,
});