LiquidGlassBackground constructor

const LiquidGlassBackground({
  1. Key? key,
  2. required Widget child,
  3. double? blurAmount,
  4. double? noiseOpacity,
  5. double? highlightIntensity,
  6. Color? highlightColor,
  7. Color? noiseColor,
  8. ImageProvider<Object>? backgroundImageProvider,
  9. Gradient? backgroundGradient,
  10. BoxFit backgroundFit = BoxFit.cover,
  11. Alignment backgroundAlignment = Alignment.center,
})

Implementation

const LiquidGlassBackground({
  super.key,
  required this.child,
  this.blurAmount,
  this.noiseOpacity,
  this.highlightIntensity,
  this.highlightColor,
  this.noiseColor,
  this.backgroundImageProvider,
  this.backgroundGradient,
  this.backgroundFit = BoxFit.cover,
  this.backgroundAlignment = Alignment.center,
});