Reference

CupertinoDialogAction

CupertinoDialogAction

CupertinoDialogAction control. Build it with the cupertino_dialog_action helper.

Example

cupertino_dialog_action(
  content: text("CupertinoDialogAction"),
  expand: true,
  on_click: ->(event) {}
)

Properties

  • content — The single child control rendered inside this control.
  • default
  • destructive
  • text_style — Text style.

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

Events

  • on_click — Fired when the control is clicked/tapped.

Reference

  • Family: cupertinos
  • Widget type: cupertinodialogaction
  • Helper: cupertino_dialog_action