Issue I have an API POST request that takes in form/data with both text (strings) and 1 image file. In postman, this is what it looks like, and it works perfectly 🙂 I am trying to send the same thing
Continue readingTag: api
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 readingRangeError (index): Invalid value: Only valid value is 0: 1 flutter fetch api
Issue I can’t fetch the next address but I can fetch sequence shipto 0 RangeError (index): Invalid value: Only valid value is 0: 1 after some fixes type ‘sting’ is not a subtype of type ‘int’ of ‘index’ The data
Continue readingFlutter http 400 error when sending an XFile Image
Issue I want to send a jpg file from my flutter app to .Net backend. I’m using http package. My code is as follows: var uri = Uri.parse(‘$url/upload/$id’); var request = http.MultipartRequest(‘POST’, uri); var headers = {‘accept’: ‘*/*’, ‘Content-Type’: ‘multipart/form-data’};
Continue readingi want to ask how to replace local asset using existing data in API
Issue i want to replace assets/1.json to api URL because the required data is in API not local, and how do i change it, i have tried but still getting error. Thank you static Future<Map<String, DataKuliahModel>> getDataKuliah() async { String
Continue readinghow to fix the error If you click next, its data formattedDate should go?
Issue If next button is clicked, its data should go to formattedDate I have tried several times and it keeps giving me an error. next.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Perform action on click Calendar c =
Continue readingFailed host lookup from rest.coinapi.io
Issue I am trying to fetch network data from the coinAPI to get the exchange rate for 1btc to usd.. but after fetching the api and awaiting it in price screen so the ui will give the exchange rate… I
Continue readingGetx Controller not fetching data
Issue So i have an implementation where i pass the id of a parent category and it fetches its child category from the database and displays them in another screen (view). When i click on the parent, it sends the
Continue readingFind closest date to today from API results
Issue I’ve come across a problem which I cannot figure out. I’m trying to display single event on my home screen which is next upcoming by date. That event comes from list of events in the api. Currently I am
Continue readingFAILURE: Build failed with an exception Flutter
Issue FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:app:processDebugResources’. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed D:\Development\ULTIMAT POS\App POS Backup\UltimatePOS_Flutter_1.7.1\Ultimate_POS_Flutter\build\app\intermediates\packaged_manifests\debug\AndroidManifest.xml:34: AAPT: error: resource mipmap/launcher_icon (aka com.pnn.pos:mipmap/launcher_icon) not found. Try: Run with
Continue reading