12

enter image description hereenter image description hereenter image description here

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

2
  • 3
    You can read the warning when the mouse is on it. And do whatever it says. Commented Oct 7, 2021 at 6:51
  • can someone elaborate how can turn it off these lintings warnings for R files? Commented Aug 2, 2022 at 6:00

6 Answers 6

9

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.

Sign up to request clarification or add additional context in comments.

Comments

7

Comment this line at the start of the page

// ignore_for_file: prefer_const_constructors 

Example:

here

1 Comment

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
1
Press command+shift+p (open command pallete) Then type Disable Error Squiggles. And click on that Disable Error Squiggles. 

2 Comments

Unless those error squiggles are there to notify you of a problem in your code
not working bro.
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.

8 Comments

yaa rename but The lines are still the same.
In that case please provide the warning in questions and update your question.
please check. qus update
hover your mouse on the code with a blue underline you will see the warning message. or you can see your all the error and warning in Problems tab. Please provide that error
Name source files using lowercase_with_underscores.dartfile_names
|
1

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

Comments

0

Find analysis_options.yaml file in your project and comment out this line include: package:flutter_lints/flutter.yaml with #. Then save.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.