LiquidGlassStyle constructor

const LiquidGlassStyle({
  1. required Color tint,
  2. double contrast = 0,
  3. double blur = 2.5,
  4. double haze = 0,
  5. double hazeBlur = 0,
  6. double refraction = 60,
  7. double bevel = 20,
  8. double saturation = 1.5,
  9. double brightness = 1,
  10. double rim = 0.6,
  11. double rimWidth = 1.3,
  12. double rimTail = 0,
  13. double rimFocus = 0,
  14. double rimAdded = 0,
  15. double endShade = 0,
  16. double dispersion = 0,
  17. double rimBlur = 0,
  18. double hairline = 0,
  19. 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,
});