BarChart constructor
const
BarChart({})
Creates a BarChart widget.
The dataset parameter is required and must contain at least one DataItem.
All other parameters have sensible defaults.
Implementation
const BarChart({
super.key,
required this.dataset,
this.title = '',
this.showTitle = true,
this.showLabels = true,
this.showLegend = false,
this.showLines = true,
this.onBarTap = _defaultOnTap,
this.datasetOrdering,
});