borderColor property

Color? borderColor
final

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

Defaults to null.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     trackball: SparkChartTrackball(
     borderColor: Colors.black)
        )
     ),
  );
}

Implementation

final Color? borderColor;