of static method
Returns the localized resources object of type MPLocalizations for the
widget tree that corresponds to the given context
.
Returns null
if no resources object of type MPLocalizations exists within
the given context
.
Implementation
static MPLocalizations? of(BuildContext context) =>
Localizations.of<MPLocalizations>(context, MPLocalizations);