of static method

Implementation

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