LokotroLocalizationService class

Service for managing localization in Lokotro Pay plugin

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getCurrentLocale(BuildContext context) Locale
Get the current locale from context
getFlagAsset(String languageCode) String
Get flag asset path for locale
getLanguageName(String languageCode) String
Get language name from locale code
getLocalizations(BuildContext context) LokotroPayLocalizations?
Get localized strings from context
getSupportedLanguages() List<Map<String, String>>
Get supported languages list with details
isLocaleSupported(Locale locale) bool
Check if a locale is supported
localeResolutionCallback(Locale? locale, Iterable<Locale> supportedLocales) Locale?
Get the best matching locale for a given locale