Day View

I am trying to achieve a schedule view of a 24 hours cycle. How do I achieve it using SyncFusion Calendar, Day view ?

I would like to display the view from 8am to the next day's 8am (24 hours)

My current code is as of below, please advice on what I can do, thank you so much in advance !


SfCalendar(
//headerHeight: 100.0,
//view: CalendarView.day,
view:CalendarView.day,
backgroundColor:Colors.transparent,
blackoutDatesTextStyle:constTextStyle(color:Colors.white),
todayTextStyle:constTextStyle(color:Colors.white),
cellBorderColor:Colors.grey,
headerStyle:constCalendarHeaderStyle(
textStyle:TextStyle(color:Colors.amber),
),
timeSlotViewSettings:constTimeSlotViewSettings(
startHour:7,
endHour:24,
timeTextStyle:TextStyle(color:Colors.white),
),
);

1 Reply

IR Indumathi Ravichandran Syncfusion Team October 20, 2021 07:40 AM UTC

Hi Sean,

Thank you for contacting Syncfusion support.

Based on the shared information, we have checked and your requirement is “To display the next day time in current view of the Flutter Calendar”. As per the implementation of the calendar day view intented to displays only the single date, and we can get the current display date details using the onViewChanged callback, so we can’t show the next view date time in current date and that's the behavior of calendar, there is no support for your requirement.
Please let us know if you require any other assistance, we will be happy to assist you.

Regards,
Indumathi R



Loader.
Up arrow icon