Reference

CupertinoActionSheet

CupertinoActionSheet

CupertinoActionSheet control. Build it with the cupertino_action_sheet helper.

Example

cupertino_action_sheet(
  title: text("Title"),
  expand: true,
  width: 240,
  height: 120,
  on_animation_end: ->(event) {}
)

Properties

  • actions — Controls shown in the trailing action area.
  • cancel
  • message
  • title — The control shown as the title.

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_size_change — Fired when the control's size changes.

Reference

  • Family: cupertinos
  • Widget type: cupertinoactionsheet
  • Helper: cupertino_action_sheet