lastPointColor property Null safety

Color? lastPointColor

Customizes the marker color of the last data point.

If the last data point is either the high data point or low data point, then the priority will be given to lastPointColor property.

Defaults to null.

 Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     marker: SparkChartMarker(displayMode: SparkChartMarkerDisplayMode.all),
     data: <double>[18, 24, 30, 14, 28],


final Color? lastPointColor;