midpoint property Null safety

Offset midpoint
final

The coordinates of the middle shared point.

The curve will go through this point. If the control points surrounding this middle point (b1, and a2) are not colinear with this point, then the curve's derivative will have a discontinuity (a cusp) at this point.

Implementation

final Offset midpoint;