chore: Updated flutter to 3.29.2 + bugfixes (#296)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-04-05 17:11:20 +02:00 committed by GitHub
parent 671bb88b13
commit d47f1e19da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 79 additions and 130 deletions

View file

@ -83,9 +83,6 @@ class _MediaBannerState extends ConsumerState<MediaBanner> {
@override
Widget build(BuildContext context) {
final overlayColor = ThemesData.of(context).dark.colorScheme.primaryContainer;
final shadows = [
BoxShadow(blurRadius: 12, spreadRadius: 8, color: overlayColor),
];
final currentItem = widget.items[currentPage.clamp(0, widget.items.length - 1)];
final double dragOpacity = (1 - dragOffset.abs()).clamp(0, 1);
@ -224,7 +221,6 @@ class _MediaBannerState extends ConsumerState<MediaBanner> {
currentItem.title,
maxLines: 2,
style: Theme.of(context).textTheme.headlineMedium?.copyWith(
shadows: shadows,
color: Colors.white,
),
),
@ -235,7 +231,6 @@ class _MediaBannerState extends ConsumerState<MediaBanner> {
currentItem.label(context) ?? currentItem.subText ?? "",
maxLines: 2,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
shadows: shadows,
color: Colors.white.withValues(alpha: 0.75),
),
),