of static method

TimeController? of(
  1. BuildContext context
)

Implementation

static TimeController? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<DefaultTimeController>()
      ?.controller;
}