applocale library

Enable support for internationalization (i18n) or different language with json files.

Classes

AppLocale
The fruit of labour that LocaleDelegate produces.
LocaleDelegate
A factory to define application level Localizations.

Functions

getLocale(String unicodeLang) Locale
Get the Locale from the equivalent unicodeLang unicode string value (preferably all lowercase & with _ (underscore) & not - (hyphen) separator). e.g. en => English, en_us => English(USA) etc.

Typedefs

LocaleChangeCallback = Future<bool> Function(Locale locale)
The callback type delegator for LocaleDelegate