9

enter image description hereenter image description hereenter image description here

I'm using Visual Studio Code how to remove this blue lines

Durjoy Roy
  • 109
  • 1
  • 1
  • 5

5 Answers5

7

What you probably want is just to remove only the blue lines and nothing else, then find the file pubspec.yaml and remove or comment the line with flutter_lints. Save and Make sure to restart the application.

Hygison Brandao
  • 590
  • 1
  • 4
  • 16
5

Comment this line at the start of the page

// ignore_for_file: prefer_const_constructors

Example:

here

codelone
  • 604
  • 8
  • 17
  • 1
    This only turns off *some* of the blue wavy lines. A more complete method is: ```// ignore_for_file: prefer_const_constructors, prefer_interpolation_to_compose_strings, avoid_print``` – bitinerant Sep 02 '22 at 17:53
1
Press command+shift+p (open command pallete)
Then type Disable Error Squiggles.
And click on that Disable Error Squiggles.
Jignesh Patel
  • 223
  • 1
  • 4
1

Rename Your file name to the login_page.dart.

This blue line shows the warning to us because of linter. There is a rule defined in the package that the file name must be lower_camel_case. This is because linter defines the bet practices.

Kishan Dhankecha
  • 957
  • 7
  • 25
1

remove flutter_lints: ^1.0.0 , its work for me. don't forget to pub get

Akshay I
  • 3,675
  • 1
  • 34
  • 57
Arif Maksum
  • 71
  • 1
  • 2