error when png name is start with number
assets/images/olp/2.png
you have to rename image file to image1 or something not start with a number because dart doesn't allow that
I don't think this should error though. By default it should either be ignored / warned about in the build runner output or replace any invalid characters with e.g. an _ as well as prepend it with an _ if required.
you have to rename image file to
image1or something not start with a number because dart doesn't allow that
Hi, is it a good idea if the package provided a handling for this case??
you have to rename image file to
image1or something not start with a number because dart doesn't allow thatHi, is it a good idea if the package provided a handling for this case??
I think the package should do what it does, this issue is depended on us IMO. The package only should show specific error to us and has nothing to do with this issue.
I tried to fix this, and just naming issues here: https://github.com/FlutterGen/flutter_gen/pull/433. Just waiting for a review