Thank you for your efforts, your project helped me solve a big problem.
But I encountered a problem when using the project, I would like to ask you:
I ran the dart run ffigen command, and only one file was generated: generated_bindings.dart, this file has line 1.4w, and all the information is in this one file. Of course, I can use this file to run normally.
But I see that in your project, the files generated by ffi are divided into modules: flutter_trust_wallet_core/tree/main/lib/ffi_impl
I prefer this way of yours as it makes the code much clearer.
Thank you for your efforts, your project helped me solve a big problem.
But I encountered a problem when using the project, I would like to ask you:
I ran the
dart run ffigen
command, and only one file was generated:generated_bindings.dart
, this file has line 1.4w, and all the information is in this one file. Of course, I can use this file to run normally.But I see that in your project, the files generated by ffi are divided into modules:
flutter_trust_wallet_core/tree/main/lib/ffi_impl
I prefer this way of yours as it makes the code much clearer.
I checked how ffigen is used: https://pub.dev/packages/ffigen
I can't find a way to unpack it either.
Did you split it manually?