flutter splash animation

import 'package:animated_splash_screen/animated_splash_screen.dart';
import 'package:flutter/material.dart';
import 'package:page_transition/page_transition.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Clean Code',
        home: AnimatedSplashScreen(
          duration: 3000,
          splash: Icons.home,
          nextScreen: MainScreen(),
          splashTransition: SplashTransition.fadeTransition,
          pageTransitionType: PageTransitionType.scale,
          backgroundColor: Colors.blue
        )
    );
  }
}

class MainScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.redAccent,
    );
  }
}

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
create animated splash screen flutter how to create animated splash screen in flutter native splash animation flutter free splash screen flutter animation download free splash screen flutter animation how to add animation splash screen for flutter web flutter animate splash screen flutter splash screen with animation animation splash in flutter library animated splash in flutter animated_splash in flutter flutter_native_splash add animation add animation to splash screen flutter Flutter splash screen image Animation flutter .flr animated splash screen how to have animated splash screen in flutter create splash screen animation flutter animated splash flutter flutter animation after default splash screen flutter page splash animation animation to flutter native splash animation splash screen flutter custom splash animation flutter flutter splashing animation automatic splash animation flutter splash animation in page flutter animated splash screen in flutter flutter animated splash screen example flutter animated splash package splash screen animation flutter Animated Splash Screen using Rive | Flare used in splash screen widget in flutter animation transition splashscreen flutter flutter animation splash difference between splash and animated splash screen flutter flutter animation splash screen flutter animated splash screen adding animation to splashscreen flutter splash screen with animation in flutter animated splash screen flutter flutter splash screen animation splash animation flutter how to design/create animated splash screen in flutter splash screen in flutter with animation flutter splash animation
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source