tap2exit 1.2.1 copy "tap2exit: ^1.2.1" to clipboard
tap2exit: ^1.2.1 copied to clipboard

A Flutter plugin providing double-tap-to-exit functionality for Android with native Toast support and safe iOS handling.

1.2.1 #

  • Feature: Added macOS native plugin with Swift Package Manager (SPM) support.

1.2.0 #

  • Feature: Added support for Web, Windows, macOS, and Linux platforms.
  • Feature: Added Swift Package Manager (SPM) support for iOS.
  • Fix: Fixed unconditional dart:io import that prevented web compilation.

1.1.0 #

  • Fix: Fixed Android Kotlin crash when activity is null.
  • Fix: Fixed window leak when showing Android Toast.
  • Feature: Added iOS fallback for useToast. When enabled on iOS, it now falls back to SnackBar instead of doing nothing.
  • Feature: Added customMessageWidget parameter to Tap2Exit for custom first-tap message builder (using OverlayEntry).
  • Docs: Added topics, repository, and issue tracker to pubspec.yaml.

1.0.0 #

  • Initial release.
  • Double-tap-to-exit functionality with configurable duration.
  • SnackBar message on first back press (default).
  • Optional native Android Toast message support.
  • Safe no-op behavior on iOS.
  • Configurable exit callback via onExit.
0
likes
160
points
105
downloads

Documentation

API reference

Publisher

verified publisherjaberio.dev

Weekly Downloads

A Flutter plugin providing double-tap-to-exit functionality for Android with native Toast support and safe iOS handling.

Repository (GitHub)
View/report issues

Topics

#back-button #exit #navigation #android

License

MIT (license)

Dependencies

flutter

More

Packages that depend on tap2exit

Packages that implement tap2exit