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
      )
    ),
 );
}

Implementation

final double width;