flutter_go_router_extension 1.4.0
flutter_go_router_extension: ^1.4.0 copied to clipboard
A Flutter package that extends go_router with Android-style navigation behaviors, such as FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK.
1.4.0 #
- Added
ShellTabVisibilityDetectorwidget to detect when a route/branch inside aStatefulShellRoutebecomes visible or invisible, replacing route observer restrictions that fail during preloadedStatefulShellBranchtabs. - Updated the example project to demonstrate
ShellTabVisibilityDetectorusage.
1.3.1 #
- Updated License section in README.md to conform to standard open-source references.
1.3.0 #
- Added
isCurrentproperty to strictly check whether the currentBuildContextbelongs to the top-most route in the navigation stack.
1.2.0 #
- Added
popUntilmethod to pop routes until a matching route is reached, preserving the existing route instance.
1.1.0 #
- Added
popToRootmethod to pop all routes until the root route is reached.
1.0.2 #
- Version bump to 1.0.2.
1.0.1 #
- Fixed visual flickering when navigating with
pushAndRemoveUntilby reimplementing it usingrouteInformationProviderand improving stack management.
1.0.0 #
- Initial release.
- Added
ContextExtensiononBuildContextto provide additionalgo_routernavigation capabilities. - Implemented
pushAndRemoveUntilto simulate Android'sFLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASKbehavior. - Added utility
pathToRegexPatternto handle route matching with dynamic parameters and wildcards. - Added a comprehensive example application demonstrating the package features.
- Consolidated and centralized documentation in the root
README.md. - Updated package metadata and added MIT License.