init method

void init({
  1. required BoundingBox bounds,
  2. required List<ChartItem> items,
  3. required double contentWidth,
})

Implementation

void init({
  required BoundingBox bounds,
  required List<ChartItem> items,
  required double contentWidth,
}) {
  _bounds = bounds;
  _items = items;
  _contentWidth = contentWidth;
}