RefDebounceExtension extension

An extension on Ref with helpful methods to add a debounce.

on
  • dynamic

Methods

debounce(Duration duration) Future<void>
Delays an execution by a bit such that if a dependency changes multiple time rapidly, the rest of the code is only run once.