borderColor property
Customizes the border color of each rectangular column segment. The border will be rendered on the top of the spark area chart. To render the border, both the borderWidth and borderColor property needs to be set.
Defaults to null
.
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfSparkBarChart(
borderColor: Colors.black
)
),
);
}
Implementation
final Color? borderColor;