navigation_stack_previewer 0.0.5
navigation_stack_previewer: ^0.0.5 copied to clipboard
A visual navigation stack previewer for Flutter. Swipe down from the top to see real-time screenshots of your navigation history and navigate back instantly by tapping on them.
CHANGELOG #
0.0.5 #
- Navigator 2.0 Support: Improved tracking for declarative routing stacks.
- Deep Linking Support: Added automatic detection and visualization of deep-linked routes.
- Enhanced Visuals: Added "Link" badge to deep-link items in the carousel.
- Optimized UI: Refined zoom-in animation with fixed header for smoother transitions.
- Improved Performance: Efficiently handles
didRemoveevents in the Router API. - Better SEO: Updated package metadata, topics, and documentation for pub.flutter-io.cn.
- Consolidated Constants: Optimized default values for spacing, sizing, and animations.
0.0.4 #
- Added In-Panel Enlarged Preview mode.
- Added support for dynamic panel height resizing via
enlargedPanelHeight. - Improved route label cleaning to show friendly page names (e.g., "/user_profile" -> "User Profile").
- Added diverse layout options: Carousel and List.
- Added support for multiple panel positions: Top and Bottom.
- Consolidated all settings into a unified
StackPreviewConfigobject for advanced customization. - Improved memory management by cleaning up history when routes are removed.
- Enhanced null-safety and defensive coding.
- Added support for
animationDurationandanimationCurvefor handling layout transitions. - Added configurable maximum stack size via
maxRoutes(default: 5). - Added thumbnail resolution control via
pixelRatio - Added primary and background colors for styling.
0.0.3 #
- Simplified filtering logic by using
RouteSettingsinstead of a global filter callback. - Updated
pubspec.yamlwith validrepositoryandissue_trackerlinks for pub.flutter-io.cn. - Updated dependencies to the latest versions.
0.0.2 #
- Improved pub.flutter-io.cn score by adding comprehensive Dartdoc comments.
- Added a full integration example in the
example/directory. - Refined the
NavigationStackObserverAPI for easier use. - Updated documentation with customization and filtering guides.
- Added colors and panel dimensions to match your app's theme.
0.0.1 #
- Initial release.
- Added visual navigation stack preview via a swipe-down panel.
- Added screenshot capture for navigation history.
- Added automatic detection of
push,pushReplacement, andpopviaNavigationStackObserver. - Added global wrapper
NavigationStackPreviewerfor easy integration. - Added ability to jump to a previous screen by tapping its screenshot.
- Added ability to remove specific screens from the stack with a close icon.
- Added current screen labeling and highlighting.
