tutorial 1.0.5+1 tutorial: ^1.0.5+1 copied to clipboard
Tutorial package.
Tutorial
Created to present screens in a very cool way
Installation
- Add to pubspec.yaml :
- tutorial:^1.0.4
- Import
- import 'package:tutorial/tutorial.dart';
Screens
Properties
- globalKey : Unique key of the component you want - touchScreen: boolean that validates if the touch for the next screen will be on the entire screen - children: List of widgets - crossAxisAligment : Vertical alignment - mainAxisAlignment : Horizontal alignment - top :top alignment - bottom : bottom alignment - left : Left alignment - right : Right alignmenthow to use
-
Create the GlobalsKeys of the components you want
-
Create List
-
Create List
-
In the initState add the TutorialItens
-
Call the showTutorial function passing the context and the list of TurialItens as parameters