Adobe XD Plugin for Flutter [Export design as code]

Can you find any difference in designer and developer. Yes! designer designs the UI/UX of application and developer develops the real application that could be used.

But there is a huge gap between understandings of designer and developer. And to reduce this gap, to increase productivity of both, to reduce production cost…. we got a new plugin for flutter by Adobe XD.

Adobe XD (adobe_xd) plugin for flutter is a plugin (tool) that converts designs from XD to dart (flutter).

Find out installation and detailed information in PRO Coach yotube video.

Tim Sneath posted a medium article with announcement of adobe_xd plugin availability for flutter. You can find that below.

Get all necessary urls at the bottom of article.

Have a look at this image. Left image is a screen in iphone and right image is a design in Adobe Xd. Right screen is exported as dart file from Adobe Xd by using adobe_xd plugin.

Output is almost same as the design. We can say that that now designs can be exported with 70–90% of accuracy.

Let’s have a look at code generated from this plugin

We can easily spot that this plugin uses Transform.transalate, Stack, and Container to put the things on screen. It is using SvgPicture to display svgs. It uses AssetImage() to display image in to screen.

Advantages of adobe_xd:

It helps developer to understand positions of each component on screen.

It helps developer to take out basic widgets from design thus saves time.

Sometimes we can export complete screen and use it in app.

It help designer to understand how developers do code.

Designer can participate in development.

What should not expect from exported code for now?

  1. We shouldn’t expect resposiveness of apps
  2. We shouldn’t expect that we directly use exported codes (Codes need modifications for produce correct output.
  3. We shouldn’t expected good performance nor good code quality.

I hope we will get more updates with more feature in this plugin.

Necessary URLs:

  1. Plugin for flutter: https://pub.dev/packages/adobe_xd
  2. Github repository: https://github.com/AdobeXD/xd-to-flutter-plugin/
  3. Plugin for Adobe Xd: https://xd.adobelanding.com/en/xd-plugin-download/?pluginId=6eaf77ea
  4. PRO Coach Youtube video: https://www.youtube.com/watch?v=fCJqBeb5Eo4
  5. Announcement article: https://medium.com/flutter/announcing-adobe-xd-support-for-flutter-4b3dd55ff40e

If you enjoyed this blog, let me know in the comments below how much useful this blog was to you. I’d be very grateful if you’d help it spread by emailing it to a friend or sharing it on Twitter or Facebook. Thank you!

#HappyCoding #flutter #widgets #crossplatform #tutorial #adobexd #plugin #viveky259 #procoach

**Subscribe for upcoming posts. Thanks for reading. Let me know what you think about this post.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vivek Yadav

Vivek Yadav

Writer , Speaker, Instructor and Flutter Dev