double_tap_back_exit 1.0.2
double_tap_back_exit: ^1.0.2 copied to clipboard
A Flutter widget to handle double-tap exit functionality with customizable duration and toast/snackbar messages.
Changelog #
1.0.0 Initial Release #
Added #
- Implemented
DoubleBackExitwidget to prevent accidental app exits. - Added
durationparameter to configure the double-back press interval. - Introduced
showToastfunction to allow custom toast/snackbar messages. - Added support for both back button taps and swipe gestures.
- Introduced
tapExitMessageandswipeExitMessagefor default exit messages. - Utilized
PopScopefor compatibility with Android predictive back gestures (Flutter 3.12+).