initialQuality property

GlassQuality? initialQuality
final

The quality to display before the warm-up benchmark completes. When null (the default), the scope determines the best safe quality (maxQuality on Apple, standard on Android).

Warning for Android: Forcing this to GlassQuality.premium bypasses the conservative seeding. While LiquidGlassWidgets.initialize() protects against ANRs by pre-compiling the shaders, if you explicitly disable the Impeller warm-up (warmUpImpellerPipeline: false), forcing premium on frame 1 may cause a severe stutter or ANR on GLES-only Android devices.

Implementation

final GlassQuality? initialQuality;