cardinalSplineTension property Null safety

double cardinalSplineTension
final

Line tension of the cardinal spline. The value ranges from 0 to 1.

Defaults to 0.5.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <SplineSeries<SalesData, num>>[
      SplineSeries<SalesData, num>(
        cardinalSplineTension: 0.4,
      ),
    ],
  );
}

Implementation

final double cardinalSplineTension;