timeZone property

String? timeZone
final

The time zone for SfCalendar to function.

If the Appointment.startTimeZone and Appointment.endTimeZone set as null the appointments will be displayed in UTC time based on the time zone set to this property.

If the Appointment.startTimeZone and Appointment.endTimeZone set as not null the appointments will be displayed based by calculating the appointment's startTimeZone and endTimeZone based on the time zone set to this property.

Defaults to null.

See also:


Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.week,
       timeZone: 'Atlantic Standard Time',
     ),
   );
 }

Implementation

final String? timeZone;