MenuFlyoutItemBuilder class
Render any widget in the items list of a MenuFlyout
See also:
- MenuFlyout, which displays a list of commands or options
- MenuFlyoutItem, a single item in the list of items
- MenuFlyoutSeparator, which represents a horizontal line that separates items in a MenuFlyout.
- MenuFlyoutSubItem, which represents a menu item that displays a sub-menu in a MenuFlyout
- Inheritance
-
- Object
- MenuFlyoutItemBase
- MenuFlyoutItemBuilder
Constructors
- MenuFlyoutItemBuilder({Key? key, required WidgetBuilder builder})
-
Creates a menu flyout item builder
const
Properties
- builder → WidgetBuilder
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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