tr_extension 0.6.0
tr_extension: ^0.6.0 copied to clipboard
A smart and lightweight string translation through extension.
Changelog #
This project adheres to Semantic Versioning.
0.6.0 May 29, 2024 #
- Added
Intl.defaultLocaleintegration. - Added
DateTimeextensions forDateFormat - Added
Stringextensions forNumberFormat.
0.5.2 Apr 30, 2024 #
- Fixed conflicts when using '.' inside the translation argument.
Thanks to suamirochadev for pointing this out.
0.5.1 Feb 25, 2024 #
- Updated README.
0.5.0 Feb 24, 2024 #
- Complete rewrite of the package setup configuration.
- The package is now completely compatible with
LocalizationsandMaterialAppwidgets. - Removed
Trclass and all it's static methods. - Added
TrDelegatefactory constructor for configuration. - Added
toList()toTrDelegateto include flutter localization delegate. - Added
context.localefor state management. - Updated tests.
- Updated README.
- Updated example.
0.1.2 Nov 14, 2023 #
- Added example
0.1.1 Nov 14, 2023 #
- Updated README
0.1.0 Nov 14, 2023 #
- Added Dynamic Token Replacement feature.
- Added Tr.to.putTranslations
- Added Tr.to.addTranslations
- Added invalid token warning log.
- Added pubspec.yaml asset warning log.
- Optimized code for hash mapped querying.
- Optimized translations loading.
- Updated tests.