FloaticaGlassEffect constructor

const FloaticaGlassEffect({
  1. double blur = 10.0,
  2. double opacity = 0.2,
  3. Color? tintColor,
  4. Gradient? gradient,
  5. Color? borderColor,
  6. double borderWidth = 1.0,
  7. bool enableShadow = true,
  8. Color? shadowColor,
  9. double shadowBlur = 10.0,
  10. double shadowSpread = 0.0,
  11. bool specularHighlight = false,
  12. bool innerShadow = false,
  13. double saturationBoost = 1.0,
  14. double noiseOpacity = 0.0,
  15. LiquidGlassVariant variant = LiquidGlassVariant.regular,
})

Creates a glassmorphism effect configuration.

Implementation

const FloaticaGlassEffect({
  this.blur = 10.0,
  this.opacity = 0.2,
  this.tintColor,
  this.gradient,
  this.borderColor,
  this.borderWidth = 1.0,
  this.enableShadow = true,
  this.shadowColor,
  this.shadowBlur = 10.0,
  this.shadowSpread = 0.0,
  this.specularHighlight = false,
  this.innerShadow = false,
  this.saturationBoost = 1.0,
  this.noiseOpacity = 0.0,
  this.variant = LiquidGlassVariant.regular,
});