UIGlassPerformanceMode enum

Performance strategy for frosted-glass widgets.

BackdropFilter is expensive; stacking several glass layers can drop frames on low-end devices. Use staticTint to swap the live blur for a cheap solid tint, or auto to let the widget decide.

Inheritance
Available extensions

Values

fullBlur → const UIGlassPerformanceMode

Use a real-time BackdropFilter blur (highest fidelity, highest cost).

staticTint → const UIGlassPerformanceMode

Skip the blur and paint a solid semi-opaque tint (cheapest).

auto → const UIGlassPerformanceMode

Currently behaves like fullBlur; reserved for future device-aware logic.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<UIGlassPerformanceMode>
A constant List of the values in this enum, in order of their declaration.