of static method

NomoThemeData of(
  1. dynamic context
)

Implementation

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