Skip to content

A Splash screen with curved custom bottom sheet and dots indicator within it.

License

Notifications You must be signed in to change notification settings

hosain-mohamed/curved_splash_screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effective Dart Badge MIT License Badge

Pub.dev

Curved Splash Screen

A Splash screen with curved custom bottom sheet and dots indicator within it.

  • You can add your custom splash screens according to it's index.
  • You can change any color of the items of the bottom sheet.
  • You can specify the text of back and skip button and their color.
  • All items in the bottom sheet is responsive to the screen size.

Image Image Image

Usage

 class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: CurvedSplashScreen(
          screensLength: splashContent.length,
          screenBuilder: (index) {
            return SplashContent(
              title: splashContent[index]["title"],
              image: splashContent[index]["image"],
              text: splashContent[index]["text"],
            );
          },
          onSkipButton: () {
            print("Ends");
          }),
    );
  }
}

Usage Scenarios

  • When You like to add Splash or Landing page at the beginning of your application

Inspiration

About

A Splash screen with curved custom bottom sheet and dots indicator within it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages