SearchDebouncer class
🎯 Smart Search Debouncer - Specialized for search/autocomplete scenarios
- Inheritance
-
- Object
- AdaptiveDebouncer
- SearchDebouncer
Constructors
- SearchDebouncer.new({Duration minDelay = const Duration(milliseconds: 30), Duration maxDelay = const Duration(milliseconds: 250), Duration fastTypingThreshold = const Duration(milliseconds: 120)})
Properties
- currentDelay → Duration
-
Get current adaptive delay (for debugging/monitoring)
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFastTyping → bool
-
Check if fast typing is detected
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
void action()) → void -
Execute action with smart delay adaptation
inherited
-
cancel(
) → void -
Cancel any pending action
inherited
-
dispose(
) → void -
Dispose resources
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
String query, dynamic searchAction(String)) → void - Execute search with query-specific optimizations
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited