AxisCoordinates constructor

const AxisCoordinates({
  1. required double start,
  2. required double end,
})

Implementation

const AxisCoordinates({
  required this.start,
  required this.end,
})  : size = end - start,
      assert(
        end >= start,
        'The end coordinate must be bigger or equals than the start coordinate',
      );