of static method

String Function(String text)? of(
  1. BuildContext context
)

Implementation

static String Function(String text)? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<NomoTextTranslator>()
      ?.translator;
}