scheduleViewMonthHeaderBuilder property Null safety

ScheduleViewMonthHeaderBuilder? scheduleViewMonthHeaderBuilder
final

A builder that builds a widget, replace the schedule month header widget in calendar schedule view.

See also:

@override
 Widget build(BuildContext context) {
   return Scaffold(
       body: Container(
           child: SfCalendar(
     view: CalendarView.schedule,
     scheduleViewMonthHeaderBuilder: (BuildContext buildContext,
              ScheduleViewMonthHeaderDetails details) {
       return Container(
         color: Colors.red,
         child: Text(
           details.date.month.toString() + ' ,' +
              details.date.year.toString(),
         ),
       );
     },
   )));
 }

Implementation

final ScheduleViewMonthHeaderBuilder? scheduleViewMonthHeaderBuilder;