Reputation: 1651
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?
Upvotes: 1
Views: 15929
Reputation: 2591
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.
Upvotes: 7