simple_throttle_debounce 1.0.4 copy "simple_throttle_debounce: ^1.0.4" to clipboard
simple_throttle_debounce: ^1.0.4 copied to clipboard

It's a simple pure dart package which implements throttle/debounce functionality, and it's a rewrite work of the original js version (JavaScript patterns: Throttle and Debounce)

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add simple_throttle_debounce

With Flutter:

 $ flutter pub add simple_throttle_debounce

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

dependencies:
  simple_throttle_debounce: ^1.0.4

Alternatively, 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:simple_throttle_debounce/simple_throttle_debounce.dart';
1
likes
140
pub points
15%
popularity

Publisher

unverified uploader

It's a simple pure dart package which implements throttle/debounce functionality, and it's a rewrite work of the original js version (JavaScript patterns: Throttle and Debounce)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on simple_throttle_debounce