splash screen fix
This commit is contained in:
@@ -71,7 +71,7 @@ class MyApp extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _MyAppState extends State<MyApp> {
|
||||
bool _showSplash = false;
|
||||
bool _showSplash = true;
|
||||
|
||||
void _onSplashComplete() {
|
||||
setState(() {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user