Closed codercengiz closed 1 year ago
Looks similar to https://github.com/fzyzcjy/flutter_rust_bridge/issues/895 , the mirroring logic needs to be fixed
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
When your struct has another optional struct, it gives
cannot be dereferenced
error.I changed only pure_dart example https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_example/pure_dart/rust/external/src/lib.rs
https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_example/pure_dart/rust/src/api.rs
Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
Archlinux
Version of
flutter_rust_bridge_codegen
1.54
Flutter info
No response
Version of
clang++
No response
Version of
ffigen
No response
Additional context
No response