NESingleStateMenuItem class

仅包含单个状态的菜单项,点击时不会进行状态迁移

Inheritance

Constructors

NESingleStateMenuItem({required int itemId, required NEMenuVisibility visibility, required NEMenuItemInfo singleStateItem})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isValid bool
no setteroverride
itemId int
菜单项ID, 从0-99为预留Id,自定义注入菜单Id请使用100以上
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleStateItem NEMenuItemInfo
final
visibility NEMenuVisibility
finalinherited

Methods

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

Operators

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