locale_switcher_dev 1.3.1 locale_switcher_dev: ^1.3.1 copied to clipboard
A minimalistic widget for switching the locale of your application with 4 lines of code.
Changelog #
1.3.1 #
- sync with
locale_switcher
1.2.6 #
- sync with
locale_switcher
- update docs
1.2.2 #
-
sync with
locale_switcher
-
Added a lot of languages,
-
Added graceful ways to display Locales for countries with multiple languages, for this purpose added these parameters to [LocaleSwitcher]:
- [MultiLangCountries] - enum to select how to display countries with multiple languages,
- [countriesWithMulti] - list of such countries, add you own here,
- [popularInCountry] - for [MultiLangCountries.auto] - country most popular language,
- [multiLangWidget] (default to [MultiLangFlag]),
- [multiLangForceAll] - force all flags to be displayed via multiLangWidget.
1.1.1 #
- LocaleSwitch support emoji,
- improve sizes calculation,
- width option for LocaleSwitch menu and segmentedButton constructors,
- fix minor bug in LocaleSwitch.menu,
- fix easy_localization bug,
- map languageToCountry now public.
1.0.0 #
- no breaking changes - v1.0 just to indication what it is stable,
- all major localization system tested (intl, easy_localization, slang), and have examples.
0.12.1 #
- sync with
locale_switcher
: - Extension Locale.flag,
- helper TitleForLocaleSwitch,
- LocaleMatcher,
- hide CurrentLocale use LocaleSwitcher instead.
0.11.4 #
- sync with
locale_switcher
: - LocaleSwitcher.setLocaleCallBack - your callBack after selecting locale,
- LocaleSwitcher.localeBestMatch - return best match in supportedLocales for LocaleSwitcher.locale,
- easy_localization status: tested,
- docs update.
0.10.2 #
- sync with
locale_switcher
.
0.9.8 #
- minor fix.
0.9.7 #
shared_preferences
is now also optional.
0.9.6 #
- Initial release, because it share code with package
locale_switcher
- versions will stay in sync, - package
locale_switcher_dev
dynamically generatelocale_switcher
package!, - which allow you to control what flags are included (or none) and which packages it depend on (or none).