win32_runner
用于 Flutter Windows 应用的 Dart 运行时 —— 无需 C++ 编译器。
- 星标
- 64
- 复刻
- 5
- 最近推送(UTC)
- 2026年2月23日
- 项目状态
- 已归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
A Dart runner for Flutter Windows apps — no C++ compiler required.
package:win32_runner is an experimental package that replaces the default
C++ runner generated by flutter create with a pure Dart alternative, letting
you build and run Flutter Windows apps without a C++ toolchain installed.
⚠️ Experimental: This package is a proof-of-concept and is not suitable for production use. Plugin support is not yet implemented.
🚀 Getting Started
The example subdirectory contains a ready-to-use sample. Follow the steps below to run an existing Flutter app on Windows using the Dart runner.
1. Clone the repository
C:\src> git clone https://github.com/halildurmus/win32_runner.git
C:\src> cd win32_runner
2. Install dependencies
C:\src\win32_runner> dart pub get
3. Create a sample Flutter app
C:\src\win32_runner> cd ..
C:\src> flutter create simpleapp
C:\src> cd simpleapp
4. Compile the Dart runner
C:\src\simpleapp> dart build cli -t ..\win32_runner\example\win32_runner.dart -o build
5. Compile Flutter code and assets
C:\src\simpleapp> flutter assemble -dTargetPlatform=windows-x64 --output=build -dBuildMode=release release_bundle_windows-x64_assets
6. Run your Flutter app
C:\src\simpleapp> .\build\bundle\bin\win32_runner.exe
You should now see your Flutter app running via the Dart runner:
📝 Documentation
Full API reference is available here:
Additional usage examples are located in the example directory.
🐞 Features and Bugs
If you encounter bugs or need additional functionality, please file an issue.
分类
使用的依赖
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
