GlassVariantConstants constructor

const GlassVariantConstants({
  1. required double blurSigma,
  2. double blurSizeRef = 0,
  3. double frostWideSigma = 0,
  4. double frostWideMixEdge = 0,
  5. double frostWideMixCentre = 0,
  6. double frostWideSizeRef = 0,
  7. double frostWideSizeDrop = 0,
  8. List<double> toneKnots = identityToneKnots,
  9. List<double> smallToneKnots = identityToneKnots,
  10. double smallSizeLo = 0,
  11. double smallSizeHi = 0,
  12. double postJacobianMax = 4,
  13. double ambientMix = 0,
  14. double ambientReach = 0,
  15. double toneLumaMix = 0,
  16. double glowStrength = 0.25,
  17. double postBlurShare = 0,
  18. double normalRadiusScale = 1,
  19. double lensEdge = 0,
  20. double lensEdgeDecay = 0.6,
  21. double rimMix = 0,
  22. double rimMixWidth = 1.5,
  23. double rimMixCut = 1,
  24. double rimMixLumaFloor = 1,
  25. double toneLift = 0,
  26. double blurAspectPower = 0,
  27. double rimBack = 0.35,
  28. double lensVertical = 0,
  29. double rimTint = 0,
  30. double rimHue = 0,
  31. double toneLiftKnee = 0.5,
  32. double toneLiftSizeRef = 0,
  33. required double lensBand,
  34. required double lensStrength,
  35. required double lensDecay,
  36. required double lensSizeRef,
  37. required double dispersion,
  38. required double rimWidth,
  39. required double rimIntensity,
  40. required Color fillColor,
  41. required double fillOpacity,
  42. double fillSizeRef = 0,
  43. double fillSizeDrop = 0,
  44. required double saturation,
  45. required double dim,
  46. required double shadowRadius,
  47. required double shadowOpacity,
  48. required double tintStrength,
})

Creates variant constants.

Implementation

const GlassVariantConstants({
  required this.blurSigma,
  this.blurSizeRef = 0,
  this.frostWideSigma = 0,
  this.frostWideMixEdge = 0,
  this.frostWideMixCentre = 0,
  this.frostWideSizeRef = 0,
  this.frostWideSizeDrop = 0,
  this.toneKnots = identityToneKnots,
  this.smallToneKnots = identityToneKnots,
  this.smallSizeLo = 0,
  this.smallSizeHi = 0,
  this.postJacobianMax = 4,
  this.ambientMix = 0,
  this.ambientReach = 0,
  this.toneLumaMix = 0,
  this.glowStrength = 0.25,
  this.postBlurShare = 0,
  this.normalRadiusScale = 1,
  this.lensEdge = 0,
  this.lensEdgeDecay = 0.6,
  this.rimMix = 0,
  this.rimMixWidth = 1.5,
  this.rimMixCut = 1,
  this.rimMixLumaFloor = 1,
  this.toneLift = 0,
  this.blurAspectPower = 0,
  this.rimBack = 0.35,
  this.lensVertical = 0,
  this.rimTint = 0,
  this.rimHue = 0,
  this.toneLiftKnee = 0.5,
  this.toneLiftSizeRef = 0,
  required this.lensBand,
  required this.lensStrength,
  required this.lensDecay,
  required this.lensSizeRef,
  required this.dispersion,
  required this.rimWidth,
  required this.rimIntensity,
  required this.fillColor,
  required this.fillOpacity,
  this.fillSizeRef = 0,
  this.fillSizeDrop = 0,
  required this.saturation,
  required this.dim,
  required this.shadowRadius,
  required this.shadowOpacity,
  required this.tintStrength,
});