maybeOf static method

AppLocalizations? maybeOf(
  1. BuildContext context
)

Whether translations exist for the current locale.

Implementation

static AppLocalizations? maybeOf(BuildContext context) =>
    Localizations.of<AppLocalizations>(context, AppLocalizations);