of static method

Implementation

static EmbeddingController of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<EmbeddingControllerInheritedWidget>()!.embeddingController;
}