- Added throttler (credits to James McIntosh)
- Updated README
-
Removed dependency on Flutter SDK (this package is now a pure Dart package)
-
Removed pubspec.lock from repo
-
Dart formatting
Thanks to Nils Reichardt
- Added the
fire()
-method for manually executing a debouncer target method. - Added the
cancelAll()
-method for cancelling all debouncers.
Breaking changes
- Bumped SDK version constraint to support null safety.
Added a null check when cancelling a timer.
Calling debounce()
with a zero-duration will now invoke the target method immediately, i.e. synchronously.
Updated description and link to GitHub repo. Flutter-formatted source code.
Initial release.