I would like to build exe file from my macOS machine. How is possible?
2 Answers
Per the documentation:
To compile a desktop app, you must build the app on the targeted platform: build a Windows app on Windows, a macOS app on macOS, and a Linux app on Linux.
You can follow this issue to see if that changes in the future.
The short answer is no.
But you can build your app using a windows emulator or doing a windows dualboot with bootcamp.
There is also online services who let you build flutter projects from a github repo but I don't think they can build a windows app.
-
3There are a variety of online services that offer builds using Windows machines, including GitHub itself, that allow you to install the tools needed to build a Flutter project for Windows.– smorganJan 5, 2021 at 13:03