multiple_splash_screens 0.0.1 multiple_splash_screens: ^0.0.1 copied to clipboard
splash screen
Features #
Getting started #
Usage #
class Example extends StatelessWidget {
const Example({super.key});
@override
Widget build(BuildContext context) {
return MainIntroScreen(
startScreenBody: Text("startScreenBody"),
startButtonChild: Text("startButtonChild"),
startIconButton: Text("startIconButton"),
firstScreen: SplashModel(
duration: const Duration(seconds: 2),
child: Text("firstIntroChildta")),
fiveScreen: SplashModel(
duration: const Duration(seconds: 4), child: Text("introTextChild")),
fourthScreen: SplashModel(
duration: const Duration(seconds: 6), child: Text("introLogoChild")),
secondScreen: SplashModel(
duration: const Duration(seconds: 8), child: Text("startScreenBody")),
thirdScreen: SplashModel(
duration: const Duration(seconds: 10),
child: Text("startIconButton")),
);
}
}