AtomicBottomSheetAction<T> constructor

const AtomicBottomSheetAction<T>({
  1. required String label,
  2. required T? onTap(),
  3. IconData? icon,
  4. Widget? trailing,
  5. bool isDestructive = false,
  6. bool isEnabled = true,
  7. bool shouldDismiss = true,
})

Implementation

const AtomicBottomSheetAction({
  required this.label,
  required this.onTap,
  this.icon,
  this.trailing,
  this.isDestructive = false,
  this.isEnabled = true,
  this.shouldDismiss = true,
});