A sample code action in VS Code

Applying project-wide fixes

To see or apply changes to an entire project,
you can use the command-line tool, dart fix.

This tool has two options:

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 information on Flutter deprecations, see
Deprecation lifetime in Flutter, a free article
on Flutter’s Medium publication.