SurveyController class

Constructors

SurveyController({bool onNextStep(BuildContext context, QuestionResult resultFunction())?, bool onStepBack(BuildContext context, QuestionResult resultFunction()?)?, bool onCloseSurvey(BuildContext context, QuestionResult resultFunction()?)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onCloseSurvey → (bool Function(BuildContext context, QuestionResult resultFunction()?)?)
Defines what should happen if the survey should be closed
final
onNextStep → (bool Function(BuildContext context, QuestionResult resultFunction())?)
Defines what should happen if the next step is called
final
onStepBack → (bool Function(BuildContext context, QuestionResult resultFunction()?)?)
Defines what should happen if the previus step is called
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeSurvey({required BuildContext context, QuestionResult resultFunction()?}) → void
nextStep(BuildContext context, QuestionResult resultFunction()) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stepBack({required BuildContext context, QuestionResult resultFunction()?}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited