of static method

NomoThemeData of(
  1. BuildContext context
)

Implementation

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