Skip to main content

pop_back_handler 1.0.1 copy "pop_back_handler: ^1.0.1" to clipboard
pop_back_handler: ^1.0.1 copied to clipboard

A Flutter widget that provides unified handling for back navigation events, integrating PopScope with iOS swipe-back gesture detection.

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.1 - 2025-12-16 #

Changed #

  • BREAKING: Renamed enableInterceptBack to canPop (with inverted semantics)
    • Old: enableInterceptBack: true = intercept back events
    • New: canPop: false = intercept back events
  • BREAKING: Changed onPopRequested callback signature
    • Old: VoidCallback (no parameters)
    • New: void Function(bool didPop, T? result) with generic type support
  • Added generic type parameter <T> to PopBackHandler for typed results

1.0.0 - 2025-12-01 #

Added #

  • Initial release of pop_back_handler
  • PopBackHandler widget with unified back event handling
  • Android back button interception via PopScope
  • iOS edge swipe gesture detection
  • LTR and RTL layout direction support
  • Configurable edge width and swipe threshold
2
likes
150
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that provides unified handling for back navigation events, integrating PopScope with iOS swipe-back gesture detection.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pop_back_handler