rangeSelectionColor property

Color? rangeSelectionColor
final

The color which fills the SfHijriDateRangePicker selection view for the range of dates which falls between the HijriDateRange.startDate and HijriDateRange.endDate.

The color fills to the selection view of the dates in between the HijriDateRange.startDate and HijriDateRange.endDate property.

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.range of DateRangePickerSelectionMode.multiRange.

See also:


 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         controller: _pickerController,
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.range,
         rangeSelectionColor: Colors.red.withOpacity(0.4),
       ),
     ),
   );
 }

Implementation

final Color? rangeSelectionColor;