0 purchases
splash plugin
splash_plugin #
A Flutter plugin for creating Splash Screen.
Features #
Instant splash Screen Ready:
just add :
Route
Image
Welcome Text
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),
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.