ChoiceWidget constructor
const
ChoiceWidget(
- Choice choice, {
- Key? key,
- required Color bgColor,
- required Color onTapColor,
- required OnTapChoiceWithContext onTap,
Implementation
const ChoiceWidget(
this.choice, {
Key? key,
required this.bgColor,
required this.onTapColor,
required this.onTap,
}) : super(key: key);