Skip to main content

flutter_feature_tour 0.2.0 copy "flutter_feature_tour: ^0.2.0" to clipboard
flutter_feature_tour: ^0.2.0 copied to clipboard

Spotlight feature tours and onboarding for Flutter apps: highlight widgets, explain them with themed info cards, and remember the user's progress.

Changelog #

All notable changes to the Flutter Feature Tour package will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.0 - 2026-10-13 #

Added #

  • Spotlight overlay: the highlighted widget is cut out of the dimmed backdrop.
  • HighlightShape.roundedRectangle, per-highlight padding and borderRadius.
  • Info card placement that keeps the card on screen (safe area and keyboard aware).
  • Spotlight follows targets that scroll, move or resize; targets are scrolled into view (autoScroll).
  • allowTargetInteraction and advanceOnTargetTap on FeatureHighlight.
  • Conditional steps with showIf; steps whose target is not on screen are skipped (skipMissingTargets).
  • Per-step interactiveWidgetBuilder and custom content.
  • "Back" button (showPreviousButton) and next(), previous(), skip(), dismiss(), isActive.
  • Multiple independent tours with OnboardingService.forTour(id).
  • setSteps, clearSteps, steps, resetOnboarding, persistProgress.
  • FeatureTourLabels for localization, showCompletionCard, showSkipButton, barrierTapBehavior.
  • onComplete, onSkip and onStepChanged callbacks; onboarding_skipped, step_previous and onboarding_dismissed analytics events; tour_id on every event.
  • FeatureTourTheme.copyWith and new theme fields (onPrimaryColor, highlightPadding, highlightCornerRadius, cardMaxWidth, cardElevation, cardPadding, animationDuration).
  • Reduced-motion support, screen reader announcements, focus trapping, Escape and arrow keys.
  • OnboardingService is a ChangeNotifier; new isShowingCompletion and totalSteps getters.
  • OnboardingService.create for non-shared, injectable instances.
  • TourProgressRepository, TourProgressRepositoryImpl, TourStorageDataProvider, SharedPreferencesDataProvider and InMemoryDataProvider for custom persistence.
  • overlayBuilder to re-provide page-scoped providers; page themes are carried over automatically.
  • navigatorKey fallback for contexts above the Navigator.
  • targetWaitTimeout: the tour waits for targets, and for showIf data, that are still loading.
  • dismissOnRouteChange: the tour hides while a dialog, sheet or menu is open above its page, and is dismissed when the page is covered by another page, popped or removed (with or without a transition, including declarative pages navigators and nested navigators).
  • titleBuilder, descriptionBuilder and labelsBuilder for locale-aware text.
  • Translatable screen reader labels (nextSemanticLabel, …).
  • Test suite.

Fixed #

  • Highlights were drawn misaligned while the overlay animated in (the whole layer was scaled).
  • The highlighted widget was dimmed along with the rest of the screen.
  • The info card could run off the screen edge.
  • A step whose target was missing showed an empty dark screen.
  • The Android back button popped the page underneath while the tour stayed on screen.
  • FeatureTourTheme.fromTheme produced a light overlay in dark mode and could crash on themes without text colors.
  • Calling startOnboarding twice could show two overlays.
  • Steps were duplicated when the setup code ran again (use setSteps).
  • Card buttons overflowed with long or translated labels; long content overflowed small screens.
  • Saved progress used generic SharedPreferences keys that could clash with the app's own. Progress is now saved under flutter_feature_tour.<tourId>.*; progress saved by 0.1.x is still read for the default tour when both of its keys exist, and the old keys are never changed or removed.
  • Starting the tour while the screen was loading showed "You're All Set!" and marked the tour as completed.
  • Screen readers announced English button labels even when the labels were translated.
  • Arrow keys did not follow right-to-left layouts.
  • The tour stayed on screen after navigating to another page, and dialogs opened underneath it.
  • Targets on a hidden IndexedStack tab or inside Offstage were treated as on screen.
  • Declared Flutter version was too low for the APIs used (now >=3.27.0).

Changed #

  • Skipping ends the tour immediately instead of showing the completion card.
  • Circle highlights cover the whole target.
  • FeatureHighlight.icon is optional; title and description are optional when builders are given.
  • startOnboarding and restartOnboarding return Future<bool>.
  • The example is now Taskflow, a small task manager that uses every feature, in English, Spanish and Arabic.
  • Source reorganized into data_providers/, repositories/, models/, services/, ui/ and extensions/, one public class per file, with package: imports throughout.

Removed #

  • Unused native plugin scaffolding and the iconsax, web, flutter_web_plugins and plugin_platform_interface dependencies.

0.1.0 #

  • Version bump.

0.0.2 - 2024-11-11 #

  • Switched from Hive to SharedPreferences for better cross-platform support
  • Added comprehensive documentation
  • Improved error handling
  • Added platform-specific configurations
  • Fixed initialization issues
  • Added analytics tracking support
  • Added theme customization options
  • Added interactive widget support

0.0.1 - 2024-10-25 #

Added #

  • Initial release of Flutter Feature Tour package
  • Customizable styling with FeatureTourTheme
  • Support for multiple highlight shapes (circle, rectangle, custom path)
  • Analytics integration with customizable callback
  • Interactive elements within tour steps
  • Smooth animations and transitions for overlay and highlights
  • Persistence of tour progress using Hive
  • Basic accessibility features including semantic labels and keyboard navigation
  • OnboardingService for easy setup and management of the feature tour
  • FeatureHighlight class for defining individual tour steps
  • Support for custom theme based on app's theme
  • Ability to restart the onboarding process
4
likes
150
points
45
downloads

Documentation

API reference

Publisher

verified publisherssekizinvu.blog

Weekly Downloads

Spotlight feature tours and onboarding for Flutter apps: highlight widgets, explain them with themed info cards, and remember the user's progress.

Repository (GitHub)
View/report issues

Topics

#onboarding #tour #showcase #tutorial #walkthrough

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on flutter_feature_tour