LiquidGlassStyle constructor
const
LiquidGlassStyle({
- required Color tint,
- double contrast = 0,
- double blur = 2.5,
- double haze = 0,
- double hazeBlur = 0,
- double refraction = 60,
- double bevel = 20,
- double saturation = 1.5,
- double brightness = 1,
- double rim = 0.6,
- double rimWidth = 1.3,
- double rimTail = 0,
- double rimFocus = 0,
- double rimAdded = 0,
- double endShade = 0,
- double dispersion = 0,
- double rimBlur = 0,
- double hairline = 0,
- double? hairlineSide,
Implementation
const LiquidGlassStyle({
required this.tint,
this.contrast = 0,
this.blur = 2.5,
this.haze = 0,
this.hazeBlur = 0,
this.refraction = 60,
this.bevel = 20,
this.saturation = 1.5,
this.brightness = 1,
this.rim = 0.6,
this.rimWidth = 1.3,
this.rimTail = 0,
this.rimFocus = 0,
this.rimAdded = 0,
this.endShade = 0,
this.dispersion = 0,
this.rimBlur = 0,
this.hairline = 0,
this.hairlineSide,
});