ResizeCoalescer class
Decides how aggressively resize events should be coalesced.
This uses a lightweight adaptive heuristic instead of a fixed debounce so isolated resizes stay responsive while rapid bursts get collapsed.
Constructors
- ResizeCoalescer()
-
Creates a resize coalescer.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
ResizeCoalescerState state, DateTime now) → ResizeCoalescerState -
Computes the delay to use for a resize event observed at
now. -
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