locale_switcher 0.9.6 copy "locale_switcher: ^0.9.6" to clipboard
locale_switcher: ^0.9.6 copied to clipboard

A widget for switching the locale of your application with 2 lines of code.

Changelog #

0.9.6 #

  • created package locale_switcher_dev which can generate this package dynamically. which required a few more lines to set up, but allow you to control what flags are included (or none) and which packages it depend on (or none).

0.9.5 #

  • remove LocaleSwitcher.toggle and it dependencyanimated_toggle_switch,
  • instead of LocaleSwitcher.toggle use LocaleSwitcher.custom with animated_toggle_switch as shown in example,
  • new option shape for LocaleSwitcher,
  • use generated icon resources, preparing to use build_runner.

0.9.4 #

  • new LocaleSwitcher.segmentedButton,
  • added showLeading for LocaleSwitch.menu,
  • fix docs.

0.9.3 #

  • allow to use letters instead of country's flags

0.9.2 #

  • rename LocaleManager.realLocaleNotifier to LocaleManager.languageCode.

0.9.1 #

  • update documentation,
  • cleanup dependencies.

0.8.4 #

  • use LocaleSwitcher.iconButton instead of SelectLocaleButton.

0.8.1 #

  • update documentation,
  • new tests.

0.7.2 #

  • provides a LocaleManager.realLocaleNotifier to dynamically change locale (and LocaleManager.localeNotifier to listen to locale changes),
  • factory constructors for LocaleSwitcher: LocaleSwitcher.toggle, LocaleSwitcher.menu or LocaleSwitcher.custom,
  • various...

0.6.4 #

  • added a lot of parameters,
  • update icons.

0.5.0 #

  • added tooltips,
  • update docs and icons.

0.4.3 #

  • added SelectLocaleButton,
  • added function showSelectLocaleDialog.

0.3.3 #

  • added new parameter: reassignFlags (to change what language had what flag).

0.2.2 #

  • Update docs, added example.

0.1.0 #

  • Initial release.
3
likes
0
pub points
57%
popularity

Publisher

unverified uploader

A widget for switching the locale of your application with 2 lines of code.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg, shared_preferences

More

Packages that depend on locale_switcher