fast_localization 2.0.0
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 byLocalization.changeLocale()) now rebuilds the whole subtree with a new key, so it works even whenchildreturns the sameconstwidget. The old tree is disposed: register singleton providers withChangeNotifierProvider.value(acreate:provider would dispose the singleton), don't reuse a staticnavigatorKeywithout re-creating it, and don't use aBuildContextcaptured 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_uiinstead ofpackage:flutter/material.dartandflutter_localizations, so it requires Flutter 3.44+ / Dart 3.12+ and an app built onmaterial_ui(dart fix --apply --code=migrate_design_widgets).LocalizationApp(minimal mode) now usesGlobalMaterialLocalizations.delegatesfrommaterial_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.