of static method

Implementation

static CustomInheritedWidget? of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType();