Clean up playlist entry index style
This commit is contained in:
parent
013f318df7
commit
6f90bb6fb5
@ -64,9 +64,21 @@ class PlayerUIBody extends StatelessWidget {
|
|||||||
leading: Row(
|
leading: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Container(
|
||||||
"${i + 1}.",
|
width: 40,
|
||||||
style: Theme.of(context).textTheme.titleLarge,
|
height: 40,
|
||||||
|
padding: const EdgeInsets.all(3),
|
||||||
|
alignment: Alignment.center,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: item.current
|
||||||
|
? Theme.of(context).primaryColorLight
|
||||||
|
: Theme.of(context).primaryColorLight.withOpacity(0.5),
|
||||||
|
borderRadius: BorderRadius.circular(20),
|
||||||
|
),
|
||||||
|
child: Text(
|
||||||
|
"${i + 1}",
|
||||||
|
style: Theme.of(context).textTheme.titleMedium,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: playerState.isPlaying && item.current
|
icon: playerState.isPlaying && item.current
|
||||||
|
Loading…
Reference in New Issue
Block a user