color property

Color? color
final

Customizes the spark bar chart color.

Defaults to Colors.blue.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkBarChart(
     color: Colors.blue
      )
    ),
 );
}

Implementation

final Color? color;