'Method name is not showing
We got another problem. When we type init it does not show initState method in possible match list. In fact it doesn't show any matching list.
Inside a statefulWidget if we typed the keyword "set" a list of possible match shows up. In the list there was a method named setState((){}) to trigger rebuild to update UI on user interaction.
But recent Chipmunk version of android studio doesn't show the setState((){}) method in the possible match list. Any idea? [ If duplicate, let us know ]
Solution 1:[1]
Clean your cache of Android Studio
Go to File -> Invalidate Caches / Restart
Solution 2:[2]
See, that error happens quite a few times, and the best way is to remember the syntax.
I'd suggest you complete the syntax yourself and see flutter recognize it.
moreover, you can run flutter clean and flutter build in terminal, and invalidate caches from the files group.
Upvote if it helps.
Solution 3:[3]
Try this: File -> Invalidate Caches / Restart...
Solution 4:[4]
You can use a technique called finger printing, to create a checksum of the browser when the user initially logs in, then at certain points, you can check if the fingerprint is the same as before.
Some related resources are
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 | Saitoh Akira |
| Solution 2 | Delwinn |
| Solution 3 | William Secchi |
| Solution 4 | Tore Nestenius |
