Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online tool unable to generate dart code #9

Open
michaelgobbers opened this issue Nov 15, 2019 · 1 comment
Open

Online tool unable to generate dart code #9

michaelgobbers opened this issue Nov 15, 2019 · 1 comment

Comments

@michaelgobbers
Copy link

Hi there. First of all thanks for trying to make this figma to flutter plugin a reality.

I've been trying it out for our component library we have been designing in figma. However I'm unable to actually get the code with the tool. I've provided an Figma Access token and the file_key from the url.

When I then select a component in the resulting list and click the generate dart code button nothing happens.

I've openeded the developer console and I'm see the following error popup:
js_helper.dart:1764 Uncaught TypeError: Cannot read property '$indexSet' of undefined at FigmaGenerator__generateWidgets_closure.call$2 (component.dart:19) at JsLinkedHashMap.forEach$1 (linked_hash_map.dart:202) at FigmaGenerator._generateWidgets$4$dataClassImport$withComments$withDataClasses (file.dart:162) at FigmaGenerator.generateComponents$4$dataClassImport$withComments$withDataClasses (file.dart:81) at FigmaGenerator.generateComponents$2$withComments (file.dart:67) at main.dart:58 at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:335) at _wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:359) at Object._asyncStartSync (async_patch.dart:251) at main_generateCode.call$0 (main.dart:48)

I'm using chrome Version 78.0.3904.97 (Official Build) (64-bit) on a Mac OSX 10.14.4(18E226) (Mojave)

@SlimLouis
Copy link

pull request ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants