maxYValue property
double?
maxYValue
The biggest y value for all points.
Will return null
if there are no points.
Implementation
double? get maxYValue => isEmpty ? null : points.map((Point p) => p.offset.dy).reduce(max);