width property

double width
final

Customizes the line width of the sparkline chart.

Defaults to 2.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkLineChart(
     width: 4,
     data: <double>[18, 24, 30, 14, 28],
   )),
 );
}

Implementation

final double width;