Python and Dart Integration in Flutter Mobile Application
Solution 1
visit https://pub.dev/packages/starflut
A new flutter plugin project, which supports flutter to interact with other scripting languages such as python, java, ruby, golang, rust, etc. It is easy to use, supports android and ios platform.
Solution 2
You can create an api using Python then serve it your mobile app (FLUTTER) using http requests. I
Solution 3
Yes there are multiple ways to do this I will share two of them which I personally used in the past
-
Using an API Like 'Text Analysis API' It is freemium and verified, also support HTTP request through flutter here is the link https://rapidapi.com/aylien/api/text-analysis
-
Using a Starflut package here is the link of the medium article hope it will help you https://medium.com/@ihassanjavaid/how-to-run-python-scripts-on-flutter-d6a4aedb6227
Hamza Tanveer
Updated on July 09, 2022Comments
-
Hamza Tanveer almost 2 years
Can i do these two things:
- Is there any library in dart for Sentiment Analysis?
- Can I use Python (for Sentiment Analysis) in dart?
My main motive for these questions is that I'm working on an application in a flutter and I use sentiment analysis and I have no idea that how I do that.
Can anyone please help me to solve this Problem.?
Or is there any way that I can do text sentiment analysis in the flutter app?