borderWidth property

double borderWidth

Customizes the border width of the spark area chart. The border will be rendered on the top of the spark area chart. To render the border, both the border width and border color property needs to be set.

Defaults to 0.

Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     borderWidth: 2,


final double borderWidth;