selectionRectColor property Null safety

Color? selectionRectColor
final

Color of the selection zooming rectangle.

It used to change the background color of the selection rectangle.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          zoomPanBehavior: ZoomPanBehavior(
            enableSelectionZooming: true, selectionRectColor: Colors.yellow),
       ));
}

Implementation

final Color? selectionRectColor;