Now in your main flutter file, where you want to access, add this code in the function you want to get your output by python script . var data = await getData(‘http://10.0.2.2:5000/); var decodedData = jsonDecode(data); print(decodedData[‘query’]); That’s it.
Read moreWhich backend is best for flutter?
Here are some great backend options for the Flutter app.
Read moreDoes flutter work for backend?
The Backendless SDK for Flutter provides backend support for Flutter web applications as well as Android and iOS mobile apps . Now, your Flutter app can enjoy all the functions and features of a Backendless backend on both web and mobile.
Read moreCan I use python as backend for flutter?
When you make backend in python, you need to write APIs (see How to build rest api in Python ). Then from flutter you can connect to those APIs using http package . You can also checkout this tutorial series in youtube. Here the tutor teaches to build flutter app as well as simple backend in python.30 Kas 2019
Read more