duration widget alignment corrention
This commit is contained in:
parent
64a0fca55d
commit
a287496a91
|
|
@ -19,11 +19,10 @@ class DurationWidget extends StatelessWidget {
|
||||||
borderRadius: BorderRadius.circular(5),
|
borderRadius: BorderRadius.circular(5),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
DidvanIcons.timer_regular,
|
DidvanIcons.timer_regular,
|
||||||
size: 16,
|
size: 18,
|
||||||
color: Theme.of(context).colorScheme.focusedBorder,
|
color: Theme.of(context).colorScheme.focusedBorder,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
|
|
@ -32,12 +31,13 @@ class DurationWidget extends StatelessWidget {
|
||||||
Duration(seconds: duration),
|
Duration(seconds: duration),
|
||||||
),
|
),
|
||||||
isEnglishFont: true,
|
isEnglishFont: true,
|
||||||
|
style: Theme.of(context).textTheme.caption,
|
||||||
color: Theme.of(context).colorScheme.focusedBorder,
|
color: Theme.of(context).colorScheme.focusedBorder,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Icon(
|
Icon(
|
||||||
DidvanIcons.play_circle_regular,
|
DidvanIcons.play_circle_regular,
|
||||||
size: 16,
|
size: 18,
|
||||||
color: Theme.of(context).colorScheme.focusedBorder,
|
color: Theme.of(context).colorScheme.focusedBorder,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue