of static method

Implementation

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