Fluent2BarChart constructor

const Fluent2BarChart({
  1. required List<Fluent2Bar> bars,
  2. int? highlight,
  3. ValueChanged<int>? onHighlight,
  4. Fluent2ChartHue hue = Fluent2ChartHue.brand,
  5. double height = 160,
  6. String? label,
  7. Key? key,
})

A bar chart of bars.

Implementation

const Fluent2BarChart({
  required this.bars,
  this.highlight,
  this.onHighlight,
  this.hue = Fluent2ChartHue.brand,
  this.height = 160,
  this.label,
  super.key,
});