An introduction slider has some screens that can use to describe your application.

Related tags

Templates dart flutter
Overview

introduction slider

rahul chouhan buy-me-a-coffee paypal

Introduction Slider

An introduction slider has some screens that can use to describe your application. You can describe your application's title, description, logo, etc. It comes with several features.

Sample screenshots are shown below

introduction slider introduction slider introduction slider

Getting Started

Below is an example of how to implement IntroductionSlider in a Flutter application.

IntroductionSlider(
  onDone: SecondPage(),
  items:[
    IntroductionSliderItem(
      image: FlutterLogo(),
      title: "Introduction Slider 1",
      description: "This is a description of introduction slider 1.",
    ),
    IntroductionSliderItem(
      image: FlutterLogo(),
      title: "Introduction Slider 2",
      description: "This is a description of introduction slider 2.",
    ),
    IntroductionSliderItem(
      image: FlutterLogo(),
      title: "Introduction Slider 3",
      description: "This is a description of introduction slider. 3",
    ),
  ],
);

To change the properties of button

This example demonstrates how to modify default button properties. The only thing need to write in onDone is the name of the page you want to redirect. Don't need to write complete navigator code.

IntroductionSlider(
  skip: Text("SKIP"),
  next: Text("NEXT"),
  done: Text("DONE"),
  onDone: SecondPage(),
  items:items,
);

To change the properties of dot indicator

IntroductionSlider(
  selectedDotColor: Colors.red,
  unselectedDotColor: Colors.blue,
  dotSize: 10.0,
  items:items,
);

How to control scrolling?

An example of how to control swipe gestures and change scroll direction. In isScrollable, it uses a boolean value to control changing pages with swipe. By default isScrollable is true. Scroll direction can be changed by using scrollDirection.

IntroductionSlider(
  isScrollable:false,
  scrollDirection:Axis.vertical,
  items:items,
);

Properties

  • IntroductionSlider Properties

    Property Type Description
    items: List<IntroductionSliderItem> Defines the appearance of the introduction slider items that are arrayed within the introduction slider.
    titleTextStyle: TextStyle To format and paint title text.
    descriptionTextStyle: TextStyle To format and paint description text.
    skip: Widget Skip button widget. It is recommended to use a Text widget.
    showSkipButton: bool To hide and show skip button.
    next: Widget Next button widget. It is recommended to use a Text widget.
    done: Widget Done button widget. It is recommended to use a Text widget.
    onDone: Widget Redirect to another page, When done button is pressed.
    isScrollable: bool Use when enable or disable scroll.
    scrollDirection: Axis For the scroll direction.
    backgroundImageFit: BoxFit Applies the sizing semantics of these values.
    backgroundImageOpacity: double To set background image opacity.
    backgroundImageColorFilter: ColorFilter A color filter is a function that takes two colors, and outputs one color.
    selectedDotColor: Color The color of selected dot.
    unselectedDotColor: Color The color of unselected dot.
    dotSize: double The dot size.
  • IntroductionSliderItem Properties

    Property Type Description
    image: Widget To display the logo/image of the page.
    title: String To display the page title.
    description: String To display the page description.
    backgroundColor: Color To set background color of page.
    backgroundImage: Image To set background image of page.

Report bugs or issues

You are welcome to open a ticket on github if any problems arise. New ideas are always welcome.

Copyright and License

Copyright © 2022 Rahul Chouhan. Licensed under the MIT LICENSE.

You might also like...

Introduction to Dart for GDSC, 2021. Cairo University.

Introduction to Dart for GDSC, 2021. Cairo University.

Introduction to Dart Cairo University GDSC, 2021 Note: Most of the examples here are from the dart docs. Roadmap Data Types Conditions Loops Null Safe

Nov 1, 2021

Integrationtestapp - Introduction and example on Flutter Integration Testing

integrationtestapp Flutter Project with integration test example. Setup integrat

Feb 11, 2022

An introduction to one of the famous flutter package called bloc

An introduction to one of the famous flutter package called bloc

BLoC Tutorial - Udemy The full documentation on BLoC package is available in bloclibrary.dev. This video tutorial is also available on youtube. If you

Mar 26, 2022

A TabBarController that is easy to use for flutter developers. 🥰 It supports various styles of page navigation, and you can also use it to customize your favorite styles. 🍻🍻

