DebounceTimer class
Use for create new instance debounce timer, don`t forget call dispose for close instance.
delay - delay time, default value is 300 milliseconds
Constructors
- DebounceTimer({Duration? delay})
Properties
Methods
-
debounce(
VoidCallback callback) → void - Wait time, and call callback when time is elapsed
-
dispose(
) → void - Cancel timer, use necessary for prevent memory leaks
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited