monthTextStyle property

TextStyle? monthTextStyle
final

The text style for the text in the month text of month label SfCalendar schedule view.

Defaults to null.

Using a SfCalendarTheme gives more fine-grained control over the appearance of various components of the calendar.

See also:


@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
           monthHeaderSettings: MonthHeaderSettings(
               monthTextStyle: TextStyle(
                   color: Colors.black,
                   fontSize: 20,
                   fontWeight: FontWeight.w400,))),
     ),
   );
 }

Implementation

final TextStyle? monthTextStyle;