of<T extends CalendarEvent> static method
Implementation
static CalendarEventModalOptions<T> of<T extends CalendarEvent>(
BuildContext context) {
final inheritedOptions = context.dependOnInheritedWidgetOfExactType<
InheritedCalendarEventModalOptions<T>>();
return inheritedOptions?.options ?? CalendarEventModalOptions<T>();
}