NexusQuestionBuilder typedef

NexusQuestionBuilder = Widget Function(BuildContext context, NexusSurveyController controller, NexusSurveyQuestion question)

Override the rendering of a single question. Return your own widget; read the current value with controller.answerFor(question.id) and write it with controller.setAnswer(...) / controller.toggleChoice(...).

Implementation

typedef NexusQuestionBuilder = Widget Function(
  BuildContext context,
  NexusSurveyController controller,
  NexusSurveyQuestion question,
);