RangeError (index): Invalid value: Valid value range is empty: 0

后端 未结 8 1783
没有蜡笔的小新
没有蜡笔的小新 2021-02-12 13:26
Widget build(context) {
    try{
      if (isFirst == true) {
        fetchImage();
        fetchCategories(context);
        isFirst = false;
      }
    }catch(Excepti         


        
8条回答
  •  野的像风
    2021-02-12 13:47

    You are not getting the data. The data folder from or data source is missing. The same happened for me. Later, I created the json file for data and pointed to that location. And it got fixed simply!

提交回复
热议问题