Loop class final
A looped chain of Steps.
Constructors
Properties
- build ↔ Step? Function(int index)
-
Returns the next step to be executed as part of the loop.
If
nullis returned the loop will end.latefinal - hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ int
-
Index marking the position of the step inside the loop.
Used for indication.
getter/setter pair
- leave ↔ bool
-
Marks if the Bubble should be closed after the current running Step.
getter/setter pairinherited
- length → int
-
Length of the loop.
Indicates how often the build function would be run.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
builder(
) → Step -
Retrieves a Step from the build function
and returns a Skipped step as well as ends the loop,
whenever the retrieved step is
null.override -
execute(
FlowContextController controller, [FutureOr< Step?> candidate()?]) → FutureOr<Step?> -
Executes the builder function until an escape prompt is received.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited