-
Notifications
You must be signed in to change notification settings - Fork 9.7k
remove unnecessary imports #5410
Conversation
|
Thanks for the contribution! I've updated the PR description to exempt it from the version change requirement, and marked that it's test-exempt (being entirely no-op removal), but this will need |
|
I have updated the |
|
I just noticed that we still have:
in our analysis_options.yaml. This PR should remove that, since presumably it's fixing all the remaining violations (and if it doesn't currently, it should). That way we are ensuring that this won't regress in the future. |
hellohuanlin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for cleaning this up
ditman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is cool, I can't believe we can remove dart:async and flutter/foundation.dart from so many places! Good riddance!
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning all this up!
I removed the "No CHANGELOG change:" from the PR description; that override was not correct. As I said above, this will need a changelog change for each affected package. (Currently it's only in some of them.)
|
I have made all the required changes. |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for this cleanup!
Removed all unnecessary imports because all of the used elements are also provided by the other imports.
No version change:
No functional change for plugin clients
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.