Is it possible? related to flutter plugin? or is it related to the Problem pane? I can remove hints from problem pane but not from the editor (shows squiggles). Since flutter is already quite verbose, these don't help, especially in the middle of writing the software.(import, consts etc)
How to remove dart/flutter (hint) squiggles in vscode?
1.4k Views Asked by kobi7 AtThere are 5 best solutions below
On
All the issues that are displayed can be controlled by adding/removing rules in your source code. It's also a good idea to actually address those issues than just silencing them.
For instance, you would normally get a warning if you have unused imports like so:
However, you can either use a directive to disable them in the current file as shown in top of this code:
On
In another way, you can use fix_import solution. While you're writing code, use the fix import command with cmd + p or control + p then it'll be automatically fixed to the relative path to all your import. 
https://marketplace.visualstudio.com/items?itemName=luanpotter.dart-import
On
Also, you could fix them automatically when you save the file.
You can add these lines to your settings.json:
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
}
With this, when you save your file, it should:
- Format it
- Order your imports
- Remove the duplicated imports and fix the other lints of the file (if fixables)



From Dart 2.15, you can add the lint rules that you would like to ignore to your
analysis_options.yamlfile. If you do not have it in your project. Add it to your root project system. After that you can add the lint rules that you would like to ignore to it.p.s. My honest and professional opinion is for you to follow the analyzer. It works for your own good.