enableSwipeSelection property Null safety

bool enableSwipeSelection

Enables the swipe selection for SfHijriDateRangePicker, which allows to select the range of dates by swiping on the dates.

If it is false selecting a two different dates will form the range of dates by covering the dates between the selected dates.

Defaults to true.

Note: It is only applicable when the DateRangePickerSelectionMode set as DateRangePickerSelectionMode.range or DateRangePickerSelectionMode.multiRange.

See also:

Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         controller: _pickerController,
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.range,
                  enableSwipeSelection: false),


final bool enableSwipeSelection;