shekohex / flutterust

Flutter + Rust = :heart:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi, is there a man page for this?

Joe23232 opened this issue · comments

Hi, are there any man pages available?

Additionally is it harder to use Flutterrust over Flutter dart?

Hello @Joe23232
No, there are no man pages for this, why should be? 😅

Also, this is not by any means a replacement for Flutter with Dart!
Just to be clear, this a template where you can write truly native plugins with maximum performance for Flutter applications using Rust.

For example, if your application is doing a lot of image processing and it acts slow, you could write a plugin in Rust and say for example you could use the image crate in it and expose some functions to do what you need to the Dart/Flutter side from Rust (FFI) and you got now a fast image processing.

Ah I see, thanks mate :)

But is this supposed to be used along side with Flutter Dart?

Yes, it is used along with Flutter/Dart.

Here are a few examples:

Sunshine: Sunscreen
Edgeware: Edgeware Wallet
Owlchat: (Private, Still under construction).

I see, thanks mate :)

Sorry to ask you this but like do you know how do I get started with pure Rust with Android? I know that Rust can be used to call APIs. But how would I get started?

One of our contributors (@i-schuetz) is working on this repo where you could use Rust inside Android/iOS separately without using Flutter.
you should check it out!

Thanks mate for the link, I appreciate it :)

Happy to help, feel free to close this issue if it solved your questions!

Thanks mate, will do :)