Skip to content

Code suggestion for async/dispose/setState no longer works in Flutter 3.0.2 #106724

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

Closed
khanahsan opened this issue Jun 28, 2022 · 7 comments
Closed
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@khanahsan
Copy link

khanahsan commented Jun 28, 2022

I'm using flutter stable version 3.0.2 and dart 2.17.3. Every thing is ok as you see in below picture:

image

Code suggestion for async/initState/dispose/setState no works in android Studio.
below is the screenshots:
1

image

Please look into it and resolve it

@khanahsan khanahsan changed the title Code suggestion for async/initState/dispose/setState no longer works in Flutter3 Code suggestion for async/dispose/setState no longer works in Flutter 3.0.2 Jun 28, 2022
@exaby73 exaby73 added the in triage Presently being triaged by the triage team label Jun 28, 2022
@exaby73
Copy link
Member

exaby73 commented Jun 28, 2022

Hello @khanahsan. Can you provide the output of flutter doctor -v? Also can you confirm if this occurs on VsCode as well or just Android Studio?

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 28, 2022
@khanahsan
Copy link
Author

image
image

i just use Android Studio.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 28, 2022
@exaby73
Copy link
Member

exaby73 commented Jun 28, 2022

In your doctor output, Android Studio is asking you to install the Flutter plugin. Please install the latest version of the plugin or update it and try again.

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 28, 2022
@khanahsan
Copy link
Author

image
flutter and dart plugin is already updated as you see in screenshot

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 28, 2022
@khanahsan
Copy link
Author

image
i try in vscode it works fine in vs code. But in Android Studio i still face this problem

@exaby73
Copy link
Member

exaby73 commented Jun 28, 2022

This might be a regression. Try upgrading to 3.0.3 and see if it still persists. Anyhow, this issue is a duplicate of dart-lang/sdk#49027. Please follow up there. I'm closing this issue since it's not a bug with Flutter.

@exaby73 exaby73 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2022
@exaby73 exaby73 added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels Jun 28, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants