TreeSelectProps<T> constructor
const
TreeSelectProps<T> ({
- required List<
SelectData< options,T> > - bool multiple = false,
- bool checkable = false,
- String title = '树形选择器',
- String hintText = '请输入关键字搜索',
- void onSingleChanged(
- dynamic,
- T,
- SelectData<
T>
- void onMultipleChanged(
- List,
- List<
T> , - List<
SelectData< T> >
- Future<
List< remoteFetch()?,SelectData< >T> > - bool remote = false,
- bool filterable = false,
- bool lazyLoad = false,
- Future<
List< lazyLoadFetch(SelectData< >T> >- SelectData<
T>
- SelectData<
- bool isCacheData = true,
Implementation
const TreeSelectProps({
required this.options,
this.multiple = false,
this.checkable = false,
this.title = '树形选择器',
this.hintText = '请输入关键字搜索',
this.onSingleChanged,
this.onMultipleChanged,
this.remoteFetch,
this.remote = false,
this.filterable = false,
this.lazyLoad = false,
this.lazyLoadFetch,
this.isCacheData = true,
});