pub icon indicating copy to clipboard operation
pub copied to clipboard

Please emphasize "pinned" dependencies in flutter pub get summary.

Open bkonyi opened this issue 8 months ago • 1 comments

From https://github.com/flutter/flutter/issues/160298 by RoarGronmo:

Sometimes we need to "pin" a dependency version to certain version level to make things work, and often you forget that "pinning", since the summary of flutter pub get doesn't give you a note that this version is "pinned".

Image

It would have been very helpful if flutter pub get showed a hint or warning that I have pinned this version, it is easy to forget and a ^ isn't always easy to spot...

bkonyi avatar Mar 24 '25 15:03 bkonyi

On the other hand pinning might be desired - in that case you could argue that the notification would be annoying...

Is the problem that you pinned the dependencies by mistake?

sigurdm avatar Mar 28 '25 08:03 sigurdm

Without additional information we're not able to resolve this issue. Feel free to add more info or respond to any questions above and we can reopen the case. Thanks for your contribution!

github-actions[bot] avatar Apr 14 '25 08:04 github-actions[bot]