SingleChoiceForm constructor

const SingleChoiceForm({
  1. Key? key,
  2. required String question,
  3. required List<Choice> choices,
  4. required OnTapChoiceWithContext onTap,
})

Implementation

const SingleChoiceForm({
  Key? key,
  required this.question,
  required this.choices,
  required this.onTap,
}) : super(key: key);