flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.97k stars 318 forks source link

Show UI widget diagrams during code completion #545

Open lukechurch opened 7 years ago

lukechurch commented 7 years ago

As discussed with @danrubel

It would help during widget discovery if the nice graphics from here: https://flutter.io/widgets/ could be placed by the side of their classed during code completion. As a very rough mock:

image

Similar renderings could also appear in tooltips for the widgets

mit-mit commented 7 years ago

Would't the opposite work better? I mean, rather than having to type a widget type and seeing a preview of the result, what if you could pick from a visual list of widgets and have the corresponding code added?