Reference

CupertinoContextMenu

CupertinoContextMenu

CupertinoContextMenu control. Build it with the cupertino_context_menu helper.

Example

cupertino_context_menu(
  content: text("CupertinoContextMenu"),
  expand: true
)

Properties

  • actions — Controls shown in the trailing action area.
  • adaptive — Adapts to the platform (Material/Cupertino) when true.
  • content — The single child control rendered inside this control.
  • enable_haptic_feedback

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

Reference

  • Family: cupertinos
  • Widget type: cupertinocontextmenu
  • Helper: cupertino_context_menu