flutter_walkthrough_screen 0.0.2
flutter_walkthrough_screen: ^0.0.2 copied to clipboard

Flutter Android iOS web

A flutter package which help developer in creating a customize onboarding screens of their app.

Flutter Walkthrough Screen #

A flutter package which help developer in creating a customize onboarding screens of their app.

Screenshots #

Usage #

Example

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    flutter_walkthrough_screen:

How to use #

class TestScreen extends StatelessWidget {
    /*here we have a list of OnbordingScreen which we want to have, each OnbordingScreen have a imagePath,title and an desc.
      */
  final List<OnbordingData> list = [
      OnbordingData(
        image: AssetImage("images/pic1.png"),
        titleText:Text("This is Title1"),
        descText: Text("This is desc1"),
      ),
       OnbordingData(
        image: AssetImage("images/pic2.png"),
        titleText:Text("This is Title2"),
        descText: Text("This is desc2"),
      ),
       OnbordingData(
        image: AssetImage("images/pic3.png"),
        titleText:Text("This is Title3"),
        descText: Text("This is desc4"),
      ),
       OnbordingData(
        image: AssetImage("images/pic4.png"),
        titleText:Text("This is Title4"),
        descText: Text("This is desc4"),
      ),
    ];

  @override
  Widget build(BuildContext context) {
    /* remove the back button in the AppBar is to set automaticallyImplyLeading to false
  here we need to pass the list and the route for the next page to be opened after this. */
    return IntroScreen(
                 onbordingDataList: list,
                 colors: [
                   //list of colors for per pages
                   Colors.white,
                   Colors.red,
                 ],
                 pageRoute: MaterialPageRoute(
                   builder: (context) => NextPage(),
                 ),
                 nextButton: Text(
                   "NEXT",
                   style: TextStyle(
                     color: Colors.purple,
                   ),
                 ),
                 lastButton: Text(
                   "GOT IT",
                   style: TextStyle(
                     color: Colors.purple,
                   ),
                 ),
                 skipButton: Text(
                   "SKIP",
                   style: TextStyle(
                     color: Colors.purple,
                   ),
                 ),
                 selectedDotColor: Colors.orange,
                 unSelectdDotColor: Colors.grey,
               );
  }
}

Customize your onboarding screen design #

Background colorBackground gradient color
Last page buttonNext page button
Skip buttonDefine next page route
Selected dot ColorUnselected dot Color

Created & Maintained By #

Tushar Nikam

linkedin

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

4
likes
80
pub points
0%
popularity

A flutter package which help developer in creating a customize onboarding screens of their app.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

champ96k@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_walkthrough_screen