fast_localization 2.0.0 copy "fast_localization: ^2.0.0" to clipboard
fast_localization: ^2.0.0 copied to clipboard

Fast localization solution for flutter apps using Dart's `Map`

2.0.0 - 2026-08-31 #

  • Breaking: LocalizationApp.reload() (also called by Localization.changeLocale()) now rebuilds the whole subtree with a new key, so it works even when child returns the same const widget. The old tree is disposed: register singleton providers with ChangeNotifierProvider.value (a create: provider would dispose the singleton), don't reuse a static navigatorKey without re-creating it, and don't use a BuildContext captured before the reload
  • LocalizationApp.reload() context parameter is optional; Localization.changeLocale(locale) reloads without a context
  • New Localization.setLocale(locale): changes and saves the locale without reloading the app (already-built widgets keep their texts until they rebuild)
  • Breaking: uses package:material_ui instead of package:flutter/material.dart and flutter_localizations, so it requires Flutter 3.44+ / Dart 3.12+ and an app built on material_ui (dart fix --apply --code=migrate_design_widgets). LocalizationApp (minimal mode) now uses GlobalMaterialLocalizations.delegates from material_ui

1.0.0 - 2021-03-22 #

  • Null safety support

0.3.0 - 2020-02-09 #

  • Hide internal files

0.2.0 - 2020-02-09 #

  • Add usages

0.1.0 - 2020-02-09 #

  • Add translate funcion alias Localization.t(key, params)
  • Add translate funcion alias t(key, params)!

0.0.4 - 2020-02-09 #

  • Make changeLocale() testable
  • Add tests

0.0.3 - 2020-02-09 #

  • Add examples

0.0.2 - 2020-02-08 #

  • Add proper description
  • Formatting codes

0.0.1 - 2020-02-08 #

  • Initial release.
3
likes
150
points
193
downloads

Documentation

API reference

Publisher

verified publisherhighestweb.com

Weekly Downloads

Fast localization solution for flutter apps using Dart's `Map`

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter, material_ui, shared_preferences

More

Packages that depend on fast_localization