skip to Main Content

It's this image.

I saw this prompt in a tutorial video on YouTube. I tried searching for relevant content in China, but unfortunately, I didn’t find any results.

2

Answers


  1. These are called assists. To quote from the documentation

    Assists are code changes related to a certain code identifier. A
    number of these are available when the cursor is placed on a Flutter
    widget identifier, as indicated by the yellow lightbulb icon. To
    invoke the assist, click the lightbulb as shown in the following
    screenshot:

    Code assists

    You can also press Ctrl / Cmd + .

    Login or Signup to reply.
  2. For me it is with the shortcut Ctrl + Shift + ;.
    In VS Code, go to File > Preferences > Keyboard shortcuts, then search for the command Quick Fix.... It is the shortcut that you are looking for.
    Alternatively, you can simply click on the light bulb shown at the beginning of the line.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search