of static method
Implementation
static NomoElevationThemeDataNullable of(BuildContext context) {
final result = context
.dependOnInheritedWidgetOfExactType<NomoElevationThemeOverride>();
assert(result != null, 'No ThemeInfo found in context');
return result!.data;
}