LensSpec constructor

const LensSpec({
  1. required double strength,
  2. required double dispersion,
  3. required double depth,
  4. double dome = 0,
  5. double splay = 1,
  6. bool relative = false,
  7. bool bezel = false,
  8. double? maxDepth,
  9. bool ink = false,
  10. double blur = 0,
  11. bool paintsLight = false,
  12. double? darkStrength,
})

Creates a lens that bends by strength over a band depth wide.

Implementation

const LensSpec({
  required this.strength,
  required this.dispersion,
  required this.depth,
  this.dome = 0,
  this.splay = 1,
  this.relative = false,
  this.bezel = false,
  this.maxDepth,
  this.ink = false,
  this.blur = 0,
  this.paintsLight = false,
  this.darkStrength,
});