MusicVisualizer constructor

const MusicVisualizer({
  1. Key? key,
  2. int linesCount = 10,
  3. List<Color> colors = const [Colors.white, Colors.black],
  4. List<int> durations = const [900, 300, 800, 600, 400, 500],
  5. double lineWidth = 10,
  6. List<double> heights = const [1, .6],
})

Implementation

const MusicVisualizer({
  Key? key,
  this.linesCount = 10,
  this.colors = const [Colors.white, Colors.black],
  this.durations = const [900, 300, 800, 600, 400, 500],
  this.lineWidth = 10,
  this.heights = const [1, .6],
}) : super(key: key);