hideEmptyScheduleWeek property
Hides the weeks that doesn’t contain appointment on it.
Defaults to false.
See more:
- weekHeaderSettings, which used to customize the week header view of the schedule view in calendar.
- appointmentItemHeight, which is the size for the appointment view in the schedule view of calendar.
- Knowledge base: How to customize day, week, month header of schedule view
- Knowledge base: How to customize schedule view month header with builder
- Knowledge base: How to view schedule
- Knowledge base: How to customize the schedule view
@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
         hideEmptyScheduleWeek: true,
       ),
     ),
   );
 }
Implementation
final bool hideEmptyScheduleWeek;