LineBarVisualizer constructor

LineBarVisualizer({
  1. required List<double> data,
  2. required Color color,
  3. int gap = 2,
})

Implementation

LineBarVisualizer({
  required this.data,
  required this.color,
  this.gap = 2,
}) : wavePaint = Paint()
        ..color = color.withOpacity(1.0)
        ..style = PaintingStyle.fill;