question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flutter autocomplete suggestions not working

See original GitHub issue

My 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:

First image Second image

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:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:39 (11 by maintainers)

github_iconTop GitHub Comments

12reactions
thassio-viniciuscommented, Jun 1, 2022

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?

7reactions
Fltmecommented, Jun 8, 2022

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? 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found