ElevatedButtonWithLoader constructor

const ElevatedButtonWithLoader({
  1. required bool enableButton,
  2. required bool showLoader,
  3. required VoidCallback onPressed,
  4. required String label,
  5. Color? backgroundColor,
  6. Key? key,
})

Implementation

const ElevatedButtonWithLoader({
  required this.enableButton,
  required this.showLoader,
  required this.onPressed,
  required this.label,
  this.backgroundColor,
  super.key,
}) : count = null;