linking between backend on python code and flutter
Tha starflut package is for compiling other scripting language along with your app, not connecting to python backend.
You cannot directly connect to backend. 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.
Mee
Updated on December 15, 2022Comments
-
Mee over 1 year
I am thinking of linking a backend code written in python to mobile application which I want to build its frontend on flutter; I tried starflut package and I downloaded a a sample code but it did not work, and I unfortunately did not understand what was written on flutter documentation about this library. Can anybody help me with this package, or recommend easier way to link between them?
-
dlohani over 4 yearsI believe yes, if you are doing machine learning stuff in python..do it in server, if you want to do machine learning stuff on mobile look for ML kit for mobiles