settings property

LiquidGlassSettings? settings
final

Optional glass settings override.

When non-null, fields in settings that differ from the LiquidGlassSettings() constructor defaults are applied on top of baseIndicatorSettings — not as a full replacement. This means chromaticAberration: 0.15 (the iOS 26 iridescent rim default) is preserved unless the caller explicitly overrides it.

Example — only change blur while keeping iOS 26 aberration:

indicatorSettings: LiquidGlassSettings(blur: 2)

To fully reset to the LiquidGlassSettings() constructor defaults, start from that and specify every field you want:

indicatorSettings: AnimatedGlassIndicator.baseIndicatorSettings
    .copyWith(blur: 2, chromaticAberration: 0.0)

Implementation

final LiquidGlassSettings? settings;