sry but i cannot find dart type in rust #1887
Unanswered
HeavySnowJakarta
asked this question in
Q&A
Replies: 1 comment
-
Hi, it is not implemented (yet), but as a workaround, you can pass any Dart functions (closures) to Rust side https://cjycode.com/flutter_rust_bridge/guides/direction/rust-call-dart |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
maybe one of the most basic problems. i defined a type with dart to do the file io operations:
i really have no idea to use it in another
rs
file. should iuse
something? to use it directly in thers
file the lsp server just tellscannot find type \
FileIOManagerDart` in this scope`. how to call the dart methods within the rust functions?Beta Was this translation helpful? Give feedback.
All reactions