of static method

Resolves the package translation from context.

If SuperTableTranslation is not registered in the widget tree, an explicit English implementation is returned. This avoids inheriting an unrelated process-wide Intl.defaultLocale.

Implementation

static SuperTableTranslation of(BuildContext context) =>
    SuperTableTranslation.maybeOf(context) ?? _englishFallback;