'Flutter ,Chaquopy example

Can anyone provide a simple example where we call a function from script.py file in flutter using chaquopy, as the example provided in pub-dev does not show how to call a .py file using chaquopy in flutter, all the examples of chaquopy were for kotlin or java and they dont work for flutter , even a simple print statement from the python file would suffice. thank you



Solution 1:[1]

Hi I am the creator of that plugin, you can checkout this public repository for how it works internally. It includes the function calling part that you required for your reference.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jay Dangar