Menu class
The declarative menu the old tray_manager API took.
It is a plain description; TrayManager.setContextMenu turns it into a
nativeapi.Menu. Changing items afterwards needs another
setContextMenu call, as it always did.
- Annotations
-
- @Deprecated('The 0.5.x compatible API will be removed in a future release. Use the native API from package:tray_manager/tray_manager.dart.')
Properties
Methods
-
getMenuItem(
String key) → MenuItem? -
getMenuItemById(
int id) → MenuItem? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited