debouncer library

Classes

Debouncer
Utility that delays execution of the last scheduled callback until duration has elapsed without a new schedule.

Constants

kDefaultDebounce → const Duration

Functions

debounce(FutureOr<void> f(), [Duration duration = kDefaultDebounce]) VoidCallback
Returns a closure that debounces calls to f by duration. Re‑invocation resets the timer. Useful for text search, resize, etc.