flutter_debounce_throttle 2.3.0
flutter_debounce_throttle: ^2.3.0 copied to clipboard
Production-ready debounce, throttle, and rate limiting for Flutter. Prevent double-clicks, API spam, race conditions, and memory leaks with auto lifecycle management. Includes widgets, mixins, and hooks.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_debounce_throttleThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_debounce_throttle: ^2.3.0Alternatively, 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:flutter_debounce_throttle/flutter_debounce_throttle.dart';