BarStack constructor

const BarStack({
  1. required double x,
  2. required List<Bar> bars,
  3. double width = 8,
  4. BorderRadius borderRadius = BorderRadius.zero,
})

Creates a BarStack with the specified parameters.

Implementation

const BarStack({
  required super.x,
  required this.bars,
  this.width = 8,
  this.borderRadius = BorderRadius.zero,
});