From b4d367f056f91ac7b94d6214c7de06f2b20a2e26 Mon Sep 17 00:00:00 2001 From: davmar Date: Thu, 10 Sep 2026 21:11:12 +0200 Subject: [PATCH] splash screen update --- lib/screens/splash_screen.dart | 28 ++++++++++++---------------- pubspec.yaml | 1 + 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/lib/screens/splash_screen.dart b/lib/screens/splash_screen.dart index f538b92..7192243 100644 --- a/lib/screens/splash_screen.dart +++ b/lib/screens/splash_screen.dart @@ -82,17 +82,13 @@ class _SplashScreenState extends State child: Column( mainAxisSize: MainAxisSize.min, children: [ - Container( - width: 88, - height: 88, - decoration: BoxDecoration( - color: colors.onPrimary.withValues(alpha: 0.16), - borderRadius: BorderRadius.circular(24), - ), - child: Icon( - Icons.account_balance_rounded, - size: 44, - color: colors.onPrimary, + ClipRRect( + borderRadius: BorderRadius.circular(24), + child: Image.asset( + 'assets/branding/app_icon.png', + width: 112, + height: 112, + filterQuality: FilterQuality.high, ), ), const SizedBox(height: 24), @@ -103,12 +99,12 @@ class _SplashScreenState extends State ), ), const SizedBox(height: 8), - Text( - 'Your bank data, simply', - style: textTheme.bodyLarge?.copyWith( - color: colors.onPrimary.withValues(alpha: 0.85), - ), + Text( + 'Your bank data, simply', + style: textTheme.bodyLarge?.copyWith( + color: colors.onPrimary.withValues(alpha: 0.85), ), + ), const SizedBox(height: 40), SizedBox( width: 28, diff --git a/pubspec.yaml b/pubspec.yaml index 5ce2ca6..7bb8a52 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -77,6 +77,7 @@ flutter: assets: - .env - .env.example + - assets/branding/app_icon.png # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/to/resolution-aware-images