flutter_debounce_throttle 2.4.3
flutter_debounce_throttle: ^2.4.3 copied to clipboard
Debounce and throttle for Flutter. Prevent double-tap, button spam, and memory leaks. Zero dependencies, widgets, async support, and auto-lifecycle management.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_debounce_throttleWith Flutter:
$ flutter pub add flutter_debounce_throttleThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_debounce_throttle: ^2.4.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_debounce_throttle/flutter_debounce_throttle.dart';