color property

Color? color
final

Customizes the spark line chart color.

Defaults to null.

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

Implementation

final Color? color;