SelectionUtil class

Constructors

SelectionUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

checkMaxSelectionCount(TSelectionEntity entity) bool
currentSelectListForEntity(TSelectionEntity entity) List<TSelectionEntity>
getCurrentListIndex(TSelectionEntity? currentItem) int
确定当前 Item 在第几层级
getFilledCustomInputItem(List<TSelectionEntity> list) TSelectionEntity?
判断列表中是否有range类型
getTotalLevel(TSelectionEntity entity) int
筛选项最多不超过三层,故直接写代码判断,本质为深度优先搜索。
hasRangeItem(List<TSelectionEntity> list) bool
判断列表中是否有range类型
isEmpty(Object? obj) bool
processBrotherItemSelectStatus(TSelectionEntity selectionEntity) → void
resetSelectionDatas(TSelectionEntity entity) → void
textSize(String text, TextStyle style) Size