TreeSelectProps<T> constructor

const TreeSelectProps<T>({
  1. required List<SelectData<T>> options,
  2. bool multiple = false,
  3. bool checkable = false,
  4. String title = '树形选择器',
  5. String hintText = '请输入关键字搜索',
  6. void onSingleChanged(
    1. dynamic,
    2. T,
    3. SelectData<T>
    )?,
  7. void onMultipleChanged(
    1. List,
    2. List<T>,
    3. List<SelectData<T>>
    )?,
  8. Future<List<SelectData<T>>> remoteFetch(
    1. String
    )?,
  9. bool remote = false,
  10. bool filterable = false,
  11. bool lazyLoad = false,
  12. Future<List<SelectData<T>>> lazyLoadFetch(
    1. SelectData<T>
    )?,
  13. 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,
});