Skip to content

Build beautiful desktop apps with flutter and rust. 🌠

License

Notifications You must be signed in to change notification settings

JhettHeliks/flutter-rs

 
 

Repository files navigation

flutter-rs

Build status Crates.io flutter version Gitter chat MIT licensed

Build flutter desktop app in dart & rust.

demo ui

Install

  • Install latest Rust

  • Install libglfw:

    • Mac: brew install glfw
    • linux: apt install libglfw3
  • Install flutter sdk

  • In flutter-demo-app project, set flutter engine version in rust/Cargo.toml

[package.metadata.flutter]
version = "3757390fa4b00d2d261bfdf5182d2e87c9113ff9"
This commit version id can be found in bin/internal/engine.version file in flutter sdk folder.
  • 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.

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: (mac app, mac dmg)

Contribution

To contribute to flutter-rs, please see CONTRIBUTING.

About

Build beautiful desktop apps with flutter and rust. 🌠

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 77.2%
  • Dart 11.0%
  • Python 8.8%
  • NSIS 3.0%