DebounceTimerFactory typedef

DebounceTimerFactory = Timer Function(Duration duration, void callback())

Factory that produces a one-shot timer used to schedule the debounce fire. Exists primarily so tests can substitute a controllable implementation (e.g. via fake_async).

Implementation

typedef DebounceTimerFactory = Timer Function(
    Duration duration, void Function() callback);