Creates a cardinal curve with the given tension.
Curve curveCardinal({double tension = 0}) => CurveCardinal(tension: tension);