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