first_time_screen 1.0.3 first_time_screen: ^1.0.3 copied to clipboard
Widget to determine if app has been opened after installation. If it has, display a intro screen
First Time Screen #
- Displays an intro screen if app has been opened for the first time
Usage #
- Add the dependency to your pubspec.yaml.
dependencies:
flutter:
sdk: flutter
first_time_screen:
- How to use
FirstTimeScreen(
loadingScreen: Text("Loading"),
introScreen: MaterialPageRoute(builder: (context) => Intro()),
landingScreen: MaterialPageRoute(builder: (context) => Home()),
)