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