selectionColor property Null safety

Color? selectionColor

The color which fills the SfDateRangePicker selection view.

Defaults to null.

Using a SfDateRangePickerTheme gives more fine-grained control over the appearance of various components of the date range picker.

Note : It is applies only when the DateRangePickerSelectionMode set as DateRangePickerSelectionMode.single of DateRangePickerSelectionMode.multiple.

See more:

 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         controller: _pickerController,
         view: DateRangePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,


final Color? selectionColor;