app_tutorial 1.0.6

SDKflutter
Platformandroidioswindowslinuxmacosweb

Package for creating onboarding flows for your app to explain the features of the app in a seamless ways to you users.

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
PropertyDescriptionTypeRequiredDefault value
globalKeyThe Global Key of the component you want to focus onGlobalKeyyes/
childWidget to show on the screen when this item is activeWidgetyes/
colorColor of the overlayColor?noColor.fromRGBO(0, 0, 0, 0.6)
borderRadiusRadius of the border of the higlighted itemRadiusnoRadius.circular(10.0)
radiusRadius of the ShapeFocus.oval shapedouble?nonull
shapeFocusShape of the focus elementShapeFocus.oval, ShapeFocus.square, ShapeFocus.roundedSquarenoShapeFocus.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.