of static method

The words in scope, from the delegate.

Falls back to en when the delegate was never registered, rather than throwing: a widget kit has to draw in any application, wired up or not.

Prefer context.seedLocale, which also honours ConfigProvider.

Implementation

static SeedLocalizations of(BuildContext context) =>
    Localizations.of<SeedLocalizations>(context, SeedLocalizations) ?? en;