cellDecoration property Null safety

Decoration? cellDecoration

The decoration for the month cells of SfDateRangePicker month view.

Defaults to null.

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

See also:

Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         controller: _pickerController,
         view: DateRangePickerView.month,
         enablePastDates: false,
         selectionMode: DateRangePickerSelectionMode.multiRange,
         monthCellStyle: DateRangePickerMonthCellStyle(
           cellDecoration: BoxDecoration(
               color: Colors.blueGrey.withOpacity(0.4),
               border: Border.all(color: const Color(0xFF2B732F),
                    width: 1),
              shape: BoxShape.circle),


final Decoration? cellDecoration;