GlassScrollEdgeStyle enum

Edge effect style matching iOS 26's .scrollEdgeEffectStyle.

Controls how scroll content fades at the edges when it meets a glass surface (navigation bar, bottom bar, etc.).

Inheritance
Available extensions

Values

soft → const GlassScrollEdgeStyle

A rounded, diffused fade — content dissolves smoothly into the bar area.

Matches iOS 26's .soft edge effect style. This is the default and is ideal for most list/scroll views with transparent navigation bars.

hard → const GlassScrollEdgeStyle

A crisp boundary — content has a sharper cutoff at the bar edge.

Matches iOS 26's .hard edge effect style. Useful when you want a clear visual separation between the bar and content.

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<GlassScrollEdgeStyle>
A constant List of the values in this enum, in order of their declaration.