xd-to-flutter-plugin icon indicating copy to clipboard operation
xd-to-flutter-plugin copied to clipboard

Ability to export more specific Flutter controls

Open shashank132 opened this issue 5 years ago • 8 comments

yes , it would be better if "xd to flutter " plugin can convert the textfield ( if user click on the textfield he can able to write ), button , screen redirection after 5 sec or in specific time duration . in below image if i am trying to convert the page it converted the text field as container ,text only ,i didn't convert to textfield. cid

shashank132 avatar Jul 02 '20 05:07 shashank132

This would definitely be great. There are a couple of ways that this could be implemented:

  1. via the panel & plugin data. For example, you could select a text field, and then in the plugin panel you'd see an option letting you designate the field type (editable, password, whatever).
  2. via layer structure. We could essentially have documented hierarchy / naming system that the plugin would recognize. For example, maybe to make a text field editable, you drop it in a group named fl:EditableText, or maybe you append a flag like that to the field itself? This could be supported by a UI Kit, so you don't have to memorize or look up all the different names.

It would be even better if we could support States, for things like buttons. (see #40)

gskinner avatar Jul 02 '20 15:07 gskinner

Is there any option in xd or in xd to flutter plugin to designate the field type ( editable, password ,etc.. ), because i didn't find any option like that in "xd to flutter" plugin

shashank132 avatar Jul 04 '20 16:07 shashank132

@shashank132 - please see the comment immediately above yours.

gskinner avatar Jul 04 '20 22:07 gskinner

@gskinner hey bro help me in including textfield in Xd to Flutter i cant understand the above solution

ghost avatar Nov 04 '20 14:11 ghost

Currently there is not a way to do it from within XD (you need to edit the generated code). My comment from Jul 2 was suggesting a feature we could add to help support it.

gskinner avatar Dec 05 '20 20:12 gskinner

Is there any option in xd to flutter plugin to designate the field type ( editable, password ,etc.. ), / or scroll items or recycler View ? because i didn't find any option like that in "xd to flutter" plugin. i want to use plugin xd to flutter and when i've get a dart code , the code is not ok ! for example when i get textfield in dart code , show me box decoration . or i can't use scroll for my items in dart code when i use plugin "xd to flutter" .

setayeshce avatar Mar 10 '21 06:03 setayeshce

This same like of feature is available in Anima Plugin . it would be great if it is possible for flutter https://www.youtube.com/watch?v=HJ0QmXq3m6c

workatease avatar Jun 18 '21 03:06 workatease

Thanks for the reference @workatease — that's exactly what I'd like to do for XD to Flutter.

gskinner avatar Nov 15 '21 18:11 gskinner