flutter_walkthrough_sdk 0.0.3
flutter_walkthrough_sdk: ^0.0.3 copied to clipboard
A lightweight in-app onboarding and walkthrough SDK for Flutter with spotlight highlights and tooltips.
Flutter Walkthrough SDK π #
A lightweight, customizable in-app onboarding / walkthrough / coachmark SDK for Flutter.
Highlight UI elements, guide users with tooltips, and show step-by-step tours with a clean spotlight overlay.
Perfect for:
β Feature discovery
β First-time onboarding
β Tutorials
β Coach marks
β Product tours
β¨ Features #
β
Spotlight highlight on any widget
β
Step counter (1/5)
β
Dynamic titles & descriptions
β
Custom button text (Next / Skip / Done)
β
First-time only display
β
Fully configurable UI
β
Lightweight (no heavy dependencies)
β
Works with any Flutter app
β
Simple API
β
Production ready
π¦ Installation #
flutter pub add flutter_walkthrough_sdk
π Quick Start #
Step 1: Create GlobalKey #
final buttonKey = GlobalKey();
Step 2: Assign key to widget #
ElevatedButton(
key: buttonKey,
onPressed: () {},
child: const Text("Start"),
)
Step 3: Assign your walkthrough #
final steps = [
PreviewStep(
targetKey: buttonKey,
title: "Start Button",
description: "Tap this button to start your journey",
),
PreviewStep(
targetKey: searchKey,
title: "Search",
description: "Search anything from here",
),
PreviewStep(
targetKey: profileKey,
title: "Profile",
description: "Manage your profile settings",
),
PreviewStep(
targetKey: menuKey,
title: "Menu",
description: "Access all features from this menu",
),
];
π§© Call it where you wanted to show only for first time #
PreviewSDK.startIfFirstTime(
context,
id: "home_tour",
steps: steps,
);
π¨ Custom Configuration only for first time #
PreviewSDK.startIfFirstTime(
context,
id: "home_tour",
steps: steps,
config: const PreviewConfig(
showCounter: true,
confirmText: "Next",
cancelText: "Skip",
doneText: "Finish",
),
);
Start walkthrough #
PreviewSDK.start(
context,
steps: steps,
);