selectionColor property

Color? selectionColor
final

The color which fills the SfHijriDateRangePicker 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:


@override
 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         controller: _pickerController,
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,
         selectionColor: Colors.red,
       ),
     ),
   );
 }

Implementation

final Color? selectionColor;