flutter_rust_bridge 2.4.0

High-level memory-safe binding generator for Flutter/Dart <-> Rust
Documentation
1
2
3
4
5
6
7
pub(crate) mod handler;

use std::future::Future;
use std::pin::Pin;

/// Roughly speaking, just BoxFuture + UnwindSafe.
pub type DartFnFuture<T> = Pin<Box<dyn Future<Output = T> + Send + 'static>>;