Incorrect works in some cases:
- If two different folders have folders with the same name the plugin generates one class. For example, if I have assets/icons/my_folder and assets/images/my_folder the plugin will generate one class for the folder with "my_folder" name.
- If I have a folder like assets/images/drawer/backgrounds and there is no another folders or assets inside assets/images/drawer folder, resulting class won't contain all parts of the path. It will be like Assets.images.backgrounds, without "drawer", so it's incorrect.
Also it's hard to migrate from v2. Give the opportunity to have strings instead of classes. I mean that expression like Assets.icons.user can return String, not Class. It can be configurable inside pubspec.yaml file.
And it will be great if you implement a configuration that disable generation of the methods to create Widgets like Image.asset or SvgPicture.asset. In come cases it don't need inside the project.
Many thanks!
Incorrect works in some cases:
Also it's hard to migrate from v2. Give the opportunity to have strings instead of classes. I mean that expression like Assets.icons.user can return String, not Class. It can be configurable inside pubspec.yaml file.
And it will be great if you implement a configuration that disable generation of the methods to create Widgets like Image.asset or SvgPicture.asset. In come cases it don't need inside the project.
Many thanks!