edgeStyle property

GlassScrollEdgeStyle edgeStyle
final

The edge fade style applied at the top and bottom of the scroll body. See GlassScrollEdgeStyle.

Defaults to GlassScrollEdgeStyle.soft, which matches iOS 26's .scrollEdgeEffectStyle(.soft) — a diffused gradient fade.

Set to GlassScrollEdgeStyle.blur for a stronger hardware-accelerated progressive Gaussian frost. This is a design enhancement beyond the iOS 26 system default — opt in explicitly when you want a more aggressive frosted-glass edge look. Note it adds a BackdropFilterLayer per edge.

Set to GlassScrollEdgeStyle.hard for a crisp cutoff, matching iOS 26's .scrollEdgeEffectStyle(.hard).

Implementation

final GlassScrollEdgeStyle edgeStyle;