Home > front end >  How To Use Wrap Function In Vs Code For Flutter Coding?
How To Use Wrap Function In Vs Code For Flutter Coding?

Time:10-17

How To Use Wrap Function In Vs Code For Flutter Coding ? I want to know shortcut key.

CodePudding user response:

Select the code, than alt Enter. You'll see below picture, now choose Extract method. Did you mean this?

enter image description here

CodePudding user response:

You can wrap with Column/Row widget, then rename it to Wrap. Both provide children.

1st ctrl shift r on windows(default I think)

enter image description here

You will get

enter image description here

Now rename it to Wrap

  • Related