Flutter – Dialog not showing data
I am trying to get data from an API, which I did successfully, and show the data in a dialog box on my Flutter App. Initially what I did was create a function void _showDialog() right after the function where…
I am trying to get data from an API, which I did successfully, and show the data in a dialog box on my Flutter App. Initially what I did was create a function void _showDialog() right after the function where…
I've setup Nginx with reverse proxy to my django backend api. The requests from Postman work perfectly fine but on Flutter I get a HTTP 400 157 from the nginx server while performing a GET request. Upon inspecting the log…
I have a text field to search for cities. When I type a character, a request is sent to the server (API). When I enter any character. I need to cancel the previous request that is pending. Please help dear…
I'm currently developing a Flutter web application where I've encountered an issue specifically when attempting to send a GET request with a body. The application works as expected on Chrome, but upon sending this particular request, I consistently receive an…
I need to fetch Category Data from my custom made API. I create a model, controller for fetch data from API with help of getx, but it give me error. I don't know what is the problem. Can anybody help…
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 using…
//sign() fnction is in statless widget var y y=signIn(); Navigator.of(context).push( MaterialPageRoute( builder: (context) => posting(y), ), ); Future<Response?> signIn() async { var dio = Dio(); try { var response = await dio.post('https://cisfapp.cisf.gov.in/abc/post.php', data: { "method" : "posting", "username" : 1652356789…