weekTextStyle property Null safety

TextStyle? weekTextStyle
final

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

Defaults to null.

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


@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
           weekHeaderSettings: WeekHeaderSettings(
               weekTextStyle: TextStyle(
                    color: Colors.black, fontSize: 15))),
     ),
   );
 }

Implementation

final TextStyle? weekTextStyle;