flutter_go_router_extension 1.4.0 copy "flutter_go_router_extension: ^1.4.0" to clipboard
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 ShellTabVisibilityDetector widget to detect when a route/branch inside a StatefulShellRoute becomes visible or invisible, replacing route observer restrictions that fail during preloaded StatefulShellBranch tabs.
  • Updated the example project to demonstrate ShellTabVisibilityDetector usage.

1.3.1 #

  • Updated License section in README.md to conform to standard open-source references.

1.3.0 #

  • Added isCurrent property to strictly check whether the current BuildContext belongs to the top-most route in the navigation stack.

1.2.0 #

  • Added popUntil method to pop routes until a matching route is reached, preserving the existing route instance.

1.1.0 #

  • Added popToRoot method 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 pushAndRemoveUntil by reimplementing it using routeInformationProvider and improving stack management.

1.0.0 #

  • Initial release.
  • Added ContextExtension on BuildContext to provide additional go_router navigation capabilities.
  • Implemented pushAndRemoveUntil to simulate Android's FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK behavior.
  • Added utility pathToRegexPattern to 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.
2
likes
150
points
77
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package that extends go_router with Android-style navigation behaviors, such as FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, go_router

More

Packages that depend on flutter_go_router_extension