color property

Color color
final

Customizes the spark win loss chart color.

Defaults to blue.

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

Implementation

final Color color;