PlutoMenuItemWidget class

Inheritance

Constructors

PlutoMenuItemWidget({Object? id, required Widget widget, bool enable = false, dynamic onTap()?})

Properties

children List<PlutoMenuItem>?
Passing PlutoMenuItem to a List creates a sub-menu.
finalinherited
enable bool
finalinherited
hasChildren bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
finalinherited
id Object?
Set a unique ID for the menu widget.
getter/setter pairinherited
isBack bool
no setterinherited
key GlobalKey<State<StatefulWidget>>
no setterinherited
onTap → (dynamic Function()?)
Callback executed when a menu is tapped
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Menu title
finalinherited
type PlutoMenuItemType
no setteroverride
widget Widget
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