test that flutter_rust_bridge works

This commit is contained in:
polv committed 2026-02-22 01:13:11 +07:00
1 parent 59968e0d6c
commit 5da8846a42
196 files changed
+11344 -9

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#[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();
}