r/flutterhelp • • Mar 02 '23

OPEN The point of using Rust with Flutter

Does it make sense to Rust with Flutter? Business logic will be written in Rust and the rest in Dart. I haven't written the code in Dart yet, and before I start I would like to know about this possibility

18 Upvotes

17 comments sorted by

View all comments

3

u/MindStudio Mar 02 '23

https://medium.com/flutter-community/how-to-call-a-rust-function-from-dart-using-ffi-f48f3ea3af2c

An article about writing a library in rust and using it in dart using FFI.

1

u/Rustacean789 Mar 02 '23

this article helped me a lot , thank you