OptionsCardToggle constructor

const OptionsCardToggle({
  1. Key? key,
  2. String? option,
  3. String? correctOption,
  4. required bool optionReset,
  5. required VoidCallback onTap,
  6. double minHeight = 60,
  7. required dynamic resetOption(),
  8. bool isSubmitted = false,
  9. bool isSelected = false,
  10. bool isDeclared = false,
  11. required dynamic selectOptions(
    1. List<String>
    ),
  12. required int currentQuestionIndex,
  13. required VoidCallback tapped,
  14. required bool isTapped,
  15. required VoidCallback incrementScore,
})

Implementation

const OptionsCardToggle({
  super.key,
  this.option,
  this.correctOption,
  required this.optionReset,
  required this.onTap,
  this.minHeight = 60,
  required this.resetOption,
  this.isSubmitted = false,
  this.isSelected = false,
  this.isDeclared = false,
  required this.selectOptions,
  required this.currentQuestionIndex,
  required this.tapped,
  required this.isTapped,
  required this.incrementScore,
});