Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ constraints, run:
flutter pub outdated
```

If newer versions exist,
update the version constraints in your `pubspec.yaml` to the newer versions and
run `flutter pub get`.
To upgrade to newer major versions, run `flutter pub upgrade --major-versions`.
This command automatically upgrades the constraints in your `pubspec.yaml` and
then runs `flutter pub get` to retrieve those upgraded dependencies.
Comment on lines +183 to +184

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider being a bit more specific here and turning the mention of flutter pub get into what is happening (retrieval).

Suggested change
This command automatically upgrades the constraints in your `pubspec.yaml` and
then runs `flutter pub get` to retrieve those upgraded dependencies.
This command updates the constraints in your `pubspec.yaml` file to
allow the latest resolvable versions, then retrieves those versions.


### Use dependency overrides

Expand Down
Loading