Glass constructor
const
Glass({})
Creates a Glass widget for applying frosted glass effects.
The child is required as the content to blur. Use named parameters for
customization: borderRadius for clipping (default zero), tint for color overlay,
disabled to skip effects (default false), under for layered backgrounds,
disabledColor for fallback styling, and ignoreContextSignals to bypass stoppers (default false).
This const constructor supports efficient reuse in dynamic UIs like Gesture-driven panels.
Integrates with ArcaneTheme for blur intensity and opacity, ensuring consistent performance across FillScreen and Section usages.
Implementation
const Glass(
{super.key,
this.ignoreContextSignals = false,
this.disabledColor,
this.under,
this.tint,
this.disabled = false,
this.borderRadius = const BorderRadius.all(Radius.circular(0)),
required this.child});