CNActionSheetAction<T> constructor

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

Creates an action sheet choice.

Implementation

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