advanced_nav_service 0.2.1
advanced_nav_service: ^0.2.1 copied to clipboard
A comprehensive navigation service package for Flutter applications providing routing, navigation state management, and navigation utilities.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.1 - 2026-01-01 #
Added #
- Error boundaries: wrapped navigation entry points with
try/catchto surface and log unexpected exceptions
Fixed #
- Fixed generic type handling for page routes and route builders (preserve
Tresult types) - Fixed
NavState.fromRoutenull-safety when readingRouteSettings.arguments - Fixed
NavStepconstructor ordering andprevStatehandling
Changed #
- Switched several imports from
package:flutter/material.darttopackage:flutter/widgets.dartto reduce dependency surface - Improved and unified debug logging messages across navigation methods
- Reordered singleton initialization and tightened route map construction for consistency
0.2.0 - 2025-12-24 #
Enhanced #
- Improved
NavExtradata processing with automatic JSON serialization for better data consistency - Enhanced data integrity when passing complex objects between routes
- Added automatic deep cloning of data to prevent reference issues
0.1.0 - 2025-12-23 #
Added #
- Initial stable release of advanced_nav_service package
NavServicesingleton class for advanced navigation management- Route configuration with
NavServiceConfigandNavRoutedefinitions - Smart navigation with
navigate()method that intelligently handles existing routes - Navigation history tracking with
NavStepand full stack inspection - Extra data support with
NavExtrafor type-safe data passing between routes - Navigation state management with
NavStatefor route-aware widgets - Comprehensive navigation methods:
push()andpop()with animation supportpushReplacement()andreplace()for route replacementpushAndRemoveUntil()for conditional stack managementpopUntil()andpopUntilPath()for targeted navigationpopAll()andremoveAll()for complete stack clearing
- Bulk navigation operations:
pushAll()for multiple route pushingreplaceAll()for complete stack replacementpushReplacementAll()for advanced stack manipulation
- Built-in route observer with automatic navigation event tracking
- Navigation debugging with
joinedLocationand history inspection - Configurable logging for development and debugging
- Custom page route with optimized animations
- Complete example application demonstrating all features
- Comprehensive test coverage for all navigation scenarios
- Full API documentation and usage examples