Skip to content
Build beautiful desktop apps with flutter and rust. 🌠
Rust C
Branch: master
Clone or download
gliheng Merge pull request #64 from gbtb/keyevent_action_fix
fixed wrong key event direction
Latest commit 1fcfbcb Aug 15, 2019

README.md

flutter-rs

Appveyor status Travis status Crates.io flutter version Gitter chat MIT licensed

Build flutter desktop app in dart & rust.

demo ui

Install

  • Install Rust@^1.32.0
  • Install libglfw:
    • Mac: brew install glfw
    • linux: apt install libglfw3
  • Install flutter sdk
  • Set flutter engine version. You can set this using any of the following methods.
    • If you have flutter cli in your PATH, you're set.
    • Set FLUTTER_ROOT environment variable to your flutter sdk path
    • Set FLUTTER_ENGINE_VERSION environment variable. This commit version id can be found in bin/internal/engine.version file in flutter sdk folder.

Run example

You may want to checkout flutter-app-demo for an example.

  • Run scripts/run.py to get a running example. Note: The first run is going to take a while to download rust dependecies and flutter engine.

  • Run scripts/build.py --release nsis|mac|dmg|snap to build distribution format

Features:

  • Support Hot reload
  • MethodChannel, EventChannel
  • Async runtime using tokio
  • System dialogs
  • Clipboard support
  • Cross platform support, Runs on mac, windows, linux
  • Support distribution format: (windows NSIS, mac app, mac dmg, linux snap)

Contribution

To contribute to flutter-rs, please see CONTRIBUTING.

ChangeLog

CHANGELOG.

You can’t perform that action at this time.