feat: working connection, conn setting, and gear ratio setting for universal shifters
This commit is contained in:
12
rust/src/api/simple.rs
Normal file
12
rust/src/api/simple.rs
Normal file
@ -0,0 +1,12 @@
|
||||
#[flutter_rust_bridge::frb(sync)] // Synchronous mode for simplicity of the demo
|
||||
pub fn greet(name: String) -> String {
|
||||
format!("Hello, {name}!")
|
||||
}
|
||||
|
||||
#[flutter_rust_bridge::frb(init)]
|
||||
pub fn init_app() {
|
||||
// Default utilities - feel free to customize
|
||||
flutter_rust_bridge::setup_default_user_utils();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user