- Fix issue#4
- Improve pubspec.yaml file watcher logic
- Improve robustness
- Fix r_dart_library version logic
- Do some optimizations
-
Support for processing (init/generate/monitor) multi projects (the main project and its sub projects in one workspace)
-
Support for auto merging old asset specifications when specifying new assets
This is can help you to auto keep the manually added asset specifications.
- fixed resources path problem when using in windows #2
-
Support for processing non-implied resource file
- non-implied resource file: the resource file which is outside of
lib/
directory, for example:~/path/to/flutter_r_demo/assets/images/test.png
~/path/to/flutter_r_demo/assets/images/3.0x/test.png
- implied resource file: the resource file which is inside of
lib/
directory, for example:~/path/to/flutter_r_demo/lib/assets/images/hot_foot_N.png
~/path/to/flutter_r_demo/lib/assets/images/3.0x/hot_foot_N.png
- non-implied resource file: the resource file which is outside of
- Automatically specify assets in pubspec.yaml and generate r.g.dart file
- Support for processing image assets (
.png
,.jpg
,.jpeg
,.gif
,.webp
,.icon
,.bmp
,.wbmp
,.svg
) - Support for processing image asset variants
- Support for processing text assets (
.txt
,.json
,.yaml
,.xml
) - Support for processing font assets (
.ttf
,.otf
,.ttc
) - New asset generation algorithm to support all kinds of standard or nonstandard image/text resource structure
- New asset-id generation algorithm to support assets with the same filename but different path
- read vscode settings to get
dart.lineLength
to formatr.g.dart
- Initial release