AppLang class Null safety
facilitate controlling the localization process
Constructors
- AppLang()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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 Properties
- baseLoader → NationsLoader
-
- base translation loader
read-only - config → LangConfig
-
- return current
LangConfig
read-only - return current
- country → String?
-
- return current locale country code
read-only - current → Locale
-
- return the current locale
read-only - fallbackLocale → Locale
-
- return fallback locale
read-only - firstTimeLocale → Locale
-
- return first time locale
read-only - key → String
-
- return current locale language code
read-only - name → String
-
read-only
-
supportedLocales
→ List<
Locale> -
- return supported
Locale
listread-only - return supported
-
translations
→ Map<
String, Object?> -
return loaded locale translation assets
read-only
- window → Locale
-
- return the current window locale
read-only