SelectController<T> constructor
SelectController<T> ({
- required List<
SelectOption< options,T> > - T? defaultValue,
- int visibleOptionCount = 5,
- ValueChanged<
T> ? onChange, - VoidCallback? onCancel,
- ValueChanged<
T> ? onFocus, - T? defaultFocusValue,
- VoidCallback? onUpFromFirstItem,
- VoidCallback? onDownFromLastItem,
Implementation
SelectController({
required this.options,
this.defaultValue,
this.visibleOptionCount = 5,
this.onChange,
this.onCancel,
this.onFocus,
this.defaultFocusValue,
this.onUpFromFirstItem,
this.onDownFromLastItem,
});