VisualizerConfig constructor

const VisualizerConfig({
  1. List<Color> colors = const [Color(0xFF00EFFF), Color(0xFF0077FF), Color(0xFF8A2BE2)],
  2. double thickness = 10.0,
  3. double glow = 2.0,
  4. double radius = 12.0,
  5. double intensity = 0.95,
  6. double smoothing = 0.80,
  7. double peakDecay = 0.25,
  8. String frequencyMap = "log",
})

Implementation

const VisualizerConfig({
  this.colors = const [
    Color(0xFF00EFFF),
    Color(0xFF0077FF),
    Color(0xFF8A2BE2),
  ],
  this.thickness = 10.0,
  this.glow = 2.0,
  this.radius = 12.0,
  this.intensity = 0.95,
  this.smoothing = 0.80,
  this.peakDecay = 0.25,
  this.frequencyMap = "log",
});