double_tap_back_exit 1.1.1 copy "double_tap_back_exit: ^1.1.1" to clipboard
double_tap_back_exit: ^1.1.1 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add double_tap_back_exit

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  double_tap_back_exit: ^1.1.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:double_tap_back_exit/double_tap_back_exit.dart';
3
likes
155
points
22
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on double_tap_back_exit