Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that provides a language picker dropdown and dialog for selecting languages. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package allows users to easily choose from a list of languages with localized names, making it ideal for internationalization in apps. It integrates seamlessly into Flutter projects and offers customizable UI options. The source code is publicly available on GitHub for transparency and contribution.
Use cases
Internationalized app interfaces
User language selection
Multilingual support in mobile and web apps
Language switching in settings
Localization setup in Flutter apps
Key features
Dropdown and dialog language selection
Support for multiple platforms
Localized language names
Easy integration with Flutter
Customizable UI components
Open-source on GitHub
Suitable for
Developers building multilingual apps
Apps requiring user language preference
Projects using Flutter for cross-platform development
Teams managing localization workflows
UI designers needing language pickers
Considerations
Requires manual handling of language change logic
Limited to language selection, not full i18n implementation
May need additional packages for translation management
Not optimized for very large language lists
No built-in fallback for missing translations
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
language_picker
Provides a dropdown and dialog to select a language.
Originally made by @gomgom at https://pub.dev/packages/language_pickers. As of May 2021, this project has had no activity for more than a year and does not compile anymore. So I am shamelessly republishing it. :) I've also improved the API and fixed a few issues along the way.
Getting Started
Finding languages
by name: Languages.korean
by ISO code: Language.fromIsoCode('fr')
preset languages: Languages.defaultLanguages
Minimal example
This will use the default builder and default list of languages.
// Pre-selected language is French.final controller = LanguagePickerDropdownController(Languages.french);
final picker = LanguagePickerDropdown(
controller: controller,
languages: [Languages.english, Languages.french, Languages.norwegian],
);
// In some other method: Force it to switch to Norwegian.
controller.value = Languages.norwegian;