app_tutorial
1.0.6, released 3 years ago by aikenahac.com
A lightweight widget for creating onboarding flows with customizable highlights and callbacks.
What it does
It displays a sequence of highlighted UI elements with overlay and optional child widgets. The flow can be started with `Tutorial.showTutorial` and finished with a callback or skipped with `Tutorial.skipAll`.
AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- adding a feature walkthrough to a new screen
- quickly onboarding first‑time users
- adding a short tutorial to a button or menu item
Skip it when
- building complex multi‑screen navigation flows
- requiring deep link handling or nested routing
Strengths
- simple API, no build_runner needed
- highly customizable overlay and shape
- provides completion callback
Weaknesses
- limited to single‑screen tutorials
- no built‑in navigation or deep link support
- no state‑management integration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency to pubspec and import package; no additional permissions or build steps required.
```dart
import 'package:app_tutorial/app_tutorial.dart';
final items = [
TutorialItem(
globalKey: _buttonKey,
child: Text('Tap here to start'),
),
];
Tutorial.showTutorial(
context,
items,
onTutorialComplete: () => print('Tutorial finished'),
);
```Alternatives
Packages that do the same job and could replace app_tutorial.
- flutter_popup
A versatile Flutter package for creating customizable popups with highlight features.
75Compare - tutorial_coach_mark
Presents your app and its features using customizable guides and focused highlights.
84Compare - one_dollar_unistroke_recognizer
A 2D single-stroke gesture and shape recognizer for Dart and Flutter.
68Compare - features_tour
Create ordered tours to introduce widget features in your app using enums.
80Compare