CupertinoActionSheetAction
Examples#
See these.
CupertinoActionSheetAction
#
Bases: LayoutControl
An action button typically used in a CupertinoActionSheet.
| RAISES | DESCRIPTION |
|---|---|
AssertionError
|
If |
default
#
default: bool = False
Whether this action should receive the style of an emphasized, default action.
destructive
#
destructive: bool = False
Whether this action should receive the style of a destructive action.
mouse_cursor
#
mouse_cursor: MouseCursor | None = None
Defines the mouse cursor for this action button.
on_click
#
on_click: (
ControlEventHandler[CupertinoActionSheetAction] | None
) = None
Called when this action button is clicked.