TreeSelectProps<T> class

树选择字段配置

Constructors

TreeSelectProps({required List<SelectData<T>> options, 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<SelectData<T>>> remoteFetch(String)?, bool remote = false, bool filterable = false, bool lazyLoad = false, Future<List<SelectData<T>>> lazyLoadFetch(SelectData<T>)?, bool isCacheData = true})
const

Properties

checkable bool
final
filterable bool
final
hashCode int
The hash code for this object.
no setterinherited
hintText String
final
isCacheData bool
final
lazyLoad bool
final
lazyLoadFetch Future<List<SelectData<T>>> Function(SelectData<T>)?
final
multiple bool
final
onMultipleChanged → void Function(List, List<T>, List<SelectData<T>>)?
final
onSingleChanged → void Function(dynamic, T, SelectData<T>)?
final
options List<SelectData<T>>
final
remote bool
final
remoteFetch Future<List<SelectData<T>>> Function(String)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited