IosContextMenuAction class

Tappable action in the context menu.

Inheritance
Annotations

Constructors

IosContextMenuAction({required String id, required String title, String? iconSystemName, String? iconAssetPath, bool showTrailingCheckmark = false, bool destructive = false, bool enabled = true})
Creates an action entry.
const

Properties

destructive bool
Marks this action as destructive.
final
enabled bool
Whether this action can be selected.
final
hashCode int
The hash code for this object.
no setteroverride
iconAssetPath String?
Asset path for an icon image.
final
iconSystemName String?
SF Symbol name used on iOS when provided.
final
id String
Unique action identifier returned in IosSingleTapContextMenu.onSelected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTrailingCheckmark bool
Whether to show a trailing checkmark.
final
title String
Label shown to the user.
final

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.
override