Flutter application for linux Commands…

Introduction to flutter…..

Flutter is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.

Lets start creating app using simple steps…

Step 1: Create flutter app using these commands

flutter create myapp_linux
cd myapp_linux

step 2: On your linux machine make sure the httpd software is install and its running..

you can run following command to do so..

yum install httpd

systemctl start httpd

systemctl enable httpd

step 3: Create a file name app.py inside folder /var/www/cgi-bin/ and add the following code..

make it executable using chmod +x app.py

and disable firewall

systemctl stop firewalld

setenforce 0

step 5 :

Add the following code in myapp_linux

and its Done !!!!

Demo of app