of<T extends CalendarEvent> static method
Implementation
static CalendarStyle<T> of<T extends CalendarEvent>(BuildContext context) {
final inheritedOptions =
context.dependOnInheritedWidgetOfExactType<InheritedCalendarStyle<T>>();
return inheritedOptions?.style ?? const CalendarStyle();
}