LiquidGlassSettings constructor

const LiquidGlassSettings({
  1. double blendPx = 5,
  2. double refractStrength = -0.06,
  3. double distortFalloffPx = 45,
  4. double distortExponent = 4,
  5. double blurRadiusPx = 0,
  6. double specAngle = 4,
  7. double specStrength = 20.0,
  8. double specPower = 100,
  9. double specWidth = 10,
  10. double lightbandOffsetPx = 10,
  11. double lightbandWidthPx = 30,
  12. double lightbandStrength = 0.9,
  13. Color lightbandColor = Colors.white,
})

Implementation

const LiquidGlassSettings({
  this.blendPx = 5,
  this.refractStrength = -0.06,
  this.distortFalloffPx = 45,
  this.distortExponent = 4,
  this.blurRadiusPx = 0,
  this.specAngle = 4,
  this.specStrength = 20.0,
  this.specPower = 100,
  this.specWidth = 10,
  this.lightbandOffsetPx = 10,
  this.lightbandWidthPx = 30,
  this.lightbandStrength = 0.9,
  this.lightbandColor = Colors.white,
});