initialSelectedDate property Null safety

DateTime? initialSelectedDate

The date to initially select on the SfCalendar.

The SfCalendar will select the date that set to this property.

Defaults to null.

See also:

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.week,
       initialSelectedDate: DateTime(2019, 12, 12, 11, 0, 0),


final DateTime? initialSelectedDate;