TutorialStepWithID class abstract
A tutorial step that is associated with a specific TutorialID.
This class extends TutorialStep and adds the concept of a tutorial identifier and a method to load data from a repository. This is required for highlighting or waiting for conditions.
- Inheritance
-
- Object
- TutorialStep
- TutorialStepWithID
- Implementers
Constructors
- TutorialStepWithID({required TutorialID tutorialID, dynamic loadFromRepository()?})
-
Creates a TutorialStepWithID with the given
tutorialID
and optionalloadFromRepository
function.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadFromRepository → dynamic Function()?
-
A function to load data from a repository
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tutorialID → TutorialID
-
The unique enum identifier for this tutorial step.
final
Methods
-
execute(
TutorialBloc? tutorialBloc) → Future< void> -
Executes the tutorial step.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLoadingFunction(
{required TutorialRepository tutorialRepository}) → TutorialStepWithID -
Sets the loading function for this step using the provided
tutorialRepository
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited