of static method

AppLocale of(
  1. BuildContext context
)

Get the current AppLocale instance for the context

Implementation

static AppLocale of(BuildContext context) =>
    Localizations.of<AppLocale>(context, AppLocale)!;