Giter Club home page Giter Club logo

app_tutorial's Introduction

Flutter App Onboarding

roundedRectangle

Usage

Import the package into your pubspec.yaml

dependencies:
  app_tutorial: ^currentVersion

View the example project to see how to use the package.

Properties:

TutorialItem
Property Description Type Required Default value
globalKey The Global Key of the component you want to focus on GlobalKey yes /
child Widget to show on the screen when this item is active Widget yes /
color Color of the overlay Color? no Color.fromRGBO(0, 0, 0, 0.6)
borderRadius Radius of the border of the higlighted item Radius no Radius.circular(10.0)
radius Radius of the ShapeFocus.oval shape double? no null
shapeFocus Shape of the focus element ShapeFocus.oval, ShapeFocus.square, ShapeFocus.roundedSquare no ShapeFocus.roundedSquare
Tutorial
  • show() - the show () method, receives three parameters, the context, list of tutorial items you created and the onTutorialComplete callback.
Tutorial.showTutorial(context, items, onTutorialComplete: () {
  // Code to be executed after the tutorial ends
  print('Tutorial is complete!');
});
  • skipAll() - the skipAll() method receives the context parameter and ends the onboarding process
Tutorial.skipAll(context);
This package is a separated fork of this package.

app_tutorial's People

Contributors

aikenahac avatar warlesoncandidoraro avatar asharulislam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.