GlassThemeSettings constructor
const
GlassThemeSettings({
- double? visibility,
- Color? glassColor,
- double? thickness,
- double? blur,
- double? frost,
- double? frostOpacity,
- double? frostClamp,
- double? frostWeight,
- double? blurWeight,
- double? chromaticAberration,
- double? lightAngle,
- double? lightIntensity,
- double? ambientStrength,
- double? fresnelStrength,
- double? refractiveIndex,
- double? saturation,
- GlassSpecularSharpness? specularSharpness,
- double? edgeAbsorption,
- double? rimShade,
- double? rimShadeEnds,
- double? rimLight,
- double? bodyShade,
- GlassLensModel? lensModel,
- double? shadowElevation,
- List<
BoxShadow> ? shadow,
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,
this.shadowElevation,
this.shadow,
});