mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Add player skeleton and playback service
This introduces a dependency on audio_service and implements the playback service using that package. The UI was adapted to the new interface.
This commit is contained in:
parent
e0fc60f9eb
commit
3471fcf78b
31 changed files with 321 additions and 44 deletions
|
|
@ -16,7 +16,7 @@ class PlayerBar extends StatelessWidget {
|
|||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
StreamBuilder(
|
||||
stream: backend.position,
|
||||
stream: backend.player.normalizedPosition,
|
||||
builder: (context, snapshot) => LinearProgressIndicator(
|
||||
value: snapshot.data,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue