AudioTutorialStep constructor
AudioTutorialStep({
- required String assetPath,
- void onFinished()?,
Creates an AudioTutorialStep with the given assetPath
and optional onFinished
function.
Implementation
AudioTutorialStep({required this.assetPath, void Function(TutorialBloc?)? onFinished})
: onFinished = onFinished ?? TutorialBloc.nextStep;