fix: small alignment issue media banner buttons (#97)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2024-11-01 15:51:17 +01:00 committed by GitHub
parent ab3d7ef85a
commit f72ae9e3ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,11 +27,16 @@ class BannerPlayButton extends ConsumerWidget {
child: Stack(
children: [
Positioned.fill(
child: SquareProgressIndicator(
value: item.userData.progress / 100,
borderRadius: 12,
strokeCap: StrokeCap.round,
color: Theme.of(context).colorScheme.primary,
child: Transform.scale(
scale: 1.01,
child: SquareProgressIndicator(
value: item.userData.progress / 100,
borderRadius: 12,
strokeWidth: 12,
strokeAlign: SquareStrokeAlign.center,
strokeCap: StrokeCap.round,
color: Theme.of(context).colorScheme.primary,
),
),
),
IconButton(