MenuAction class
- Inheritance
-
- Object
- MenuElement
- MenuAction
Constructors
- MenuAction({String? title, MenuImage? image, required VoidCallback callback, MenuActionAttributes attributes = const MenuActionAttributes(), MenuActionState state = MenuActionState.none, SingleActivator? activator})
Properties
- activator → SingleActivator?
-
final
- attributes → MenuActionAttributes
-
final
- callback → VoidCallback
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → MenuImage?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → MenuActionState
-
final
- subtitle → String?
-
finalinherited
- title → String?
-
finalinherited
- uniqueId → int
-
finalinherited
Methods
-
find(
{required int uniqueId}) → MenuElement? -
inherited
-
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