Durjoy Roy
Durjoy Roy

Reputation: 139

flutter in vscode how to remove blue line

enter image description hereenter image description hereenter image description here

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

Upvotes: 12

Views: 17416

Answers (6)

M. Hussnain Anjum
M. Hussnain Anjum

Reputation: 1

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

Upvotes: 0

Arif Maksum
Arif Maksum

Reputation: 141

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

Upvotes: 1

Hygison Brandao
Hygison Brandao

Reputation: 718

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.

Upvotes: 9

codelone
codelone

Reputation: 752

Comment this line at the start of the page

// ignore_for_file: prefer_const_constructors

Example:

here

Upvotes: 7

Kishan Dhankecha
Kishan Dhankecha

Reputation: 1005

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.

Upvotes: 1

Jignesh Patel
Jignesh Patel

Reputation: 223

Press command+shift+p (open command pallete)
Then type Disable Error Squiggles.
And click on that Disable Error Squiggles.

Upvotes: 1

Related Questions