skip to Main Content

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 ?

2

Answers


  1. 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

    Login or Signup to reply.
  2. Run the following command to see the list of all the warnings related to your project.

    dart analyze
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search