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