DistortionPulse constructor

DistortionPulse({
  1. Vector2? center,
  2. double radius = 0.0,
  3. double thickness = 0.08,
  4. double strength = 0.02,
  5. double chromaticAberration = 0.5,
})

Implementation

DistortionPulse({
  Vector2? center,
  this.radius = 0.0,
  this.thickness = 0.08,
  this.strength = 0.02,
  this.chromaticAberration = 0.5,
}) : center = center ?? Vector2(0.5, 0.5);