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:
Elias Projahn 2020-04-18 13:50:38 +02:00
parent e0fc60f9eb
commit 3471fcf78b
31 changed files with 321 additions and 44 deletions

View file

@ -34,7 +34,7 @@ class HomeScreen extends StatelessWidget {
],
onSelected: (selected) {
if (selected == 0) {
backend.startPlayer();
backend.player.start();
} else if (selected == 1) {
Navigator.push(
context,