BrowserContextMenu class
Controls the browser's context menu on the web platform.
The context menu is the menu that appears on right clicking or selecting text in the browser, for example.
On web, by default, the browser's context menu is enabled and Flutter's context menus are hidden.
On all non-web platforms, this does nothing.
Properties
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Static Methods
-
disableContextMenu(
) → Future< void> - Disable the browser's context menu.
-
enableContextMenu(
) → Future< void> - Enable the browser's context menu.