tension property Null safety

double tension
final

The "tension" of the curve.

The tension attribute controls how tightly the curve approaches the given controlPoints. It must be in the range 0.0 to 1.0, inclusive. It is optional, and defaults to 0.0, which provides the smoothest curve. A value of 1.0 is equivalent to a linear interpolation between control points.

Implementation

final double tension;