splash screen fix

This commit is contained in:
2026-05-04 00:14:00 +02:00
parent 88c776507d
commit fec46fb6e9
2 changed files with 3 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ class MyApp extends StatefulWidget {
}
class _MyAppState extends State<MyApp> {
bool _showSplash = false;
bool _showSplash = true;
void _onSplashComplete() {
setState(() {

View File

@@ -89,12 +89,11 @@ class _SplashScreenState extends State<SplashScreen>
scale: _scaleAnimation,
child: Center(
child: SizedBox(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
width: 200,
child: ClipRRect(
borderRadius: BorderRadius.circular(20),
child: GifView.asset(
'assets/giphy.gif',
'assets/velocity-animation.gif',
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
frameRate: 30,