placeholderTextStyle property

TextStyle placeholderTextStyle
final

The text style for the text in the placeholder (no event text) of the SfCalendar schedule view.

See also:


Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: const ScheduleViewSettings(
           placeholderTextStyle: TextStyle(
               color: Colors.white,
               fontSize: 20,
              backgroundColor: Colors.red)),
     ),
   );
 }

Implementation

final TextStyle placeholderTextStyle;