RPStep class

The base class for steps which can compose a task.

Each RPStep object represents one logical piece of data entry or activity in a larger task. Whether your app is giving instructions, presenting a form or survey, obtaining consent, or running an active task, everything in the Research Package framework is a collection of steps (RPStep objects), which together form a task (an RPTask object)

Implementers

Constructors

RPStep(String _identifier)
Default constructor. Returns a step with the given identifier
RPStep.withTitle(String _identifier, String _title)
Returns a step object with the given title. Different types of Steps are using the title text differently.

Properties

identifier String
A unique identifier of the Step. This identifier connects the Step to its result (RPResult) object.
read-only
stepWidget → Widget
The widget (UI representation) of the step. Should be overridden to fit the different types of Steps.
read-only
text String
The text of the Step. Different types of Steps are using the text text differently. [...]
read / write
title String
The title text. Different types of Steps are using the title text differently. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, 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