single_tap_detector 1.0.1 copy "single_tap_detector: ^1.0.1" to clipboard
single_tap_detector: ^1.0.1 copied to clipboard

A Flutter widget that prevents multiple rapid taps by implementing debounce protection. Perfect for preventing multiple navigation screens from opening on rapid user taps.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add single_tap_detector

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

dependencies:
  single_tap_detector: ^1.0.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:single_tap_detector/single_tap_detector.dart';
1
likes
145
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that prevents multiple rapid taps by implementing debounce protection. Perfect for preventing multiple navigation screens from opening on rapid user taps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on single_tap_detector