SurveyController constructor

SurveyController({
  1. bool onNextStep(
    1. BuildContext context,
    2. QuestionResult resultFunction()
    )?,
  2. bool onStepBack(
    1. BuildContext context,
    2. QuestionResult resultFunction()?
    )?,
  3. bool onCloseSurvey(
    1. BuildContext context,
    2. QuestionResult resultFunction()?
    )?,
})

Implementation

SurveyController({
  this.onNextStep,
  this.onStepBack,
  this.onCloseSurvey,
});