CNAlertAction constructor

const CNAlertAction({
  1. required String title,
  2. CNAlertActionStyle style = CNAlertActionStyle.defaultStyle,
  3. VoidCallback? onPressed,
})

Creates an alert action.

Implementation

const CNAlertAction({
  required this.title,
  this.style = CNAlertActionStyle.defaultStyle,
  this.onPressed,
});