list arguments in vs code

Viewed 398

I am switching from android studio to VScode for flutter development and, obviously, there are some shortcuts that on android studio different from those on VScode. One of those shortcuts that I could not find is the listing of all arguments of a widget. I am looking for a shortcut that lists all the args without entering any letter.

enter image description here

I used cmd + space and nothing happend. I also used shift + cmd + space and gave me something I am not looking for. So can anyone help me with that?

3 Answers

For a given widget VS Code auto-completion provide both method and class, respectively purple and yellow symbols.

enter image description here

An option is to select the class of the widget you want to use instead of the method in the auto-completion list. Then, as soon as you will add the opening parenthesis, all arguments will be listed and available for selection.

enter image description here

enter image description here

Related