flutter_debounce_throttle 2.4.6
flutter_debounce_throttle: ^2.4.6 copied to clipboard
Prevent button spam, debounce search, and fix memory leaks in Flutter. Drop-in widgets, async loading states, auto-lifecycle management. Zero dependencies.
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.4.6Alternatively, 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';