GlassThemeSettings constructor

const GlassThemeSettings({
  1. double? visibility,
  2. Color? glassColor,
  3. double? thickness,
  4. double? blur,
  5. double? frost,
  6. double? frostOpacity,
  7. double? frostClamp,
  8. double? frostWeight,
  9. double? blurWeight,
  10. double? chromaticAberration,
  11. double? lightAngle,
  12. double? lightIntensity,
  13. double? ambientStrength,
  14. double? fresnelStrength,
  15. double? refractiveIndex,
  16. double? saturation,
  17. GlassSpecularSharpness? specularSharpness,
  18. double? edgeAbsorption,
  19. double? rimShade,
  20. double? rimShadeEnds,
  21. double? rimLight,
  22. double? bodyShade,
  23. GlassLensModel? lensModel,
})

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.frost,
  this.frostOpacity,
  this.frostClamp,
  this.frostWeight,
  this.blurWeight,
  this.chromaticAberration,
  this.lightAngle,
  this.lightIntensity,
  this.ambientStrength,
  this.fresnelStrength,
  this.refractiveIndex,
  this.saturation,
  this.specularSharpness,
  this.edgeAbsorption,
  this.rimShade,
  this.rimShadeEnds,
  this.rimLight,
  this.bodyShade,
  this.lensModel,
});