-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ NEW: Currently playing media info (#25)
* 💄 Improve UI for Mini audio player * 🐛 Fix: weird jump in mini player slider * 🚧 WIP: full screen player * 🐛 Fix: Seekbar usage * ✨ New: Full Screen player * 🐛 Fix: rounded corners not visible for mini player * 🚧 WIP: Added safer `animateToPage` function * 👷 Updated app version
- Loading branch information
1 parent
b36543e
commit 65f7a80
Showing
27 changed files
with
941 additions
and
197 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,47 @@ | ||
// ignore_for_file: public_member_api_docs, sort_constructors_first | ||
part of 'config_cubit.dart'; | ||
|
||
sealed class ConfigState extends Equatable { | ||
const ConfigState(); | ||
|
||
@override | ||
List<Object> get props => []; | ||
List<Object?> get props => []; | ||
} | ||
|
||
final class ConfigInitial extends ConfigState {} | ||
|
||
final class ConfigLoaded extends ConfigState { | ||
final AppConfig config; | ||
final CarouselController? miniPlayerPageController, playerPageController; | ||
final PanelController panelController; | ||
|
||
const ConfigLoaded({required this.config}); | ||
const ConfigLoaded({ | ||
required this.config, | ||
this.miniPlayerPageController, | ||
this.playerPageController, | ||
required this.panelController, | ||
}); | ||
|
||
@override | ||
List<Object> get props => [config]; | ||
List<Object?> get props => [ | ||
config, | ||
miniPlayerPageController, | ||
panelController, | ||
playerPageController, | ||
]; | ||
|
||
ConfigLoaded copyWith({ | ||
AppConfig? config, | ||
CarouselController? miniPlayerPageController, | ||
CarouselController? playerPageController, | ||
PanelController? panelController, | ||
}) { | ||
return ConfigLoaded( | ||
config: config ?? this.config, | ||
playerPageController: playerPageController ?? this.playerPageController, | ||
panelController: panelController ?? this.panelController, | ||
miniPlayerPageController: | ||
miniPlayerPageController ?? this.miniPlayerPageController, | ||
); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.