automaticSurfaceVisibility property

bool automaticSurfaceVisibility
final

Whether GlassAppBarSurfaceStyle.fullBlur fades in automatically as vertical scroll content moves beneath the bar.

Mirrors CupertinoNavigationBar.automaticBackgroundVisibility. Defaults to true: completely invisible at scroll offset 0 (zero backdrop filter cost), fading smoothly to full strength over surfaceAppearanceExtent logical pixels via ScrollNotificationObserver. Set to false to keep the blurred surface and hairline border permanently visible.

Implementation

final bool automaticSurfaceVisibility;