MenuFlyoutSubItem class

Represents a menu item that displays a sub-menu in a MenuFlyout.

See also:

Inheritance

Constructors

Creates a menu flyout sub item

Properties

disableAcyrlic bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
items MenuItemsBuilder
The colletion used to generate the content of the menu.
final
key Key?
finalinherited
leading Widget?
Displayed before text.
finalinherited
onPressed VoidCallback?
Called when the item is pressed.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
Whether this item is selected or not.
finalinherited
showBehavior SubItemShowBehavior
Represent which user action will show the sub-menu.
final
showHoverDelay Duration
The sub-menu will be only shown after this delay
final
text Widget
The text displayed in this item.
finalinherited
trailing Widget?
Displayed after text.
finalinherited

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