Last active
September 30, 2022 17:54
-
-
Save subramanian42/d7aae4b39dd997817a6b77ffa329b877 to your computer and use it in GitHub Desktop.
music_player_state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'music_player_bloc.dart'; | |
abstract class MusicPlayerState { | |
bool isPlaying; | |
MusicPlayerState(this.isPlaying); | |
} | |
class InitialState extends MusicPlayerState { | |
InitialState(super.isPlaying); | |
} | |
class MusicStatusUpdated extends MusicPlayerState { | |
MusicStatusUpdated(super.isPlaying); | |
} | |
class NavigateToPreviousTrack extends MusicPlayerState { | |
NavigateToPreviousTrack(super.isPlaying); | |
} | |
class NavigateToNextTrack extends MusicPlayerState { | |
NavigateToNextTrack(super.isPlaying); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment