GlassAppBarSurfaceStyle enum

Surface material style for GlassAppBar and GlassAppBar.pinned.

Controls whether the navigation bar itself stays completely transparent (delegating edge treatment to GlassScaffold.edgeStyle) or paints an iOS 27 scroll-under blurred surface with a hairline bottom border behind its title and glass buttons.

Inheritance
Available extensions

Values

automatic → const GlassAppBarSurfaceStyle

Adapts automatically to the active GlassStyle and host scaffold.

transparent → const GlassAppBarSurfaceStyle

Transparent bar surface (iOS 26 pattern).

Pairs with GlassScaffold.edgeStyle (.soft, .blur, or .hard) while keeping glass exclusively on the individual bar buttons.

fullBlur → const GlassAppBarSurfaceStyle

iOS 27 scroll-under full-width Gaussian blur with a 1-physical-pixel hairline bottom border.

The surface paints as a sibling behind the bar's title and glass buttons (never wrapping the buttons in a backdrop filter), spans the status bar and toolbar bounds, and respects GlassAccessibilityData.reduceTransparency.

When GlassAppBar.automaticSurfaceVisibility is true (the default), the surface stays completely invisible at scroll offset 0 (zero backdrop filter cost) and fades in smoothly over GlassAppBar.surfaceAppearanceExtent logical pixels as vertical content scrolls beneath the bar.

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