RPFormStep class

The RPFormStep class is a concrete subclass of RPQuestionStep, used for presenting multiple questions on a single scrollable page.

Each question in the form is represented by an RPQuestionStep. All the question form steps needs to be answered in order to proceed. The result of an RPFormStep is an RPStepResult that consists further RPStepResults for each question in the form.

Inheritance

Constructors

RPFormStep(String identifier, List<RPQuestionStep> _formSteps, { bool optional: false })
RPFormStep.withTitle(String identifier, { List<RPQuestionStep> _formSteps, String title, { bool optional: false })

Properties

answerFormat RPAnswerFormat
The answer format of Form Step will always return RPFormAnswerFormat
read / write, override
steps List<RPQuestionStep>
The list of questions to be shown as part of the step.
read / write
stepWidget → Widget
The widget (UI representation) of Form Step. [...]
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
A unique identifier of the Step. This identifier connects the Step to its result (RPResult) object.
read-only, inherited
optional bool
If set to true the step can be skipped. In that case the result for the step will be null.
read / write, inherited
placeholder String
The placeholder text for the Question Steps using an answer format which requires text entry
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
The text of the Step. Different types of Steps are using the text text differently. [...]
read / write, inherited
title String
The title text. Different types of Steps are using the title text differently. [...]
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited