hint_kit 1.3.0
hint_kit: ^1.3.0 copied to clipboard
Tooltips, persistent hints and spotlight guided tours from one overlay engine, one placement resolver and one theme. Zero runtime dependencies.
Changelog #
1.3.0 #
- Bubbles are spoken as semantic live regions, replacing the
SemanticsService.announcecall Android deprecates. - Fixed
HintRegistry.resetShowOncedoing nothing to a hint that is already on screen. - A hint re-reads its
showOnceflag when the key changes. - No API changes. Tests that asserted an announcement should assert
isLiveRegionon the bubble instead.
1.2.1 #
- Documented conditional steps, step timeouts and the two storage wires in the README.
- Linked the API reference from the README and pubspec.
1.2.0 #
- Warns in debug when persistence is wired for hints but not tours, or the reverse.
- Grouped the API reference into Hints, Tours, Theming and Advanced.
- Split the example into one file per feature.
1.1.1 #
- Updated README documentation.
1.1.0 #
- Added
HintTarget(enabled: false)for conditional tour steps. - Added
TourScope.stepTimeoutandonStepUnavailablefor unavailable steps. - Removed generated
lib/generated/assets.dart. - Updated README with troubleshooting and conditional-step documentation.
1.0.0 #
- Stable 1.x API; no API changes from 0.1.0.
- Added updated README with screenshots, features, installation, and requirements.
- Fixed image URLs for pub.dev.
0.1.0 #
Hints #
- Added
Hintwith tap, long-press, hover, focus, appear, and manual triggers. - Supports disabled widgets.
- Added
HintControllerfor programmatic control. - Added interactive custom content.
- Added app-wide exclusivity and show/dismiss callbacks.
- Uses
OverlayPortaland target tracking.
Tours #
- Added
TourScope,TourController, andHintTarget. - Supports tours across routes.
- Added spotlight shapes, pulse, blur, and hit-test passthrough.
- Added customizable step cards and keyboard controls.
- Added
TourStorageand resumable tours. - Added
beforeShow,enabled, and step timeout support.
Theming & UI #
- Added
HintThemeDataand 10 presets. - Added custom transitions and arrows.
- Added localization with
TourLabels. - Added
Hint.showOnce. - Added
HintQueue. - Added
Beacon. - Added desktop/web support including right-click and pointer-following hints.
Developer tools #
- Added
HintObserverand analytics events. - Added
CallbackTourStorage. - Added
resolvePlacement. - Added
package:hint_kit/testing.dartwith test helpers. - Added GitHub Actions CI and example deployment.
Fixes #
- Applied
transitionCurvecorrectly. - Added
triangleandcurvedarrow shapes. - Improved spotlight movement and placement handling.
