flutter_custom_splash_screen 0.0.3 copy "flutter_custom_splash_screen: ^0.0.3" to clipboard
flutter_custom_splash_screen: ^0.0.3 copied to clipboard

Customized Splash Screen

When your app is opened, there is a brief period while the app loads. By default, during this time, the app displays a white splash screen. This package will help you add a customized splash screen, allowing you to include your own background image and logo. It also features a one liner progress loader that indicates the loading progress, enhancing the user experience. Once the splash screen loads completely, you can navigate to the next screen using the navigateToNextScreen callback function

class CompanionApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        home: SplashScreen(
          bgImage: 'lib/assets/images/bg.png',
          logoImage: 'lib/assets/images/logo.png',
          logoHeight: 90,
          logoWidth: 90,
          logoColor: Colors.blue,
          logoBgColor: Colors.black,
          textColor: Colors.black,),
        onGenerateRoute: route.controller,
        initialRoute: route.splashScreen,
      );
  }
}

4
likes
130
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Customized Splash Screen

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_custom_splash_screen