multiple_splash_screens 0.0.4 copy "multiple_splash_screens: ^0.0.4" to clipboard
multiple_splash_screens: ^0.0.4 copied to clipboard

splash screen

demo

Features #

Getting started #

Usage #



class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: MainIntroScreen(
        // first phase your application
        firstScreen: SplashModel(
            duration: const Duration(seconds: 2),
            child: const Center(child: FlutterLogo())),
        // Middle screen to set name your application
        secondScreen: SplashModel(
            duration: const Duration(seconds: 3),
            child: const Text("Application name",
                style: TextStyle(
                    fontWeight: FontWeight.w900,
                    color: Colors.black,
                    fontSize: 28),
                textAlign: TextAlign.center)),
        // Middle screen to set Application Logo
        thirdScreen: SplashModel(
            duration: const Duration(seconds: 4), child: const FlutterLogo()),
        // started screen your application
        fourthScreen: SplashModel(
            backgroundColor: Colors.grey.shade200,
            colorButton: Colors.white,
            duration: const Duration(seconds: 6),
            child: const Center(child: FlutterLogo())),
        // this is Intro started screen
        fiveScreen: SplashModel(
            duration: const Duration(seconds: 8), child: Container()),
        // button started
        startButtonChild: Container(
            margin: const EdgeInsets.symmetric(horizontal: 12),
            child: const Text("GET STARTED", textAlign: TextAlign.start)),

        startIconButton:
            const Center(child: Icon(Icons.forward, color: Colors.blue)),
      ),
    );
  }
}


Additional information #

3
likes
120
pub points
3%
popularity

Publisher

unverified uploader

splash screen

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on multiple_splash_screens