minor ui fixes
This commit is contained in:
parent
b1ecb3dc9a
commit
f4adfbe42c
2 changed files with 50 additions and 44 deletions
|
@ -31,34 +31,37 @@ class CurrentlyPlayingBar extends StatelessWidget {
|
|||
),
|
||||
GestureDetector(
|
||||
onTap: () => _onTap(context),
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Image(
|
||||
image: getAlbumImage(song.albumArtPath),
|
||||
height: 64.0,
|
||||
),
|
||||
Container(
|
||||
width: 10.0,
|
||||
),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
Text(song.title),
|
||||
Text(
|
||||
song.artist,
|
||||
style: const TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: Colors.white70,
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
const Spacer(),
|
||||
const PlayPauseButton(
|
||||
circle: false,
|
||||
),
|
||||
const NextButton(),
|
||||
],
|
||||
child: Container(
|
||||
color: Colors.transparent,
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Image(
|
||||
image: getAlbumImage(song.albumArtPath),
|
||||
height: 64.0,
|
||||
),
|
||||
Container(
|
||||
width: 10.0,
|
||||
),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
Text(song.title),
|
||||
Text(
|
||||
song.artist,
|
||||
style: const TextStyle(
|
||||
fontSize: 12.0,
|
||||
color: Colors.white70,
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
const Spacer(),
|
||||
const PlayPauseButton(
|
||||
circle: false,
|
||||
),
|
||||
const NextButton(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
@ -21,22 +21,25 @@ class NextIndicator extends StatelessWidget {
|
|||
|
||||
return GestureDetector(
|
||||
onTap: () => onTapAction(context),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(top: 4.0, bottom: 8.0),
|
||||
child: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icons.expand_less,
|
||||
color: Colors.white70,
|
||||
),
|
||||
NextSong(
|
||||
queue: queue,
|
||||
index: index,
|
||||
),
|
||||
],
|
||||
child: Container(
|
||||
color: Colors.transparent,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(top: 4.0, bottom: 8.0),
|
||||
child: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icons.expand_less,
|
||||
color: Colors.white70,
|
||||
),
|
||||
NextSong(
|
||||
queue: queue,
|
||||
index: index,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue