Get your users to know your app with ease

Overview

nice_intro

Get your users to know your app with ease

Getting Started

Onboarding is a great way to introduce your app to newcomers, to help them quickly adapt to the new conditions so that they can get the most out of your app

Pub Version Donate

A Flutter package to build awesome intro slides for your apps.

Demo

This is somehow what you can expect from this package :)

Package Demo package demo

Installation

Add the following to pubspec.yaml:

dependencies:
  nice_intro: ^0.1.4

Usage Example

First, import the following files

import 'package:nice_intro/intro_screen.dart';
import 'package:nice_intro/intro_screens.dart';

Then, create a list of screens each one with the IntroSreen class:

List<IntroScreen> pages =  [
        IntroScreen(
          title: 'Search',
          imageAsset: 'assets/img/1.png',
          description: 'Quickly find all your messages',
          headerBgColor: Colors.white,
        ),
        IntroScreen(
          title: 'Focused Inbox',
          headerBgColor: Colors.white,
          imageAsset: 'assets/img/2.png',
          description: "We've put your most important, actionable emails here",
        ),
        IntroScreen(
          title: 'Social',
          headerBgColor: Colors.white,
          imageAsset: 'assets/img/3.png',
          description: "Keep talking with your mates",
        ),
      ];

You'll come up with a list of nice slides screens.

Finally, pass the pages to an instance of IntroScreens class:

IntroScreens introScreens = IntroScreens(
      footerBgColor: TinyColor(Colors.blue).lighten().color,
      activeDotColor: Colors.white,
      footerRadius: 18.0,
      indicatorType: IndicatorType.CIRCLE,
      pages:pages

    return Scaffold(
      body: introScreens,
    );

And pass it to your scaffold widget.

Documentation

IntroScreen widget's properties

Name Type Default Description
title String required Set the title of your slide screen
description String required Set the description of your slide screen
header String Container() Set the widget to use as the header part of your screen
imageAsset String null Set the image path of your slide screen
textStyle TextStyle null Set the style of the title and description of your slide
headerBgColor Color Colors.white Set the background color of the slide
headerPadding EdgeInsets EdgeInsets.all(12) Set the padding of the header part of your slide screen

IntroScreens widget's properties

Name Type Default Description
slides List<IntroScreen> required list of your slides
onDone Function required Set the action to do when the last slide is reached
onSkip Function required Set the action to do when the user skips the slides
footerRadius double 12.0 Set the radius of the footer part of your slides
footerBgColor Color Color(0xff51adf6) Set the background color of the footer part of your slides
footerGradients List<Color> [] Set the list of colors for the gradient of the footer part of your slides
footerPadding EdgeInsets EdgeInsets.all(24) Set the padding of the footer part of your slides
indicatorType IndicatorType IndicatorType.CIRCLE Set the type of indicator for your slides
activeDotColor Color Colors.white Set the color of the active indicator color
inactiveDotColor Color null Set the color of an inactive indicator color
skipText String "Skip" Set the text of the skip widget
nextWidget Widget Set the widget to use for next interaction of your slides
doneWidget Widget Set the widget to display when the last slide is reached
viewPortFraction double 1.0 Set the viewport fraction of your slides
textColor Color Colors.white Set the text color of the footer part of your slides
physics ScrollPhysics BouncingScrollPhysics Set the physics for the page view

IndicatorType enum properties

  • IndicatorType.CIRCLE
  • IndicatorType.LINE
  • IndicatorType.DIAMOND

Now enjoy!

Refer to example folder and the source code for more information.

You might also like...

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla App Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler tem

Dec 18, 2022

Flutter app that uses Instagram public API to show users profile

instagramfinder A new Flutter project. Getting Started This project is a starting point for a Flutter application. I used Instagram public API for fet

Sep 7, 2022

Flutter app to track stocks for multiple users, using Cloud Firestore on the backend.

Flutter app to track stocks for multiple users, using Cloud Firestore on the backend.

stock_tracker Flutter app to track stocks for multiple users, using Cloud Firestore on the backend. Overview I wrote this Flutter application as a mea

Sep 16, 2022

this app is allowing users to track expenses like accommodation, meal, travel expense, office supplies and other daily expenses.

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

Dec 25, 2021

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather.

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather.

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather.

Dec 3, 2022

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

Weather_Forecast_Application Our Goal 🌟 The intention of developing weather app is to fetch the data in the need of taking information about weather

Dec 3, 2022

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

A weather app is one such mobile application that informs the users about the climate conditions, atmospheric predictions, and any updates on the weather

Weather_Forecast_Application Our Goal 🌟 The intention of developing weather app is to fetch the data in the need of taking information about weather

Jun 19, 2022

Grocery-App (Widle Studio - A Creative Flutter App Development Company) OR Get an Estimate

 Grocery-App (Widle Studio - A Creative Flutter App Development Company) OR Get an Estimate

Grocery-App (Widle Studio - A Creative Flutter App Development Company) OR Get an Estimate Flutter Grocery Shopping App Fully Working Template with Wo

Jul 21, 2022

Flutter plugin that allows users to create TextAvatar easily!

Flutter plugin that allows users to create TextAvatar easily!

Colorize Text Avatar Colorize Text Avatar is a package to generate avatar based on your user initials. It supports to generate avatars based on your s

Dec 14, 2022
Comments
  • Examples need updating

    Examples need updating

    I have just tried to load the example version and had the following problem:

    • The parameter 'onSkip' is required. .
    • The parameter 'onDone' is required. .

    I think this is because you have not updated the example code.

    Also if I put in the device into landscape mode the layout is distorted. Do you have any plans to improve the landscape layout?

    opened by johnareid54 5
  • Added Skip Function to animate to last page

    Added Skip Function to animate to last page

    This is a great package, but the most important part 'SKIP' was missing. There was no way for users to skip to the last page. In this PR Users can skip to last page no matter what the length of slides is. 😄 If this PR is successfully merged then i would love to contribute even more because this is my first PR

    opened by xirainfotech 1
  • Add flutter lints, convert `IntroScreen` to stateful

    Add flutter lints, convert `IntroScreen` to stateful

    Hey @Ethiel97,

    I added flutter_lints and fixed up most of the resulting lint warnings. However, there are a couple still outstanding.

    The more concerning issue is with IntroScreen. The way this application is currently built, you have a StatelessWidget with state, being modified by another widget. Due to implementation reasons this will appear to work, however having mutable state in a StatelessWidget is a solid no as it will break.

    I'd suggest re-working this app with some state management to pull out this magic and make the rendering logic less intertwined with the business logic.

    opened by domesticmouse 0
  • bottom background image

    bottom background image

    Hi, it would be nice to set a background image for the bottom widget, i tried to set the containerBg to transparent and a background image on the container outside but this allow the user to see an ugly animation of the white header container color

    opened by mrcnee93 0
Owner
Ethiel ADIASSA
Simply a developer! I'm Enthusiast.
Ethiel ADIASSA
Easily scan your documents on the go with Paper. Scan those documents at ease with real-time document detection, multi paged pdfs, optimized and cleaner clicks from an easy to navigate UX

Easily scan your documents on the go with Paper. Scan those documents at ease with real-time document detection, multi paged pdfs, optimized and cleaner clicks from an easy to navigate UX

Harsh Joshi 38 Dec 16, 2022
Flutter Catalog is a very handy catalog of beautifully designed widgets to help ease your flutter journey.

davidcobbina.com Flutter Catalog Flutter Catalog is a very handy catalog of beautifully designed widgets to help ease your flutter journey. It is insp

David-Legend 299 Nov 20, 2022
Worney - help people that want to know what time have been made on work time

Worney - help people that want to know what time have been made on work time

Kesse 1 Mar 10, 2022
A social media app where people can post images, follow users ,chat with other users and much more.

Nallagram A Social media app (Both frontend and backend) created with Flutter and Firebase.(inspired from instagram) Show some ❤️ and star ⭐ the repo

Pranav Ajay 34 Jan 6, 2023
GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

Gchat - The Chatting Application A Flutter project for chatting. I used Android Studio and you can you any editor of your choice for ex: VS Code, Inte

Sanchaksh Kaul 6 Nov 6, 2022
Custom Gesture Detector for Flutter. Empower your users with custom gestures.

Gestures Custom Gesture Detector for Flutter. Empower your users with custom gestures. How to use In your pubspec.yaml: dependencies: gestures: ^1.0

André Baltazar 11 Nov 4, 2022
A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

Anikate De 3 Oct 21, 2022
A Flutter package for getting app feedback from users.

App Feedback A Flutter package for getting app feedback from users. Other Flutter packages Name Stars Pub Filter List Empty widget Add Thumbnail Count

Sonu Sharma 11 Nov 13, 2022
A remote app built using Flutter that creates the users of the specific wordpress website.

wp_users 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

dev_allauddin 3 Feb 3, 2022
'Efficacy' is a an Android app that keeps users updated on all events and happenings in and around the NITS campus. Note that the one in this repo is a slightly altered version of the original.

Efficacy : The proposed Android app for all clubs, events and happenings at NIT Silchar Get the release APK Some interesting features of this app incl

Gaurav Bhattacharjee 2 Aug 29, 2021