axisLineColor property

Color axisLineColor
final

Customizes the color of the axis line. Colors.transparent can be set to axisLineColor to hide the axis line.

Defaults to Colors.black.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkBarChart(
     axisLineColor: Colors.red,
     data: <double>[18, 24, 30, 14, 28],
      )
    ),
 );
}

Implementation

final Color axisLineColor;