showDatePickerButton property Null safety

bool showDatePickerButton
final

Displays the date picker when the SfCalendar header date is tapped.

The date picker will be used for quick date navigation in SfCalendar. It also shows Today navigation button on header view.

Defaults to false.

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
     view: CalendarView.day,
     showDatePickerButton: true,
     ),
   );
 }

Implementation

final bool showDatePickerButton;