To update to the latest compatible versions of
all the dependencies listed in the pubspec.yaml file,
use the upgrade command:

flutter pub upgrade

To identify out-of-date package dependencies and get advice
on how to update them, use the outdated command. For details, see
the Dart pub outdated documentation.

flutter pub outdated

Keeping informed

We publish breaking change announcements to the
Flutter announcements mailing list.
Aside from subscribing to receive announcements,
we’d love to hear from you!