BarGraphPainter constructor Null safety

BarGraphPainter(
  1. {List<BarDataDay>? barItemsDay,
  2. bool isBiDirectional = false,
  3. double barWidth = 20.0,
  4. int hourCntInDay = 1,
  5. bool isGroupAvg = true,
  6. bool yLabelVisible = false,
  7. bool horizontalLineVisible = true,
  8. Cow? cow}
)

Implementation

BarGraphPainter({
  this.barItemsDay,
  this.isBiDirectional = false,
  this.barWidth = 20.0,
  this.hourCntInDay = 1,
  this.isGroupAvg = true,
  this.yLabelVisible = false,
  this.horizontalLineVisible = true,
  this.cow,
});