flr-as-plugin
flr-as-plugin copied to clipboard
Be less controlling of pubspec.yaml
Hi,
love using your plugin, it does exactly what I wanted. My only complaint so far is that every time it generates, it totally messes up my pubspec.yaml in unnecessary ways:
- deletes all my comments;
- deletes all my empty line;
- assets are kept at the wrong indent, should be 2 spaces further to the right;
- it writes every resource to pubspec.yaml, when it should be enough to write the folders;
Thanks alot, regards,
Unfortunately, up to now there is no a YAML parser library that supports comments, so the features that you want is currently unavailable now. If you have any good solution, you can share it with us.