3

Everything is in the title, i have tried the basic analyzer from Android Studio but it has not inspection for dart files...

How can i do the equivalent of Analyze -> Run Inspectinon By Name ->type Deprecated API Usage mentioned here ?

Tom3652
  • 2,540
  • 3
  • 19
  • 45

2 Answers2

2

You can use dart fix

To see a full list of available changes, run the following command:

dart fix --dry-run

To apply all changes in bulk, run the following command:

dart fix --apply

For more info https://dart.dev/tools/dart-fix

Kaushik Chandru
  • 15,510
  • 2
  • 12
  • 30
2

Run the following command to see the list of all the warnings related to your project.

dart analyze
iDecode
  • 22,623
  • 19
  • 99
  • 186