OptionsCardToggle constructor
const
OptionsCardToggle({
- Key? key,
- String? option,
- String? correctOption,
- required bool optionReset,
- required VoidCallback onTap,
- double minHeight = 60,
- required dynamic resetOption(),
- bool isSubmitted = false,
- bool isSelected = false,
- bool isDeclared = false,
- required dynamic selectOptions(),
- required int currentQuestionIndex,
- required VoidCallback tapped,
- required bool isTapped,
- 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,
});