splash_plugin 0.0.6 copy "splash_plugin: ^0.0.6" to clipboard
splash_plugin: ^0.0.6 copied to clipboard

A Flutter plugin for creating Splash Screen.

splash_plugin #

A Flutter plugin for creating Splash Screen.

Features #

Instant splash Screen Ready: just add :

  1. Route
  2. Image
  3. Welcome Text
  4. Duration

Getting started #

To use this package add splash_plugin as a dependency in your pubspec.yaml

Usage #

SplashPlugin(
        nextScreen: (BuildContext context) async {
          await Future.delayed(Duration(seconds: 2));
          Navigator.pushReplacement(
            context,
            MaterialPageRoute(builder: (context) => HomeScreen()),
          );
        },
        imagePath: Image.asset('assets/splash_image.png'), 
        welcomeText: Text('Welcome to MyApp'), 
        duration: Duration(seconds: 3), 
      ),
    


0
likes
120
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for creating Splash Screen.

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on splash_plugin