Home > Software engineering >  Whole line highlight in teal colour in visual studio code? Teal colour
Whole line highlight in teal colour in visual studio code? Teal colour

Time:12-17

enter image description hereIt looks like you have installed the 'error lens' extension in vs code, please uninstall it

CodePudding user response:

this is a dart analysis warning. either you clear the error by:

  1. using const constructor on the widget, on this case is the MaterialApp, since you don't have any changed parameters on the widget:
...
  const MaterialApp(
    ...
  ),
...

or,

  1. using VSCode's Quick Fixes and ignoring the errors, like so: enter image description here
  • Related