Expected
When copying the package name _and_ the version, a visible/hidden : comes with it.

Actual
No helpful :, which means I paste it into pubspec.yaml and have to edit it.

Maybe we could add ^ too, e.g. uuid: ^2.0.4?
Well, I don't think we want the page to include that by default, which means we'd want a dropdown with various options for easy copy-paste. Something like Github:

Perhaps something like this, but less ugly:

Aside: I think it is a bit overkill. I just wanted to be a little lazier. Not maximum lazy.
I was secretly hoping we would one day find time to do a pub add <package> command, and insert a thing like: $ pub add uuid in the top right corner...
As requested by @bean5, I enclose the suggestion I made for this in #3564:


reuploading image from #3902
Better to implement the suggestion on https://github.com/dart-lang/pub-dev/issues/3336#issuecomment-626133978 it is less confusing.
Seems like it's already available

Yes, closing this issue. Feel free to open new issues for improvements (some are already in the pipeline).
Just filled https://github.com/dart-lang/pub-dev/issues/4244 for some improvements.
Most helpful comment
I was secretly hoping we would one day find time to do a
pub add <package>command, and insert a thing like:$ pub add uuidin the top right corner...