-
Might be out of scope... I mean not something like what |
Beta Was this translation helpful? Give feedback.
Answered by
nrbnlulu
Jan 12, 2025
Replies: 1 comment 11 replies
-
Hi, do you mean https://cjycode.com/flutter_rust_bridge/quickstart "Flutter package" this one? |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah I finally managed to display something
As you can see I am really a professional png renderer 😄
Turns out you should create textures on the main platform thread (as mentioned)
and iron dash provides just that (
run_in_main_thread(|| {})
thing).So to sum up, if you need to create textures in rust (via
frb
) it is generally possible, (currently via Irondash).Though I don't feel comfortable relaying on irondash (due to its no docs / unknown maintanance status), maybe in the future I'll give a try with
cxx
crate.code here https://github.com/nrbnlulu/my_app