GlassIsolationScope constructor
const
GlassIsolationScope({
- Key? key,
- bool isolated = true,
- GlassQuality? defaultQuality,
- required Widget child,
Creates a glass isolation scope.
When isolated is true (default), descendant glass widgets render
with their own independent layer. When false, they participate in the
nearest ancestor AdaptiveLiquidGlassLayer's grouped rendering.
defaultQuality provides a quality hint for descendants that don't
specify an explicit quality. This is separate from isolated — a scope
can be de-isolated (for grouping) while still providing a premium
quality default.
Implementation
const GlassIsolationScope({
super.key,
this.isolated = true,
this.defaultQuality,
required super.child,
});