GlassThemeSettings constructor

const GlassThemeSettings({
  1. double? visibility,
  2. Color? glassColor,
  3. double? thickness,
  4. double? blur,
  5. double? chromaticAberration,
  6. double? lightAngle,
  7. double? lightIntensity,
  8. double? ambientStrength,
  9. double? fresnelStrength,
  10. double? refractiveIndex,
  11. double? saturation,
  12. GlassSpecularSharpness? specularSharpness,
  13. double? edgeAbsorption,
})

Creates a partial settings override.

Every parameter is optional. Omitted (null) parameters leave the corresponding property on the target widget unchanged.

Implementation

const GlassThemeSettings({
  this.visibility,
  this.glassColor,
  this.thickness,
  this.blur,
  this.chromaticAberration,
  this.lightAngle,
  this.lightIntensity,
  this.ambientStrength,
  this.fresnelStrength,
  this.refractiveIndex,
  this.saturation,
  this.specularSharpness,
  this.edgeAbsorption,
});