Closed freemansoft closed 8 months ago
The README in example2 in this PR https://github.com/mark-nicepants/figma2flutter/pull/4 describes this
Could you take a look if my PR #7 fixes this issue? I removed the extension methods for camel and pascal cased that were custom made and added recase package.
I'm not sure how to merge the changes in this open PR into my branch in my fork :-( Will manually apply changes for testing.
Your change fixes the leading underscore issue 👍
There is still the issue that for the zengarden generated labels they include symbol characters that are illegal as variable names in dart. Not a big deal I don't think.
:information_source: Info
Version:
0.2.0-alpha
current head of the main branch:speech_balloon: Description
variable names or other string generation removes spaces and underscores. That code fails if there is a
_base
-↑
I had to remove the leading underscores the trailing underscores and the special characters.
:scroll: tokens file you tried to import
These tokens fail because of the arrow characters. Generated by zengarden
leading underscores generated by zengarden