I saw a few peoples managed to build flutter apps for other OS than the usual Android/IOS
My question here is simple : How ? What is the current process to build a flutt
Step 1:
For Flutter to run on Desktop, we must be on the master channel, with the latest release. So run from cmd
,
flutter channel master
and
flutter upgrade
Step 2: Then we have to enable flutter desktop support.
set ENABLE_FLUTTER_DESKTOP=true
Step 3:
Then clone this repo and cd
example directory.
Step 4:
Then replace the lib
folder inside the example directory with our existing code, and replace the pubspec.yaml file, with our existing one.
Step 5: Then run from terminal
flutter packages get
and
flutter run
You can find more info here.