fluent_gen 0.1.0
fluent_gen: ^0.1.0 copied to clipboard
Typed Dart calls for fluent_bundle — reads your .ftl files at build time and generates methods, so misspelled names and wrong arguments fail to compile. Dev-dependency only.
Changelog #
0.1.0 #
First release — typed Dart calls for fluent_bundle, generated from your .ftl files at build time.
- What it does: reads your
.ftlfiles duringbuild_runnerand generates a Dart class — callmessages.welcome(name: ...)instead of a string id. - Type safety: a misspelled message name, a missing argument, or a
Stringwhere a number belongs is a compile error. Argument types are worked out from how each variable is used — no annotations to write. - Also checks: during the build it warns about messages missing from a language, stray messages, and malformed
.ftl. - Footprint: a dev-dependency only — nothing from it ships in your app.
Commits since initial (10)
- 0a40860 release: v0.1.0
- 0dea5d0 chore: promote dev to prod (#5)
- f1a6022 docs(changelog): complete both genesis changelog lanes (#4)
- fc9a44f docs: rewrite README and pubspec description in plain language, no jargon
- c45c9ee chore: bump Flutter SDK (#3)
- 0ba629d ci: bump dorny/paths-filter from 4.0.1 to 4.0.2 in the actions group across 1 directory (#2)
- 007c65e ci: bump the whuppi-ci group across 1 directory with 8 updates (#1)
- 4ddac85 ci: touch the four workflow stubs GitHub skipped registering on the initial push
- b5eccd0 ci: nudge workflow indexing — GitHub registered six of ten stubs on the initial push
- 46616ad feat: fluent_gen — build-time typed accessors for fluent_bundle: analyzer-checked message ids and inferred argument types