A Startup flutter template for desktop development. Use github-action to build cross-platform automatically.
Support Platform:
- Windows
- Linux
- MacOS
This project contains dependencies for all platforms (see build_dependencies) and use github/workflows that heavily modified from official workflows to complete the job.
See requirement part from official https://flutter.dev/desktop#requirements.
- Config
flutter config --enable-windows-desktop # windows devs
flutter config --enable-macos-desktop # macos devs
flutter config --enable-linux-desktop # linux devs
- Run hello world
flutter run -d windows # for debug version
flutter run -d macos
flutter run -d linux
flutter run windows # for release version
- Distribution see ci.yml.
Notice: The project you can build is decided by the machine os. So you can't build macos If your machine is windows/linux.
If you like this project, leave a star is the best support! File an issue and PR are also welcome :)