AndrewShen812 / AssetsRefGenerator

MIT License
46 stars 9 forks source link

The generated res.dart has syntax error when asset file name contains hyphen #8

Closed AndrewShen812 closed 3 years ago

AndrewShen812 commented 3 years ago

Thanks to Zony Zhao‘s feedback on the Jetbrains plugin website.

It works well. But res.dart generated doesn't support when you have hyphen in file.

For Example static const String SourceHanSansSC-Heavy = "assets/fonts/SourceHanSansSC-Heavy.ttf";

from: Flutter Assets Ref Generator - Ratings & Reviews

AndrewShen812 commented 3 years ago

This issue has been fixed in v1.1.0