placeholderTextStyle property

TextStyle placeholderTextStyle
final

The text style for the text in the placeholder (no event text and no selected date text) of the SfCalendar month agenda view.

See also:


Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.month,
       monthViewSettings: const MonthViewSettings(showAgenda: true,
         agendaStyle: AgendaStyle(
            placeholderTextStyle:TextStyle(
                color: Colors.white,
                fontSize: 20,
                backgroundColor:
                Colors.red),)),
     ),
   );
 }

Implementation

final TextStyle placeholderTextStyle;