how to use Rid in order to build Dart/Flutter apps

  Flutter App

rid-examples

Examples showing how to use Rid in order to build Dart/Flutter apps integrated with Rust.

What is Rid?

Rid stands for Rust integrates Dart and is a tool I am working on that allows to call Rust functions from Dart and Flutter applications by simply annotating them. Its main goal is to make it super easy to implement your UI in Flutter and the logic in Rust.

This in turn allows you to benefit from the respective strength of each platform.

Learn more by following the Getting Started guide.

How does Rid work?

Rid consumes the annotations added to your Rust code to generate all the FFI boilerplate to interact with them from Dart /Flutter.

Additionally it generates extension methods on entities, such as models in order to expose an API on the Dart/Flutter end that is super fun to work with.

Learn more rids application architecture.

Examples

Flutter

Dart Only

Is Rid open sourced?

Rid is Sponsorware and thus not open sourced yet.

Please learn more here about how you can sponsor rid via a monthly contribution and when rid will be fully open sourced.

Download rid examples app source code on GitHub

Examples showing how to use Rid in order to build Dart/Flutter apps integrated with Rust.
https://github.com/thlorenz/rid-examples
7 forks.
230 stars.
5 open issues.

Recent commits: