Reference

CupertinoActionSheetAction

CupertinoActionSheetAction

CupertinoActionSheetAction control. Build it with the cupertino_action_sheet_action helper.

Example

cupertino_action_sheet_action(
  content: text("CupertinoActionSheetAction"),
  expand: true,
  width: 240,
  height: 120,
  on_click: ->(event) {}
)

Properties

  • content — The single child control rendered inside this control.
  • default
  • destructive
  • mouse_cursor — Cursor shown when hovering the control.

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Events

  • on_animation_end — Fired when an animation completes.
  • on_click — Fired when the control is clicked/tapped.
  • on_size_change — Fired when the control's size changes.

Reference

  • Family: cupertinos
  • Widget type: cupertinoactionsheetaction
  • Helper: cupertino_action_sheet_action