AudioTutorialStep class

A tutorial step that plays an audio file.

Implemented types

Constructors

AudioTutorialStep({required String assetPath, void onFinished(TutorialBloc?)?})
Creates an AudioTutorialStep with the given assetPath and optional onFinished function.

Properties

assetPath String
The asset path of the audio file to be played.
final
hashCode int
The hash code for this object.
no setterinherited
onFinished → void Function(TutorialBloc?)
A function to be called when the audio playback is finished.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(TutorialBloc? tutorialBloc) Future<void>
Executes the audio tutorial step.
override
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