FLUTTER ECOSYSTEM

champ96k/flutter_walkthrough_screen

A flutter package that helps the developer in creating a customized onboarding screen of their app.

flutter_walkthrough_screen project cover
Stars
5
Forks
2
Last push (UTC)
Aug 14, 2021
Project status
Active
Tushar Nikam GitHub avatar
GITHUB User

Tushar Nikam ↗

Focus, Build, and Balance.

LanguagesDart

Technical topics

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

Flutter Walkthrough Screen

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

Bitbucket open issues

Screenshots

https://i.ibb.co/L05Kg47/Walkthrough.png

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 color Background gradient color
https://i.ibb.co/87Yd36V/background-color.png https://i.ibb.co/F8GYJSR/background-gradient-color.png
Last page button Next page button
https://i.ibb.co/5vLg0pG/last-page-button.png https://i.ibb.co/qmVRSvV/next-page-button.png
Skip button Define next page route
https://i.ibb.co/f0qRn4C/skip-button.png https://i.ibb.co/MM9f6Xx/page-route.png
Selected dot Color Unselected dot Color
https://i.ibb.co/6w344S3/selected-dot-Color.png https://i.ibb.co/dtpjTD1/unselect-dot-Color.png
Created & Maintained By

Tushar Nikam

https://img.shields.io/badge/twitter-%231DA1F2.svg?&style=for-the-badge&logo=twitter&logoColor=white https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white https://img.shields.io/badge/medium-%2312100E.svg?&style=for-the-badge&logo=medium&logoColor=white https://img.shields.io/badge/tusharnikam.ml-portfolio-orange Stackoverflow Buy Me A Coffee