of static method

Implementation

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