Issue I am using a Ntrip client wrote in Java that is making requests using Socket. This works fine with this code : public void run() { Log.d(TAG, "Run network client with server " + nServer + " and port
Continue readingTag: flutter-http
How to deal with HTTP connection timed out crashes in Flutter
Issue So I have a method that uses the Flutter HTTP library and is responsible for calling HTTP requests to the server with code like this: Future<List<DataModel>> fetchData() async { try { var url = Uri.parse(‘${baseUrlParse}myapipath’); var request = await
Continue readingHow to handle navigation while an HTTP request is made in Flutter?
Issue In my Flutter App, there are 2 screens called "home screen" and "data screen". In data screen I am making a GET Http request to a server and after if request is successful, I need to change some state
Continue readingWhy do I get 'data2' has not been initiliazed error here?
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 readingCan't get the futurebuilder data into the dropdownbutton to pick from there
Issue I am trying to get some String data from a server via future builder, which works. Then transfer those strings into the dropdownbutton thing, to show as options then to be picked. I mean they will show up on
Continue readingIn Android 12+, the REST API calls are very slow in flutter, In WiFi that takes 10 seconds whereas in mobile data it is less than a second
Issue I am facing an issue with Flutter Android 12+ version. App-consuming REST API calls using the Flutter http plugin (Version: 0.13.5). All API calls are HTTPS service calls with the domain name. API calls take 10+ seconds to provide
Continue readingHow to adjust download buffer size on flutter http, dio or flutter_downloader?
Issue I want to download a large file that is amount of about 300MB. It was a lot slower than I thought, and when I looked at the log, I saw that it was fetching bytes with a size of
Continue readingfind the type of file fetched from HTTP URL in flutter
Issue Today someone ask me a simple question And I thought it might be good to answer that here: I want to know the type of content when I get the file with HTTP, How? For example: http.head(Uri.parse(myUrl)).then( (response) {
Continue readingUnexpected null value – API Flutter
Issue When I start the project I got an unexpected null value. I keep getting this error with this API, I don’t have certain of what can be. you can check here api link: https://ffxivcollect.com/api/mounts/257 response { "id": 257, "name":
Continue readingflutter http packages show return null from Api, while in postman data is returned successfully
Issue I have a connection with API, and it is working with no problem in postman: like this: but I have a problem with flutter: this is the code : Future<List<AnswerData>> searchAnswers({required String search}) async { final response = await
Continue reading