flutter_timer_util

Last updated:

0 purchases

flutter_timer_util Image
flutter_timer_util Images
Add to Cart

Description:

flutter timer util

A various timer utility package for debounce, throttle, repeat.
Features #

Debouncing
Repeater
Throttling

Getting started #
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
flutter_timer_util: <latest_version>
copied to clipboard
Usage #
// create debouncing
final debouncing = FlutterTimerUtil.debouncing(
interval: Duration(seconds: 1)
);

// set callback
// The callback method is executed after the call has been invoked, following the specified time duration, [inteval].
debouncing.call(() {
print('print after 1 seconds');
});
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.