pop_back_handler 1.0.1
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
enableInterceptBacktocanPop(with inverted semantics)- Old:
enableInterceptBack: true= intercept back events - New:
canPop: false= intercept back events
- Old:
- BREAKING: Changed
onPopRequestedcallback signature- Old:
VoidCallback(no parameters) - New:
void Function(bool didPop, T? result)with generic type support
- Old:
- Added generic type parameter
<T>toPopBackHandlerfor typed results