Make Backend a stateful widget

This commit is contained in:
Elias Projahn 2020-03-28 08:51:45 +01:00
parent ad7499051b
commit 3f0567e688
5 changed files with 35 additions and 15 deletions

View file

@ -12,7 +12,7 @@ class PlayPauseButton extends StatefulWidget {
class _PlayPauseButtonState extends State<PlayPauseButton>
with SingleTickerProviderStateMixin {
AnimationController playPauseAnimation;
Backend backend;
BackendState backend;
StreamSubscription<bool> playingSubscription;
@override