curveBundleBeta function Curves
Returns a bundle curve with the specified beta
in the range [0, 1],
representing the bundle strength.
If beta
equals zero, a straight line between the first and last point is
produced; if beta
equals one, a standard basis see curveBasis spline is
produced. For example:
final line = Line(…)..curve = curveBundleBeta(0.5);
Implementation
CurveFactory curveBundleBeta(num beta) => (Path context) =>
beta == 1 ? curveBasis(context) : CurveBundle(context, beta);