MenuItem class
An item in a Menu.
Constructors
- MenuItem(Message label, {MenuItemActivator? activator})
-
Create a menu item.
const
Properties
- activator → MenuItemActivator?
-
When to do when this MenuItem is activated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → Message
-
The message that will be used when focusing this menu item.
final
- 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
-
onFocus(
→ void ) - What happens when this item is focused.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited