CNAlertAction<T> constructor

const CNAlertAction<T>({
  1. required String label,
  2. T? value,
  3. bool isDefault = false,
  4. bool isCancel = false,
  5. bool isDestructive = false,
  6. bool enabled = true,
})

Creates an alert button.

Implementation

const CNAlertAction({
  required this.label,
  this.value,
  this.isDefault = false,
  this.isCancel = false,
  this.isDestructive = false,
  this.enabled = true,
});