Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A Splash screen with curved custom bottom sheet and dots indicator

Curved Splash Screen

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

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

Download Curved Splash Screen source code on GitHub

https://github.com/hosain-mohamed/curved_splash_screen
Exit mobile version