dayTextStyle property

TextStyle? dayTextStyle
final

The text style for the day text in the day label of 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(
           dayHeaderSettings: DayHeaderSettings(
         dayTextStyle: TextStyle(
           fontSize: 10,
           fontWeight: FontWeight.w300,
           color: Colors.white,
         ),
       )),
     ),
   );
 }

Implementation

final TextStyle? dayTextStyle;