LiquidGovernorConfig class
Configuration for LiquidTabBarController's performance frame governor.
If a device running the glass tier drops frames (raster time exceeds rasterThresholdMs), the governor automatically downgrades to blur to maintain fluid scrolling.
Constructors
- LiquidGovernorConfig({int warmupFrames = 90, int windowFrames = 60, int rasterThresholdMs = 24, int maxSlowFrames = 12})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSlowFrames → int
-
Maximum slow frames within windowFrames before stepping down to blur.
final
- rasterThreshold → Duration
-
Duration representation of rasterThresholdMs.
no setter
- rasterThresholdMs → int
-
Raster duration in milliseconds after which a frame is considered slow.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- warmupFrames → int
-
Number of initial frames ignored to allow GPU pipeline and asset warm-up.
final
- windowFrames → int
-
Window of evaluated frames over which maxSlowFrames is measured.
final
Methods
-
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