app_onboarding

Creator: coderz1093

Last updated:

0 purchases

app_onboarding Image
app_onboarding Images
Add to Cart

Description:

app onboarding

A Flutter package for building simple onboarding with tooltips!


Features #
Use this package in your Flutter app to:

Build manual onboarding with tooltips
Build auto onboarding with tooltips

Getting started #
Add this to your package's pubspec.yaml file:
dependencies:
app_onboarding: ^1.0.0
copied to clipboard
Usage #
First, create AppOnboardingController (Don`t forget dispose in dispose method):
late final AppOnboardingController controller = AppOnboardingController();

@override
void dispose() {
controller.dispose();
super.dispose();
}
copied to clipboard
Second, wrap you top-screen widget by AppOnboarding and set controller:
AppOnboarding (
controller: controller,
child: Scaffold(
body:...
);
copied to clipboard
Third, wrap your widgets (buttons, text and all you want) by AppOnboardingEntry:
AppOnboardingEntry(
index: 0,
tooltipSettings: TooltipSettings(backgroundColor: Colors.red.shade400),
child: Text(widget.title),
),
copied to clipboard
Fourth, start onboarding:
@override
void initState() {
super.initState();
Future.delayed(
const Duration(seconds: 2),
controller.start,
);
}
copied to clipboard
That`s all, you created basic onboarding with tooltips!
For more info see example

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.