flutter_debounce_kit 0.1.0 copy "flutter_debounce_kit: ^0.1.0" to clipboard
flutter_debounce_kit: ^0.1.0 copied to clipboard

A flexible and lightweight debouncer for Flutter and Dart apps with multiple strategies and mixin support.

Changelog #

All notable changes to flutter_debouncer_kit will be documented here. This project adheres to Semantic Versioning.


##Beta_version

0.1.0 #

Initial release.

Added #

  • Debouncer — core class with configurable delay and pluggable strategy.
  • DebouncerConfig — immutable configuration (delay, label, edge flags).
  • DebouncerStrategy — abstract base for custom strategies.
  • TrailingEdgeStrategy — fires after the last call (default).
  • LeadingEdgeStrategy — fires immediately, then locks for the cooldown.
  • BothEdgeStrategy — fires on both the first and last call.
  • DebouncerMixin — auto-managed debouncer for StatefulWidget.
  • debounced() extension on void Function() and void Function(A).
  • LifecycleHooksonFire, onCancel, onDispose callbacks.
  • DebouncerLogger — optional debug logger with three verbosity levels.
  • Disposable mixin — safe disposal with StateError on post-dispose use.
  • Full test suite using fake_async.
1
likes
160
points
96
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A flexible and lightweight debouncer for Flutter and Dart apps with multiple strategies and mixin support.

Repository (GitHub)
View/report issues

Topics

#debounce #throttle #utility #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_debounce_kit