color property

Color? color
final

Customizes the spark win loss chart color.

Defaults to Colors.blue.

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

Implementation

final Color? color;