win32_runner 0.2.0 copy "win32_runner: ^0.2.0" to clipboard
win32_runner: ^0.2.0 copied to clipboard

Compile and run a Flutter app without needing any C/C++ code. Just Dart!

An experimental package that allows you to run Flutter apps from a Dart runner instead of the default C++ runner that is provided when you create a new Flutter project using flutter create.

This package is particularly useful if you want to create a Windows Flutter app without the need for a C++ compiler on your system.

Important Note: This package is currently in an experimental stage and should not be used for production applications. It is primarily a proof-of-concept, and as such, it has some limitations. For example, it does not yet support plugins.

Part of the Dart | Windows suite of Windows packages.

Package: win32_runner Publisher: win32.pub Language: Dart License: BSD-3-Clause

Usage #

You can use the sample app in the example\ subdirectory to run an existing Flutter app on Windows using the Dart runner:

# Create a sample app
C:\src\win32_runner> cd ..
C:\src> flutter create simpleapp
C:\src> cd simpleapp

# Compile Flutter code and assets to the build\ subdirectory
C:\src\simpleapp> flutter assemble -dTargetPlatform=windows-x64 --output=build -dBuildMode=release release_bundle_windows_assets

# Compile Dart runner
C:\src\simpleapp> dart compile exe ..\win32_runner\example\win32_runner.dart -o win32_runner.exe

# Run Flutter app
C:\src\simpleapp> .\win32_runner

Once you've followed these steps, you should see your Flutter app running on Windows using the Dart runner:

demo

Feature requests and bugs #

Please file feature requests and bugs at the issue tracker.

25
likes
0
pub points
20%
popularity

Publisher

verified publisherhalildurmus.dev

Compile and run a Flutter app without needing any C/C++ code. Just Dart!

Homepage
Repository (GitHub)
View/report issues

Topics

#win32 #ffi #windows

License

unknown (license)

Dependencies

args, ffi, win32, win32_registry

More

Packages that depend on win32_runner