ChoiceWidget constructor

const ChoiceWidget(
  1. Choice choice, {
  2. Key? key,
  3. required Color bgColor,
  4. required Color onTapColor,
  5. required OnTapChoiceWithContext onTap,
})

Implementation

const ChoiceWidget(
  this.choice, {
  Key? key,
  required this.bgColor,
  required this.onTapColor,
  required this.onTap,
}) : super(key: key);