BarChart constructor

const BarChart({
  1. Key? key,
  2. required List<ChartValue> data,
  3. required ShapeBorder shape,
  4. double thickness = 20,
  5. double? spacing,
})

Base class for all bar chart widgets.

Implementation

const BarChart({
  super.key,
  required super.data,
  required this.shape,
  this.thickness = 20,
  this.spacing,
});