selectionShape property Null safety

DateRangePickerSelectionShape selectionShape

Defines the shape for the selection view in SfHijriDateRangePicker.

If this property set as DateRangePickerSelectionShape.rectangle the widget will render the date selection in the rectangle shape in month view.

Defaults to

Note: When the view set with any other view than DateRangePickerView.month the today cell highlight shape will be determined by this property.

If the DateRangePickerSelectionShape is set as, then the circle radius can be adjusted in month view by using the selectionRadius property.

See also:

Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfHijriDateRangePicker(
         view: HijriDatePickerView.month,
         selectionMode: DateRangePickerSelectionMode.multiple,
         showNavigationArrow: true,
         selectionShape: DateRangePickerSelectionShape.rectangle,


final DateRangePickerSelectionShape selectionShape;