RadarEffectConfig constructor

const RadarEffectConfig({
  1. Color ringColor = const Color(0xFFFFFFFF),
  2. Color bgColor1 = const Color.fromARGB(255, 66, 98, 9),
  3. Color bgColor2 = const Color.fromARGB(255, 43, 137, 0),
  4. Color bgColor3 = const Color(0xFFAAE040),
  5. int ringCount = 3,
  6. double speed = 1.0,
  7. double ringWidth = 0.008,
  8. double maxRadius = 0.45,
  9. double noiseAmount = 0.0,
  10. double ringOpacity = 0.7,
})

Creates a RadarEffectConfig.

Implementation

const RadarEffectConfig({
  this.ringColor = const Color(0xFFFFFFFF),
  this.bgColor1 = const Color.fromARGB(255, 66, 98, 9),
  this.bgColor2 = const Color.fromARGB(255, 43, 137, 0),
  this.bgColor3 = const Color(0xFFAAE040),
  this.ringCount = 3,
  this.speed = 1.0,
  this.ringWidth = 0.008,
  this.maxRadius = 0.45,
  this.noiseAmount = 0.0,
  this.ringOpacity = 0.7,
});