From cf65716e59d7d366373f16552061e8e5c2f82bb0 Mon Sep 17 00:00:00 2001 From: Tobias Busch Date: Sat, 5 Oct 2024 13:25:54 +0200 Subject: [PATCH] update example --- example/lib/main.dart | 63 ++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 37 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index c27d59a..6059e34 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -81,44 +81,33 @@ class HomeState extends State { Widget _buildBottomBar(BuildContext context) { return BottomAppBar( - height: 125, - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - SizedIconButton( - width: 50, - icon: Icons.queue_music, - onPressed: queue, - ), - SizedIconButton( - width: 50, - icon: Icons.playlist_play, - onPressed: play, - ), - SizedIconButton( - width: 50, - icon: Icons.repeat, - onPressed: toggleRepeat, - ), - SizedIconButton( - width: 50, - icon: Icons.shuffle, - onPressed: toggleShuffle, - ), - ], + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + SizedIconButton( + width: 50, + icon: Icons.queue_music, + onPressed: queue, ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - SizedIconButton( - width: 50, - onPressed: addToLibrary, - icon: Icons.favorite, - ), - ], + SizedIconButton( + width: 50, + icon: Icons.playlist_play, + onPressed: play, + ), + SizedIconButton( + width: 50, + icon: Icons.repeat, + onPressed: toggleRepeat, + ), + SizedIconButton( + width: 50, + icon: Icons.shuffle, + onPressed: toggleShuffle, + ), + SizedIconButton( + width: 50, + onPressed: addToLibrary, + icon: Icons.favorite, ), ], ),