EasyDebounce class

Limits the rate at which a function can fire.

Useful for search fields where you only want to search after the user stops typing.

Constructors

EasyDebounce({required Duration delay})

Properties

delay 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

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(VoidCallback action) → void
Runs the action after delay has passed without another call.
toString() String
A string representation of this object.
inherited

Operators

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