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.
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_runner2. Install dependencies
C:\src\win32_runner> dart pub get3. Create a sample Flutter app
C:\src\win32_runner> cd ..
C:\src> flutter create simpleapp
C:\src> cd simpleapp4. Compile the Dart runner
C:\src\simpleapp> dart build cli -t ..\win32_runner\example\win32_runner.dart -o build5. Compile Flutter code and assets
C:\src\simpleapp> flutter assemble -dTargetPlatform=windows-x64 --output=build -dBuildMode=release release_bundle_windows-x64_assets6. Run your Flutter app
C:\src\simpleapp> .\build\bundle\bin\win32_runner.exeYou should now see your Flutter app running via the Dart runner:
Full API reference is available here:
Additional usage examples are located in the example directory.
If you encounter bugs or need additional functionality, please file an issue.
