of static method
Obtains the nearest KLocalizations up its widget tree and returns its value.
Implementation
static KLocalizations? of(BuildContext context, {bool listen = true}) {
return Localizations.of<KLocalizations>(context, KLocalizations);
}