BarChart constructor

const BarChart({
  1. Key? key,
  2. required List<double> data,
  3. List<String>? labels,
  4. double height = 180,
  5. Color? color,
  6. bool showValues = false,
  7. bool rounded = true,
  8. Color? valuesColor,
})

Implementation

const BarChart({
  super.key,
  required this.data,
  this.labels,
  this.height = 180,
  this.color,
  this.showValues = false,
  this.rounded = true,
  this.valuesColor,
});