LightweightLiquidGlass.inLayer constructor
const
LightweightLiquidGlass.inLayer({
- required Widget child,
- required LiquidShape shape,
- double glowIntensity = 0.0,
- double densityFactor = 0.0,
- double indicatorWeight = 0.0,
- GlobalKey<
State< ? backgroundKey,StatefulWidget> > - Key? key,
Creates a lightweight glass widget that inherits settings from the nearest ancestor LiquidGlassLayer.
Implementation
const LightweightLiquidGlass.inLayer({
required this.child,
required this.shape,
this.glowIntensity = 0.0,
this.densityFactor = 0.0,
this.indicatorWeight = 0.0,
this.backgroundKey,
super.key,
}) : settings = null;