UIDebouncer class

A debouncer that will omit multiple unnessary calls to the action

Constructors

UIDebouncer.new({Duration duration = const Duration(milliseconds: 600)})

Properties

duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(VoidCallback action) → dynamic
Run the action after the duration
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited