I clone the code from bitbucket and run on my VS code, Every time It' through this errorenter image description here
I tried to solve this problem : 1> flutter clean 2> flutter run but It won't be work
I don't know the exact problem,but the error is solved when I changed the emulator version to Pie, Android : Pie Version : API 28