flutter_bhasha 1.0.2 copy "flutter_bhasha: ^1.0.2" to clipboard
flutter_bhasha: ^1.0.2 copied to clipboard

A production-grade Flutter localization package with dynamic language switching, JSON translations, RTL/LTR support, interpolation, fallback language, persistent storage, and a clean developer API.

1.0.2 #

  • Updated example name references to Ranganath Pavan throughout docs and code.

1.0.1 #

  • Fix: Added proper MIT LICENSE file.

1.0.0 #

  • Initial release.
  • Dynamic language switching at runtime with no app restart.
  • JSON-based translations with nested key support (dot-notation: auth.login).
  • Parameter interpolation: "Welcome, {name}!".
  • Automatic fallback to a configured fallback locale when a key is missing.
  • Device locale detection on first launch.
  • Persistent locale storage via shared_preferences.
  • RTL / LTR auto-detection — set TextDirection.rtl on any BhashaLocale.
  • context.tr("key") and "key".tr() extension methods.
  • Ready-made widgets: LanguageSelectorDropdown, LanguageSelectorListTile, RtlWrapper.
  • Clean singleton BhashaController with injectable dependencies for testing.
  • 31 unit tests covering all core components.
0
likes
140
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A production-grade Flutter localization package with dynamic language switching, JSON translations, RTL/LTR support, interpolation, fallback language, persistent storage, and a clean developer API.

Repository (GitHub)
View/report issues

Topics

#localization #i18n #l10n #multilingual #flutter

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl, provider, shared_preferences

More

Packages that depend on flutter_bhasha