prop2dart

Creator: coderz1093

Last updated:

0 purchases

prop2dart Image
prop2dart Images
Add to Cart

Description:

prop2dart

Prop2Dart #
A tool for generating dart classes from .properties files.
1. Get the generator #
The code generator is written is python so, you should have python3.

clone the repo:

git clone https://codeberg.org/wiedercomma/prop2dart
copied to clipboard

get python requirements:

python3 -m pip install -r requirements.txt
copied to clipboard

add the tool to your path:

export PATH="$PATH:/path/to/prop2dart"
copied to clipboard
2. Generate the properties files: #
prop2dart hello_world.properties
copied to clipboard
This will generate files under a folder named: __generated__, also the generated files need the library prop2dart that you can get from pub.dev:
In your pub.spec file:
prop2dart:
copied to clipboard
Examples: #
https://codeberg.org/wiedercomma/prop2dart/src/branch/master/prop2dart/example/bin/example.dart

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.