mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: Play/Restart button alignment
This commit is contained in:
parent
1942738fe4
commit
7cb23c1f53
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ class MediaPlayButton extends ConsumerWidget {
|
||||||
child: onPressed == null
|
child: onPressed == null
|
||||||
? const SizedBox.shrink(key: ValueKey('empty'))
|
? const SizedBox.shrink(key: ValueKey('empty'))
|
||||||
: Row(
|
: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
spacing: 4,
|
spacing: 4,
|
||||||
children: [
|
children: [
|
||||||
FocusButton(
|
FocusButton(
|
||||||
|
|
@ -120,6 +121,7 @@ class MediaPlayButton extends ConsumerWidget {
|
||||||
},
|
},
|
||||||
child: Card(
|
child: Card(
|
||||||
color: theme.colorScheme.primaryContainer,
|
color: theme.colorScheme.primaryContainer,
|
||||||
|
shadowColor: Colors.transparent,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Icon(
|
child: Icon(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue