of static method

Implementation

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