borderWidth property

double borderWidth
final

Customizes the border width of the plot band. To make border visible for plot band, need to set both the border color and border width.

Defaults to 0.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     plotBand: SparkChartPlotBand(start: 15, end: 25,
     borderWidth: 2),
     data: <double>[18, 24, 30, 14, 28],
          )
       ),
   );
}

Implementation

final double borderWidth;