DropdownProps<T> constructor
const
DropdownProps<T> ({
- List<
SelectData< options = const [],T> > - bool multiple = false,
- bool alwaysRefresh = false,
- bool filterable = false,
- bool remote = false,
- Future<
List< remoteSearch()?,SelectData< >T> > - bool showAdd = false,
- bool showClear = false,
- VoidCallback? onClear,
- Future<
bool?> onAdd()?, - String tips = '',
- void onSingleChanged(
- dynamic,
- T,
- SelectData<
T>
- void onMultipleChanged(
- List,
- List<
T> , - List<
SelectData< T> >
Implementation
const DropdownProps({
this.options = const [],
this.multiple = false,
this.alwaysRefresh = false,
this.filterable = false,
this.remote = false,
this.remoteSearch,
this.showAdd = false,
this.showClear = false,
this.onClear,
this.onAdd,
this.tips = '',
this.onSingleChanged,
this.onMultipleChanged,
});