AdaptiveDebouncer class

πŸš€ Adaptive Debouncer - Intelligently adjusts delay for blazing fast UX

This smart debouncer reduces delay for fast typers and increases for slow typers, providing the optimal balance between performance and user experience.

Implementers

Constructors

AdaptiveDebouncer.new({Duration minDelay = const Duration(milliseconds: 50), Duration maxDelay = const Duration(milliseconds: 300), Duration fastTypingThreshold = const Duration(milliseconds: 150)})

Properties

currentDelay β†’ Duration
Get current adaptive delay (for debugging/monitoring)
no setter
hashCode β†’ int
The hash code for this object.
no setterinherited
isFastTyping β†’ bool
Check if fast typing is detected
no setter
runtimeType β†’ Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(void action()) β†’ void
Execute action with smart delay adaptation
cancel() β†’ void
Cancel any pending action
dispose() β†’ void
Dispose resources
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