survey_kit library
Classes
- AnswerFormat
- AudioContent
- BooleanAnswerFormat
- CloseSurvey
- Content
- ContentWidget
- DateAnswerFormat
- DateAnswerView
- DoubleAnswerFormat
- DoubleAnswerView
- ImageAnswerFormat
- ImageAnswerView
- ImageContent
- IntegerAnswerFormat
- IntegerAnswerView
- LoadingSurveyState
- LottieContent
- MarkdownContent
- MultipleChoiceAnswerFormat
- MultipleChoiceAnswerView
- MultipleChoiceAutoCompleteAnswerFormat
- MultipleDoubleAnswerFormat
-
Definition of task which can handle routing between
Tasks
The navigationRules defines on which StepStepIdentifier
which next Step is called. The logic which Step is called is defined in the NavigationRule - NextStep
- OrderedTask
- Defines a Task which handles its steps in the order of the steps list.
- PresentingSurveyState
-
QuestionAnswer<
R> - ScaleAnswerFormat
- ScaleAnswerView
- SectionContent
- SingleChoiceAnswerFormat
- SingleChoiceAnswerView
- StartSurvey
- Step
- StepBack
-
StepResult<
T> - StyledTextContent
- SurveyAppBar
- SurveyConfiguration
- SurveyController
- SurveyEvent
- SurveyKit
- SurveyPage
- SurveyProgress
- SurveyProgressConfiguration
- SurveyResult
- SurveyResultState
- SurveyState
- SurveyStateProvider
- Task
- Abstract definition of survey task
- TextAnswerFormat
- TextAnswerView
- TextChoice
- TextContent
- TimeAnswerFormat
- TimeAnswerView
- VideoContent
Enums
Mixins
-
AnswerMixin<
T extends StatefulWidget, R> -
MeasureDateStateMixin<
T extends StatefulWidget>
Extensions
Functions
-
CompletionStep(
{String? id, required String title, required String text, String? buttonText}) → Step - It is uppercase to support previous implementions of the CompletionnStep
-
InstructionStep(
{String? id, required String title, required String text, String? buttonText}) → Step - It is uppercase to support previous implementions of the InstructionStep
-
QuestionStep(
{String? id, required String title, String text = '', required AnswerFormat answerFormat, bool isOptional = true, String? buttonText}) → Step - It is uppercase to support previous implementions of the QuestionStep
-
textFieldInputDecoration(
{String hint = ''}) → InputDecoration
Typedefs
- StepShell = Widget Function(Step step, Widget? answerWidget, BuildContext context)
Exceptions / Errors
- RuleNotDefinedException
- TaskNotDefinedException
- Defines an exception if not valid task definition is found