MenuItem class

One option in a SimpleMenu or FilteredMenu.

Constructors

Creates a menu option.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
The text shown in the menu.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value passed to the menu's onSelected when this option is chosen, and matched against its initialSelection.
final

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