Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Dart version is used if Flutter is uninitialized at startup #3149

Closed
DanTup opened this issue Feb 18, 2021 · 1 comment
Closed

Wrong Dart version is used if Flutter is uninitialized at startup #3149

DanTup opened this issue Feb 18, 2021 · 1 comment
Labels
in flutter Relates to running Flutter apps is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Feb 18, 2021

This pops up right after Flutter finishes initializing, even though it's intended to never show for a) Flutter projects or b) Dart SDKs that are inside Flutter.

Screenshot 2021-02-18 at 12 01 29

@DanTup DanTup added is bug in flutter Relates to running Flutter apps labels Feb 18, 2021
@DanTup DanTup added this to the v3.20.0 milestone Feb 18, 2021
@DanTup DanTup changed the title Dart SDK updates are shown when opening Flutter projects if Flutter is not yet initialized Wrong Dart version is used if Flutter is uninitialized at startup Feb 18, 2021
@DanTup
Copy link
Member Author

DanTup commented Feb 18, 2021

This turns out to be that we're searching for the Dart SDK prior to initializing Flutter, which means we pick a different Dart SDK (the standalone one).

@DanTup DanTup closed this as completed in 0bc3dec Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in flutter Relates to running Flutter apps is bug
Projects
None yet
Development

No branches or pull requests

1 participant