LiquidGlassSignals class
Everything LiquidGlassPolicy.resolve looks at besides the renderers.
- Annotations
Constructors
- LiquidGlassSignals({bool reduceTransparency = false, bool highContrast = false, bool powerSave = false, bool blurDisabled = false, bool lowEnd = false, bool glesOnly = false, bool slowFrames = false})
-
Creates a set of signals. Defaults describe a device with no
accessibility, power or performance restriction.
const
Properties
- blurDisabled → bool
-
Android 12+: the system disabled window blurs. Battery saver does
that too, so it counts only while powerSave is off.
final
- glesOnly → bool
-
Android 10+ without Vulkan 1.1 (Flutter renders with OpenGL ES).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- highContrast → bool
-
MediaQuery.highContrastOf(reported by iOS only).final - lowEnd → bool
-
Android: a low-RAM device or under 3 GiB of memory.
final
- powerSave → bool
-
Android battery saver; iOS Low Power Mode.
final
- prefersFrosted → bool
-
Whether a signal asks for frosted instead of liquid.
no setter
- prefersSolid → bool
-
Whether a signal asks for the solid tier: reduce transparency, high
contrast, or blur disabled for a reason other than battery saver.
no setter
- reduceTransparency → bool
-
iOS Reduce Transparency; Android animations off or high contrast.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slowFrames → bool
-
Frames were too slow while liquid glass was shown (the frame guard).
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.
override