-
Notifications
You must be signed in to change notification settings - Fork 318
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
Code suggestion for initState/dispose/setState no longer works in Flutter3 #6167
Comments
This is not a Flutter plugin issue, but it is serious (IMO). I copied this to a new issue in the Dart SDK repo: |
I'm facing the same issue, flutter updates coming with a lot of problems |
Hi, having the same issue. setState and Colors are not autocompleting anymore. for example if I type setS I have no autocomplete. Same if I type red it doesn't propose Colors.red anymore. Just 2 examples I have here. |
setState still isn't showing |
With Flutter 3.0, code suggestion for initState/dispose/setState no longer works. It worked for Flutter 2.10.
This issue was found in both Windows(10) and Mac(12.3.1).
Steps to Reproduce
(It worked in Flutter 2.10.x)
The screenshots are for initState, but the same thing happens with dispose and setState.
Version info
`Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-x64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2019.1.2)
[✓] VS Code (version 1.67.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
`
The text was updated successfully, but these errors were encountered: