go_router_back_handler 1.0.0 copy "go_router_back_handler: ^1.0.0" to clipboard
go_router_back_handler: ^1.0.0 copied to clipboard

A robust back button handler for GoRouter that works on all routes including root routes. Solves the PopScope limitation with native Android integration.

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.

1.0.0 - 2024-04-12 #

Added #

  • Initial release of go_router_back_handler
  • Native Android MethodChannel integration for back button handling
  • Smart route detection and parent finding
  • Customizable exit confirmation dialog with modern design
  • Sequential flow support for registration/wizard flows
  • Dynamic route handling for parameterized routes
  • Configurable double-tap to exit pattern
  • Debug mode with detailed logging
  • Custom toast and dialog support
  • Comprehensive documentation and examples
  • Full test coverage

Features #

  • Works on ALL routes including root routes (solves PopScope limitation)
  • Zero configuration with sensible defaults
  • Highly customizable via BackHandlerConfig
  • Production-ready and battle-tested
  • Type-safe API with full Dart type safety

Documentation #

  • Comprehensive README with quick start guide
  • API documentation with examples
  • Troubleshooting guide
  • Contributing guidelines
  • MIT License

[Unreleased] #

Planned #

  • iOS support (future release)
  • Web support (future release)
  • Additional customization options
  • Performance optimizations
  • More example apps
1
likes
0
points
135
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A robust back button handler for GoRouter that works on all routes including root routes. Solves the PopScope limitation with native Android integration.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, go_router

More

Packages that depend on go_router_back_handler

Packages that implement go_router_back_handler