11 releases
0.3.5 | Oct 9, 2019 |
---|---|
0.3.4 | Aug 14, 2019 |
0.3.3 | Jun 13, 2019 |
0.3.2 | May 20, 2019 |
0.1.1 | Dec 24, 2018 |
#690 in GUI
30 downloads per month
Used in flutter-plugins
190KB
5K
SLoC
flutter-engine is a library to make desktop apps in flutter and rust
flutter-engine in action
const ASSETS_PATH: &str = "../build/flutter_assets";
const ICU_DATA_PATH: &str = "./assets/icudtl.dat";
fn main() {
let mut engine = flutter_engine::init().unwrap();
engine
.create_window(
&flutter_engine::WindowArgs {
height: 1200,
width: 1800,
title: "Flutter App Demo",
mode: flutter_engine::WindowMode::Windowed,
bg_color: (255, 255, 255),
},
ASSETS_PATH.to_string(),
ICU_DATA_PATH.to_string(),
vec![],
)
.unwrap();
engine.run_window_loop(None, None);
}
demo
Check this out for a runable demo.
Dependencies
~10–17MB
~316K SLoC