PrismSheetAction<T> constructor

const PrismSheetAction<T>({
  1. required String label,
  2. T? value,
  3. VoidCallback? onPressed,
  4. bool isDestructive = false,
  5. bool isPrimary = false,
  6. IconData? icon,
  7. bool closeOnTap = true,
})

Creates a sheet action.

Implementation

const PrismSheetAction({
  required this.label,
  this.value,
  this.onPressed,
  this.isDestructive = false,
  this.isPrimary = false,
  this.icon,
  this.closeOnTap = true,
});