ActionSheetItem constructor

const ActionSheetItem({
  1. required String label,
  2. String? icon,
  3. bool destructive = false,
  4. bool disabled = false,
  5. VoidCallback? onTap,
  6. bool closeOnTap = true,
  7. Widget? trailing,
})

Implementation

const ActionSheetItem({
  required this.label,
  this.icon,
  this.destructive = false,
  this.disabled = false,
  this.onTap,
  this.closeOnTap = true,
  this.trailing,
});