PickerEntity class

Constructors

PickerEntity({String? uniqueId, String? key, String? value, String? defaultValue, String name = '', List<PickerEntity> children = const [], bool isSelected = false, Map? extMap, String? type, int maxSelectedCount = SelectionConstant.maxSelectCount})

Properties

children List<PickerEntity>
getter/setter pair
defaultValue String?
getter/setter pair
extMap Map?
getter/setter pair
filterType PickerFilterType?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isSelected bool
getter/setter pair
key String?
getter/setter pair
maxSelectedCount int
getter/setter pair
name String
getter/setter pair
parent PickerEntity?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
getter/setter pair
uniqueId String?
getter/setter pair
value String?
getter/setter pair

Methods

clearChildSelection() → void
clearSelectedEntity() → void
configChild() → void
configDefaultValue() → void
configRelationship() → void
currentSelectListForEntity(PickerEntity entity) List<PickerEntity>
返回状态为选中的子节点
getIndexInCurrentLevel() int
判断当前的筛选 Item 是否为当前层次中第一个被选中的 Item。 用于展开筛选弹窗时显示选中效果。
getSelectedChildCount() int
返回最后一层级【选中状态】 Item 的 个数
isInLastLevel() bool
isUnLimit() bool
在这里简单认为 value 为空【null 或 ''】时为 unLimit.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parserFilterTypeWithType(String? type) PickerFilterType
parserShowType(String showType) PickerWindowType
selectedLastColumnList() List<PickerEntity>
selectedList() List<PickerEntity>
selectedListWithoutUnlimit() List<PickerEntity>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) PickerEntity