setLoadingFunction method
Sets the loading function for this step using the provided tutorialRepository
.
Implementation
@override
TutorialStepWithID setLoadingFunction({required TutorialRepository tutorialRepository}) {
return WaitForVisibleWidgetStep(
tutorialID: tutorialID,
loadFromRepository: () => tutorialRepository.get(tutorialID),
duration: timeout,
replayStep: replayStep,
onFinished: onFinished);
}