safe_debouncer 0.1.1
safe_debouncer: ^0.1.1 copied to clipboard
A safe, async-aware debouncer for Dart & Flutter that prevents overlapping executions and timer leaks.
Changelog #
All notable changes to the safe_debouncer package will be documented in this file.
This project follows semantic versioning.
0.1.1 #
Fixed #
- Code formatting to match Dart formatter.
- Minor documentation and example improvements.
0.1.0 — Initial Release #
Added #
SafeDebouncerfor safe debouncing of sync and async callbacks.- Prevention of overlapping executions for async callbacks.
- Support for cancelling pending debounce operations.
dispose()method for safe cleanup.SafeDebouncerMapfor key-based debouncing across multiple streams.- Example Flutter app demonstrating debounced text input.
- Unit tests covering core debounce behavior.
- Complete documentation and MIT license.