Even if the app is deleted from cache and a newer version is installed, the app will open in this image with the same error.
My app isn't connected to any crash report services and the tester forgot how he had the error and in which page.
I'm now blind. Any suggestions on how to debug this? I've tried everything and the user also tried to get the error for a second time but we couldn't.
And why didn't this show a grey screen?
CodePudding user response:
You probably didn't use Scaffold widget. You should wrap with Scaffold your used widget.
CodePudding user response:
try to avoid this type of run time error with some conditions like if if your list has some data and you directly use any of index try to check first that if any data exist on that list or not like this:-
List<int> myList =[1,2,3];
if(myList[5] != null){
int a = myList[5];
}