CupertinoContextMenuAction
        Inherits: AdaptiveControl
A cupertino context menu action.
Typically used as a child of CupertinoContextMenu.actions.
Properties
- 
          content(StrOrControl) –The content of this action button. 
- 
          default(bool) –Whether this action should receive the style of an emphasized, default action. 
- 
          destructive(bool) –Whether this action should receive the style of a destructive action. 
- 
          trailing_icon(IconData | None) –An icon to display at the right of the contentcontrol.
Events
- 
          on_click(ControlEventHandler[CupertinoContextMenuAction] | None) –Called when this action button is clicked. 
Properties#
instance-attribute
  
#
content: StrOrControl
The content of this action button.
Raises:
- 
              ValueError–If contentis neither a string nor a visible Control.
class-attribute
      instance-attribute
  
#
default: bool = False
Whether this action should receive the style of an emphasized, default action.
class-attribute
      instance-attribute
  
#
destructive: bool = False
Whether this action should receive the style of a destructive action.
class-attribute
      instance-attribute
  
#
trailing_icon: IconData | None = None
An icon to display at the right of the content control.
Events#
class-attribute
      instance-attribute
  
#
on_click: (
    ControlEventHandler[CupertinoContextMenuAction] | None
) = None
Called when this action button is clicked.