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(
|
GestureDetector(
|
||||||
onTap: () => _onTap(context),
|
onTap: () => _onTap(context),
|
||||||
child: Row(
|
child: Container(
|
||||||
children: <Widget>[
|
color: Colors.transparent,
|
||||||
Image(
|
child: Row(
|
||||||
image: getAlbumImage(song.albumArtPath),
|
children: <Widget>[
|
||||||
height: 64.0,
|
Image(
|
||||||
),
|
image: getAlbumImage(song.albumArtPath),
|
||||||
Container(
|
height: 64.0,
|
||||||
width: 10.0,
|
),
|
||||||
),
|
Container(
|
||||||
Column(
|
width: 10.0,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
),
|
||||||
children: <Widget>[
|
Column(
|
||||||
Text(song.title),
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
Text(
|
children: <Widget>[
|
||||||
song.artist,
|
Text(song.title),
|
||||||
style: const TextStyle(
|
Text(
|
||||||
fontSize: 12.0,
|
song.artist,
|
||||||
color: Colors.white70,
|
style: const TextStyle(
|
||||||
),
|
fontSize: 12.0,
|
||||||
)
|
color: Colors.white70,
|
||||||
],
|
),
|
||||||
),
|
)
|
||||||
const Spacer(),
|
],
|
||||||
const PlayPauseButton(
|
),
|
||||||
circle: false,
|
const Spacer(),
|
||||||
),
|
const PlayPauseButton(
|
||||||
const NextButton(),
|
circle: false,
|
||||||
],
|
),
|
||||||
|
const NextButton(),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -21,22 +21,25 @@ class NextIndicator extends StatelessWidget {
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => onTapAction(context),
|
onTap: () => onTapAction(context),
|
||||||
child: Padding(
|
child: Container(
|
||||||
padding: const EdgeInsets.only(top: 4.0, bottom: 8.0),
|
color: Colors.transparent,
|
||||||
child: Center(
|
child: Padding(
|
||||||
child: Column(
|
padding: const EdgeInsets.only(top: 4.0, bottom: 8.0),
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
child: Center(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
child: Column(
|
||||||
children: [
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
const Icon(
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
Icons.expand_less,
|
children: [
|
||||||
color: Colors.white70,
|
const Icon(
|
||||||
),
|
Icons.expand_less,
|
||||||
NextSong(
|
color: Colors.white70,
|
||||||
queue: queue,
|
),
|
||||||
index: index,
|
NextSong(
|
||||||
),
|
queue: queue,
|
||||||
],
|
index: index,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue