AudioTutorialStep constructor

AudioTutorialStep({
  1. required String assetPath,
  2. void onFinished(
    1. TutorialBloc?
    )?,
})

Creates an AudioTutorialStep with the given assetPath and optional onFinished function.

Implementation

AudioTutorialStep({required this.assetPath, void Function(TutorialBloc?)? onFinished})
    : onFinished = onFinished ?? TutorialBloc.nextStep;