double_tap_back_exit 1.0.1 copy "double_tap_back_exit: ^1.0.1" to clipboard
double_tap_back_exit: ^1.0.1 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 DoubleBackExit widget to prevent accidental app exits.
  • Added duration parameter to configure the double-back press interval.
  • Introduced showToast function to allow custom toast/snackbar messages.
  • Added support for both back button taps and swipe gestures.
  • Introduced tapExitMessage and swipeExitMessage for default exit messages.
  • Utilized PopScope for compatibility with Android predictive back gestures (Flutter 3.12+).

1.0.1 Format #

3
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget to handle double-tap exit functionality with customizable duration and toast/snackbar messages.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on double_tap_back_exit