WaitForVisibleWidgetStep class

A tutorial step that waits for a specific widget to become visible.

Inheritance

Constructors

WaitForVisibleWidgetStep({required TutorialID tutorialID, dynamic loadFromRepository()?, Duration? duration, TutorialStep? replayStep, void onFinished(TutorialBloc?)?})
Creates a WaitForVisibleWidgetStep with the given parameters.

Properties

hashCode int
The hash code for this object.
no setterinherited
loadFromRepository → dynamic Function()?
A function to load data from a repository
finalinherited
onFinished → void Function(TutorialBloc?)
A function to call when the step is finished successfully.
finalinherited
replayStep TutorialStep?
An optional step to replay if the condition is not met within the timeout.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
The maximum duration to wait for the condition to be met.
finalinherited
tutorialID TutorialID
The unique enum identifier for this tutorial step.
finalinherited

Methods

execute(TutorialBloc? tutorialBloc) Future<void>
Executes the waiting step.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performConditionCheck() Future<bool>
Performs the condition check for this waiting step.
override
setLoadingFunction({required TutorialRepository tutorialRepository}) TutorialStepWithID
Sets the loading function for this step using the provided tutorialRepository.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited