Bar constructor

const Bar({
  1. Key? key,
  2. required Size size,
  3. required ChartData<LabelData, num> data,
  4. required num maxValue,
  5. required TextStyle labelStyle,
  6. required bool showLabel,
  7. required bool enableShadow,
  8. String? label,
})

Implementation

const Bar({
  Key? key,
  required this.size,
  required this.data,
  required this.maxValue,
  required this.labelStyle,
  required this.showLabel,
  required this.enableShadow,
  this.label,
}) : super(key: key);