of static method
Implementation
static CalendarText of(BuildContext context) {
final inheritedOptions =
context.dependOnInheritedWidgetOfExactType<InheritedCalendarText>();
return inheritedOptions?.text ?? const CalendarText();
}
static CalendarText of(BuildContext context) {
final inheritedOptions =
context.dependOnInheritedWidgetOfExactType<InheritedCalendarText>();
return inheritedOptions?.text ?? const CalendarText();
}