PopupState class

保存当前筛选菜单的数据项,并配合PopupValueNotifier完成各项内容的监听

Constructors

PopupState({required List<SpinnerData> items, required List<SpinnerData> orginItems, Map<String, bool> highlightSpec = const {}, int selected = -1})

Properties

hashCode int
The hash code for this object.
no setterinherited
highlightSpec Map<String, bool>
缓存额外需要显示选项卡高亮的情况
getter/setter pair
items List<SpinnerData>
渲染数据
getter/setter pair
orginItems List<SpinnerData>
原始数据
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected int
当前选中的选项卡
getter/setter pair

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