# flutter_rust_bridge

> Call Rust code from Flutter and Dart, with the glue code generated for you

Source: https://talira.ai/catalog/flutter-rust-bridge-5cp1d45d
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / language bindings](https://talira.ai/categories/developer-tools/language-bindings), [languages / dart](https://talira.ai/categories/languages/dart), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [fzyzcjy](https://talira.ai/orgs/fzyzcjy.md)

flutter_rust_bridge is a binding generator between Flutter/Dart and Rust: you write ordinary Rust, with arbitrary types, closures, &mut, async functions and traits, and call it from Flutter as if it were Dart, while its code generator writes the glue in between. Rust can also call Dart functions. Version 2 sets up a project with one command (flutter_rust_bridge_codegen create), can scan existing Rust packages, and adds a faster SSE codec. It works on Android, iOS, Windows, Linux, macOS and the web (JavaScript and WebAssembly), and is an official Flutter Favorite package.

## Links

- Website: https://fzyzcjy.github.io/flutter_rust_bridge/
- GitHub: https://github.com/fzyzcjy/flutter_rust_bridge
- Docs: https://fzyzcjy.github.io/flutter_rust_bridge/

## Problems it solves

- call my Rust library from a Flutter app without writing FFI glue by hand
- move heavy computation in my Flutter app into Rust
- share one Rust core between Flutter apps on mobile, desktop and web

## Features

- generates Dart bindings for ordinary Rust code
- arbitrary Rust types, closures, async functions and traits
- Rust can call Dart functions
- one-command project setup with flutter_rust_bridge_codegen create
- Android, iOS, Windows, Linux, macOS and web (JS and WebAssembly)

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 1.00, adoption 0.75, momentum 0.59, community 0.89, backing 0.30, extensibility 0.00.

- last commit yesterday
- 320 commits in the last 90 days
- latest release v2.14.0-beta.2 2 months ago
- 5.5k GitHub stars
- 163 contributors
- backed by fzyzcjy

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)
- Works with [Rust](https://talira.ai/catalog/rust-mf51vs5t.md)

## Alternatives

- [bindgen](https://talira.ai/catalog/bindgen-8awz7b66.md): Generates Rust FFI bindings to C and some C++ libraries from their headers
- [ffi](https://talira.ai/catalog/ffi-twrxpgxn.md): Utilities and a binding generator for calling C from Dart through FFI
- [Rustler](https://talira.ai/catalog/rustler-w0cgm3kr.md): Write Erlang and Elixir NIFs in safe Rust
- [napi-rs](https://talira.ai/catalog/napi-rs-ka76jrjv.md): A framework for building compiled Node.js add-ons in Rust via Node-API
- [wasm-bindgen](https://talira.ai/catalog/wasm-bindgen-r2y6dgby.md): Generates the glue between Rust WebAssembly modules and JavaScript
- [PyO3](https://talira.ai/catalog/pyo3-kv62pfvk.md): Rust bindings for Python: write Python extensions in Rust or embed Python

## Sources

[^1]: https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/LICENSE (checked 29 Nov 2026)
