CupertinoContextMenuActionModifier constructor

const CupertinoContextMenuActionModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. bool isDefaultAction = false,
  5. bool isDestructiveAction = false,
  6. VoidCallback? onPressed,
  7. IconData? trailingIcon,
})

Construct a CupertinoContextMenuAction.

Implementation

const CupertinoContextMenuActionModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.isDefaultAction = false,
  this.isDestructiveAction = false,
  this.onPressed,
  this.trailingIcon,
});