CupertinoDialogActionModifier constructor

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

Creates an action for an iOS-style dialog.

Implementation

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