MenuFlyoutItem class

The standard flyout item used inside a MenuFlyout

See also:

Inheritance
Implementers

Constructors

Creates a menu flyout item

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
finalinherited
leading Widget?
Displayed before text.
final
onPressed VoidCallback?
Called when the item is pressed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
Whether this item is selected or not.
final
text Widget
The text displayed in this item.
final
trailing Widget?
Displayed after text.
final

Methods

build(BuildContext context) Widget
override
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