of static method

Implementation

static ControllerWidget of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<ControllerWidget>()!;
}