of static method

Translations of(
  1. BuildContext context
)

Returns the current translations of the given context.

Usage: final t = Translations.of(context);

Implementation

static Translations of(BuildContext context) => InheritedLocaleData.of<AppLocale, Translations>(context).translations;