FLUTTER ECOSYSTEM

halildurmus/win32_runner

用於 Flutter Windows 應用的 Dart 執行環境 —— 無需 C++ 編譯器。

win32_runner 專案封面
Stars
64
Forks
5
最近推送(UTC)
2026年2月23日
專案狀態
已封存
Halil Durmus GitHub avatar
GITHUB User

Halil Durmus ↗

Software Engineer • Dart Enthusiast💙🎯

語言Dart

技術主題

使用的依賴

依賴清單 9 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

ci Package: win32_runner Publisher: halildurmus.dev Language: Dart License: BSD-3-Clause

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:

demo

📝 Documentation

Full API reference is available here:

👉 API Reference.

Additional usage examples are located in the example directory.

🐞 Features and Bugs

If you encounter bugs or need additional functionality, please file an issue.