DangerButton constructor

const DangerButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required String label,
  4. required bool activityIsRunning,
})

Implementation

const DangerButton({
  super.key,
  required this.onPressed,
  required this.label,
  required this.activityIsRunning,
});