Issue It makes no sense at this code. I am trying to grab some strings from the ALREADY INITIALIZED from the futurebuilder data, but can’t do so. It gives me the data2 has not been initialized error. Here is data
Continue readingTag: json
Retrieving complex api information and putting it in a listviewbuilder
Issue I am trying to create an mobile app where i can put in a name and get information from an api afterwards, this was working until the api got more complex. can share this information btw. It is showing
Continue readingHow do I get the value from nested locally stored json-file in Flutter?
Issue I’m trying to get the nested values from my locally stored json file with Flutter. I can get the "outer" values, but I haven’t been able to get the "inner" ones. I have googled and searched here, but I
Continue readinghow to sum data from json object ? flutter
Issue I am building shopping and I am new to flutter I am calling data from my server by the below method: Future getCartData() async { print("this is the token mytoken"); String url = ‘https://myurl.com/apis/getCartItems’; http.Response response = await http.post(Uri.parse(url),
Continue readingConstant Error – Type List Dynamic Is Not A Subtype Of Type Map String Dynamic
Issue I am consuming data from an API and whenever I try to do so, I keep getting this error. Type List Dynamic Is Not A Subtype Of Type Map String Dynamic In my attempt to find answers, I came
Continue readingFlutter: How to optionally serialize many list of data or object of data?
Issue I want to serialize optionally JSON data from API as a list or as an object. Here I’m kinda recreating how DjangoRestFramework serializer works in Flutter. Where you can optionally past a parameter many=True or many=False to indicate there
Continue readinghow to sum up json keys value in array if by putting condition on key
Issue I have a json array like this below , but i want to aggregate this by condition if their userid , groupname , segment & exchange is matching then perform sum operation on all jsonkeys and give output as
Continue readingFlutter error occurred when adding some JSON files from "Random User"
Issue I tried to excute this code in my android mobile. it has not any error. when app start show "waiting" massage, after that body only displayed "true". **body: FutureBuilder( future: getUser(), builder: (BuildContext context,AsyncSnapshot snapshot) { if(snapshot.connectionState == ConnectionState.waiting){
Continue readingVolley JsonObjectRequest not fetching data
Issue I am trying to work on volley with gridview. JsonObjectRequest does not fetch any response. I looked up for links on stackoverflow abt JsonObjectRequest passing null as parameter and changing volley version but nothing works as the error was
Continue readingQuestion : Dart/Flutter passing parameters not working
Issue Sorry if my question is stupid, but I am studying it by myself and don’t have much experience. 🙂 thanks for your help! I wanted to change a map to JSON. I tried to follow https://docs.flutter.dev/development/data-and-backend/json#creating-model-classes-the-json_serializable-way this example, but
Continue reading