A TabBarController that is easy to use for flutter developers. 🥰 It supports various styles of page navigation, and you can also use it to customize your favorite styles. 🍻🍻

easy_tab_controller A user-friendly TabBarController widget for flutter developer. Getting Started This project is a starting point for a Flutter plug

May 26, 2022

It's a universal app template to have a great animated splash screen and liquid slider. Just change the animation if you want (rive) and change the images or colours according to your app.

liquid A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this i

Oct 7, 2022

Hyakunin-isshu - This library has been developed to make it easy to use Japanese Hyakunin Isshu in Dart and Flutter applications

Hyakunin-isshu - This library has been developed to make it easy to use Japanese Hyakunin Isshu in Dart and Flutter applications

1. About 1.1. What Is Hyakunin Isshu? 1.2. Introduction 1.2.1. Install Library 1

Jan 11, 2022

Arisonboardingscreen - Create your custom and beautiful onboarding screens easily with Flutter

Arisonboardingscreen - Create your custom and beautiful onboarding screens easily with Flutter

Flutter Tutorial - Onboarding UI Screen Create your custom and beautiful onboard

Oct 30, 2022

Check if your Flutter app has a newer version.

Flutter NeoVersion Check if a new version of a Flutter app is available on the app stores. The plugin uses the Peek-An-App API to get information abou

Oct 6, 2022

Some UI mostly use when develop Flutter app

Some UI mostly use when develop Flutter app

Demo Flutter - Some common UI in Flutter App include Hero Animation Screen - How to play with hero widget. Simple Animation Screen - Some simple anima

Jul 24, 2022
Comments
  • To be able to change the next, done and skip button colors ?

    To be able to change the next, done and skip button colors ?

    Hi mate, thanks for this awesome package, is it possible to change the colors of the buttons ? Or if I create my own widget for next, a callback to the next button function ? Also I would love to be able to set a gradient color for the backgroundColor which I couldn't.

    Also a small bug, if I define my own done widget (TextButton(child: Text('Let's go'), on the last page where done appears, dotIndicator changes position.

    opened by B-e-r-k-e-r 1
  • Add positional dot indicator

    Add positional dot indicator

    Review Cases

    1. I create a new DotIndicatorPosition enum and got an instance of it in DotIndicator class . I use this to position the indicator dynamically
    2. I have gotten a space argument in DotIndicator class . I use this to set indicator edge space (margin from edge of page) dynamically
    opened by mrYasinHamidi 0
Owner
Rahul Chouhan
Rahul Chouhan
Know where to go safely. Describe your experiences and rate places.

Is It Safe? ?? Índice Sobre Showcase Features Como eu posso rodar o projeto? Ferramentas Instalação Run Suporte Como posso contribuir? Autores Info ??

Is It Safe? 0 Sep 19, 2022
Flutter custom carousel slider - A carousel slider widget,support custom decoration suitable for news and blog

flutter_custom_carousel_slider A carousel slider Flutter widget, supports custom

Emre 40 Dec 29, 2022
Music-App-Flutter - This is a flutter app which has some songs displayed in the form of a list and user can play any of them by clicking on the name of the song.

music_player_app A music player app made by me in flutter About the App This is a music player which i made to play audio files which we have passed i

Harsh Kumar Khatri 3 Apr 1, 2021
Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories

meals_app Navigation the Multiple Screens ( All categories and Favourites Screens ) and add settings to sort the meals based on categories Getting Sta

Avinash Poshiya 1 Nov 29, 2021
Add easily to your app an introduction screen to provide informations to new users

IntroductionScreen Introduction screen allow you to have a screen at launcher for example, where you can explain your app. This Widget is very customi

Jean-Charles Moussé 484 Jan 6, 2023
A splash view is a short introduction to an application shown when it is launched.

A splash view is a short introduction to an application shown when it is launched. In the splash view, basic introductory information, such as the company logo, content, etc. is displayed at the moment the application load.

Rahul Chouhan 3 Sep 3, 2022
This package provides some widgets you can use to create a smooshy UI.

Dough Library Squishy widgets for Flutter. Quick Links Dough Demos Here are a few samples of the different widgets provided by this repo. You can find

Josiah Saunders 537 Jan 8, 2023
Introduction to flutter app final input

TASK CREATOR Introduction to Flutter URSB Webinar Topics What is flutter Why Flutter ? Flutter architecture Advantage and Disadvantage Widgets State A

Nehry Dedoro 2 Aug 28, 2022