settings property
Glass effect settings applied to the page's internal rendering layer.
All grouped glass widgets (GlassContainer.card, GlassContainer, etc.) within
this page will inherit these settings automatically — no need to set
useOwnLayer: true or pass settings: to each widget individually.
If null, the layer inherits settings from GlassTheme or uses defaults.
GlassPage(
settings: LiquidGlassSettings(
glassColor: Color.fromRGBO(28, 28, 30, 0.8),
thickness: 30,
blur: 4,
),
child: Scaffold(...),
)
Implementation
final LiquidGlassSettings? settings;