skip to Main Content

enter image description here

How do i remove these lines, those are quite unpleasant to look at.

2

Answers


  1. Those line are suggestions to improve performance or use of better suitable widgets for the case.

    When you hover your mouse on it OR press ctrl/cmd + . when the cursor is on them, it must show the issue/suggestion.

    In that particular case it’s probably suggesting that you could use const on those widgets (i.e: const TextField() ) to improve performance

    Login or Signup to reply.
  2. the yellow lines show that your value in your code is static and not in variable. ex: your label text is "E-mail address". to solve this, u can just put const at the beginning of the widget. in your case, try put const before the word ‘Column’

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