'Future<List<Object>> function() {} doesn't show code suggestions for Flutter (Android Studio)

I have recently made a simple Todo App and had a strange problem with code completion in Flutter. The code suggestion works well until I type Future<List>... and since then it doesn't work anymore.

enter image description here enter image description here enter image description here

So I had tried the following

  • Invalidated caches and restarted
  • Re-downloaded Flutter plugin

but the problem was still there. Any help will be appreciated.



Solution 1:[1]

Try updating the SDK version will do just fine. Hope it will help you.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Samiul Islam