color property

Color color
final

Customizes the spark area chart color.

Defaults to Colors.blue.

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

Implementation

final Color color;