auto_localized_generator 0.3.1 auto_localized_generator: ^0.3.1 copied to clipboard
Code generator for auto_localized, runtime-safe Flutter localization.
[0.3.1] Breaking Change #
- Class name now have to start with
$
instead of_$
(fix analyzer issues) - Fix generation error for empty JSON/YAML file
- Fix linter issues
[0.3.0] Breaking Change #
- Add Safe Arguments supports.
- You can get translation without passing
BuildContext
inget
method. (WrappingMaterialApp
withAutoLocalizedApp
is required). - The current locale is now accessible with
AutoLocalization.instance.locale
.
[0.2.0] Breaking Change #
- Add YAML support.
AutoLocalizedLocale
field:jsonFilePath
replaced withtranslationsFilePath
.
[0.1.0] #
- Initial release.