monthCellBuilder property Null safety

MonthCellBuilder? monthCellBuilder
final

A builder that builds a widget, replaces the month cell in the calendar month view.

See also:

@override
 Widget build(BuildContext context) {
   return Scaffold(
       body: Container(
           child: SfCalendar(
     view: CalendarView.month,
     monthCellBuilder:
          (BuildContext buildContext, MonthCellDetails details) {
       return Container(
         color: Colors.red,
         child: Text(
           details.date.day.toString(),
         ),
       );
     },
   )));
 }

Implementation

final MonthCellBuilder? monthCellBuilder;