linking between backend on python code and flutter

13,165

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.

Share:
13,165
Mee
Author by

Mee

Updated on December 15, 2022

Comments

  • Mee
    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
    dlohani over 4 years
    I 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