Develop beautiful desktop apps with flutter and rust. 🌠
Branch: master
Clone or download
Bach
Latest commit 1f51539 Feb 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
flutter-app-demo support frameless window_mode Feb 15, 2019
flutter-download bump version 0.1.2 Jan 22, 2019
flutter-engine support frameless window_mode Feb 15, 2019
www/images add flutter-rs logo Jan 24, 2019
.gitignore move flutter-runner to workspace Dec 19, 2018
.travis.yml Create .travis.yml Feb 12, 2019
AUTHORS Add my name to AUTHORS Feb 11, 2019
CONTRIBUTING.md Contributing guideline Feb 8, 2019
Cargo.lock Contributing guideline Feb 8, 2019
Cargo.toml Contributing guideline Feb 8, 2019
LICENSE Initial commit Dec 11, 2018
README.md Add CI Feb 12, 2019

README.md

flutter-rs Build status Crates.io Gitter chat MIT licensed

Build flutter desktop app in dart & rust

This is the development repo. Head to flutter-app-template for a running demo.

Install

  • Install latest Rust

  • Install libglfw:

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

  • In flutter-app project, set flutter sdk version in Cargo.toml

[package.metadata.flutter]
version = "5af435098d340237c5e3a69bce6aaffd4e3bfe84"
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
  • Application icons
  • System dialogs
  • Clipboard support
  • Cross platform support (mac & linux)
  • Support distribution format: (mac app, mac dmg)

Roadmap:

0.2

  • Support setting default window background color.
  • Loader UI and rebranding.
  • Desktop integration: App menu, context menu, file dialogs.
  • Flutter scroller should support desktop scroll event.
  • Download dll from web?

Contribution

To contribute to flutter-rs, please see CONTRIBUTING.