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
Generate does not produce any usable output #15
Comments
If you click the generate button without selecting anything, the plugin won't export anything. |
Hi. Thank you for the reply. I notice the following - Util Color Global Overall, unfortunately there doesn't seem to be a plugin that can produce anything near useful enough to move an Adobe XD design to Flutter. You basically have to create it from scratch again. |
First, Thanks for this discussion. So... this plugin currently only exports a small part of a screen, but I’m working to support all artboard. with the problem of covid I stayed for a long time and I could not continue the project, but I am back. Currently it serves to export basically containers and texts (with shadow, gradient, etc.) and avoid working with small unnecessary things, it does not take care of the creation of LAYOUT itself, with spacing between widgets, etc., but I am working on that too. I will add a new issue asking for all the features that would help in creating the layout. |
Thank you for your efforts on this. I'll be happy to contribute to the feature requests. I appreciate that everything has to start somewhere. While exporting a working Flutter project would be the ideal. But to try replicate a layout 100% would likely be unnecessary as you ultimately would have to keep up with two streams of development and alignment and syncing. All in all a tall order! A good start, I think, would be to be able to create a page per artboard, a components folder with the components as widgets. If transitions from one artboard to another were in the form of a tap event then this might be possible to produce this. However, I would say that trying to replicate all the Adobe XD transitions for their Flutter equivalents would not be necessary. Flutter has its own animation functionality. I look forward to the progress on this. |
What would I define as a widget component? components from Assets Panel only? or would any group of folders be a component? Would all components be a component.dart or would it just be page.dart with the components below? When exporting an artboard, would it go to the clipboard for Ctrl + V or ask for the project folder to generate a dart file inside the lib? |
What would I define as a widget component? Even if outputting to clipboard only, I think it helps to think of the artboards as the logical container for the components. It should be relatively easy to follow where the widgets and pages relate to the XD design. |
Maybe my lack of understanding, but when using the Generate button nothing happens. How is it intended to be used - do I have select all the artboards, all objects or what? Where is the Generate output going to - the clipboard does not contain anything from what I can tell.
The text was updated successfully, but these errors were encountered: