Reference

CupertinoAlertDialog

CupertinoAlertDialog

CupertinoAlertDialog control. Build it with the cupertino_alert_dialog helper.

Example

cupertino_alert_dialog(
  content: text("CupertinoAlertDialog"),
  title: text("Title"),
  open: true,
  expand: true,
  on_dismiss: ->(event) {}
)

Properties

  • actions — Controls shown in the trailing action area.
  • adaptive — Adapts to the platform (Material/Cupertino) when true.
  • barrier_color — Barrier color.
  • content — The single child control rendered inside this control.
  • inset_animation
  • modal
  • open — Whether the control (dialog/sheet/menu) is open.
  • 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_dismiss — Fired when the control is dismissed.

Reference

  • Family: cupertinos
  • Widget type: cupertinoalertdialog
  • Helper: cupertino_alert_dialog