NavigationButtons constructor

const NavigationButtons({
  1. Key? key,
  2. required int currentStep,
  3. required int totalSteps,
  4. required dynamic onStepChange(
    1. int
    ),
  5. required VoidCallback onSubmit,
  6. Color buttonColor = const Color.fromARGB(255, 112, 162, 249),
  7. Color textColor = Colors.white,
  8. bool isNextDisabled = false,
  9. bool isPrevDisabled = false,
})

Implementation

const NavigationButtons({
  Key? key,
  required this.currentStep,
  required this.totalSteps,
  required this.onStepChange,
  required this.onSubmit,
  this.buttonColor = const Color.fromARGB(255, 112, 162, 249),
  this.textColor = Colors.white,
  this.isNextDisabled = false,
  this.isPrevDisabled = false,
}) : super(key: key);