LightweightLiquidGlass constructor

const LightweightLiquidGlass({
  1. required Widget child,
  2. required LiquidShape shape,
  3. LiquidGlassSettings? settings = const LiquidGlassSettings(),
  4. double glowIntensity = 0.0,
  5. double densityFactor = 0.0,
  6. double indicatorWeight = 0.0,
  7. GlobalKey<State<StatefulWidget>>? backgroundKey,
  8. Key? key,
})

Creates a lightweight liquid glass effect widget.

Implementation

const LightweightLiquidGlass({
  required this.child,
  required this.shape,
  this.settings = const LiquidGlassSettings(),
  this.glowIntensity = 0.0,
  this.densityFactor = 0.0,
  this.indicatorWeight = 0.0,
  this.backgroundKey,
  super.key,
});