of static method

Implementation

static NeumorphicThemeInherited? of(BuildContext context) {
  try {
    return context
        .dependOnInheritedWidgetOfExactType<NeumorphicThemeInherited>();
  } catch (t) {
    return null;
  }
}