FloaticaGlassEffect constructor
const
FloaticaGlassEffect({
- double blur = 10.0,
- double opacity = 0.2,
- Color? tintColor,
- Gradient? gradient,
- Color? borderColor,
- double borderWidth = 1.0,
- bool enableShadow = true,
- Color? shadowColor,
- double shadowBlur = 10.0,
- double shadowSpread = 0.0,
- bool specularHighlight = false,
- bool innerShadow = false,
- double saturationBoost = 1.0,
- double noiseOpacity = 0.0,
- 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,
});