Presents the platform's native text-selection menu.
No fallback is drawn: without a platform implementation, showMenu returns false and no menu appears.
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
-
dismissMenu(
) → Future< void> - Dismisses the native menu if it is open.
-
showMenu(
{required Rect anchorRect, required List< NativeToolboxAction> actions, required bool selectionMode, bool topRight = false}) → Future<bool> -
Shows the platform's native selection menu anchored at
anchorRect.