Create object python which is used to call python definition and variables. print(await python[“g1”]); This will get the variable value from the python and use it in a flutter . In this way, you can call a function in flutter and save it to a variable or object, and later you can use it for further purpose.
Read moreCan we use Django backend for flutter?
Yes, you can . Django would power the backend for your app (storing and retrieving data) via Django REST Framework (DRF for short). Flutter would create the actual app and communicate with the Django backend to fetch and store data.26 Şub 2019
Read more