DesktopContextMenuMacos class

Inheritance
  • Object
  • PlatformInterface
  • DesktopContextMenuMacos

Constructors

DesktopContextMenuMacos()

Properties

channel MethodChannel
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showContextMenu({required Iterable<ContextMenuItemBase> menuItems}) Future<ContextMenuItem?>
Shows the context menu with the given menuItems at the mouse coordinates.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith() → void
Registers this class as the default instance of DesktopContextMenuPlatform.