AndrewShen812/AssetsRefGenerator

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

AndrewShen812 opened this issue · 1 comments

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

This issue has been fixed in v1.1.0