Flutter autocomplete suggestions not working
See original GitHub issueMy autocomplete suggestions just stopped working. As an example, none of the widgets show inside suggestions window when I start typing, here is the screenshot when I want to add BoxDecoration:
Steps to Reproduce
I’m not exactly sure how this happened, but the issue started when I ran android emulator inside tool window ( I ran it as a separate window before.)
I created this project few days ago and everything was working fine until now.
Version info
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19043.1526], locale sr-Latn-BA)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2020.3)
[√] Android Studio (version 2021.1)
[√] IntelliJ IDEA Community Edition (version 2021.1)
[√] Connected device (4 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.
Edit: I tried to fix it with invalidate caches and restart, flutter clean, without emulator running, running emulator outside tool window again. None of those things fixed the problem.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:39 (11 by maintainers)
Top Results From Across the Web
Autocomplete not working correctly in Android Studio with Flutter
I have the Dart plugin installed - v191.8593. image. When I press Ctrl + Space at a very obvious place the AutoComplete do...
Read more >flutter_typeahead | Flutter Package - Pub.dev
A TypeAhead (autocomplete) widget for Flutter, where you can show suggestions to users ... you can customize the suggestion box decoration, the loading...
Read more >Autocomplete broken in Dart/Flutter project : WEB-34110
After an update to the latest version the autocomplete for Dart is not working correctly. A popup opens (Ctrl + Space) but it...
Read more >How to Add Autocomplete Suggestions on TextField in Flutter
In this example, we are going to show you how to add autocomplete suggestions feature on TextField Input in Flutter. It is not...
Read more >[Solved]-Flutter auto fill Assists suggestions not working-Flutter
[Solved]-Flutter auto fill Assists suggestions not working-Flutter ... As suggested by this issue you may have accidentally disabled the Quick assist option while ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This just started happening to me after Flutter 3.0, suggestions like setState and overrides such as initState and didChangeDependecies aren’t working anymore. May we reopen this please?
Omg, finally I find out someone who has the same issue with a setState. I’m new to programming (and learning Flutter) and can’t realize the reason for such thing. So, this is just a glitch of 3.0 and will be fixed? 😉