Last updated:
0 purchases
jtranslate generator
Required Setup: #
Add required additional dependencies:
dependencies:
build:
dev_dependencies:
build_config:
build_runner:
copied to clipboard
You also need to define a build.yaml file in the root of your project.
targets:
<package_name>:<package_name>: <-- REPLACE WITH YOUR PACKAGE NAME
builders:
jtranslate_generator|jsonToCodeBuilder:
generate_for:
- <path to main translation file>
copied to clipboard
Run the generator: #
dart run build_runner build --delete-conflicting-outputs
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.