ContextMenuItem class

Class that represent an item of the ContextMenu.

Constructors

ContextMenuItem({int? androidId, String? iosId, required String title, dynamic action()?})

Properties

action ↔ (dynamic Function()?)
Menu item action that will be called when an user clicks on it.
getter/setter pair
androidId int?
Android menu item ID.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iosId String?
iOS menu item ID.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Menu item title.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited