TreeSelectProps<T> class
树选择字段配置
Constructors
-
TreeSelectProps({required List<
SelectData< options, bool multiple = false, bool checkable = false, String title = '树形选择器', String hintText = '请输入关键字搜索', void onSingleChanged(dynamic, T, SelectData<T> >T> )?, void onMultipleChanged(List, List<T> , List<SelectData< )?, Future<T> >List< remoteFetch(String)?, bool remote = false, bool filterable = false, bool lazyLoad = false, Future<SelectData< >T> >List< lazyLoadFetch(SelectData<SelectData< >T> >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< Function(SelectData<SelectData< >T> >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< Function(String)?SelectData< >T> > -
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