flutter-go-bridge icon indicating copy to clipboard operation
flutter-go-bridge copied to clipboard

Flutter/Dart to Go FFI generator

Results 9 flutter-go-bridge issues
Sort by recently updated
recently updated
newest added
trafficstars

Hello! Is there a plan to make this generator work with pure Dart packages? I can pin this package to a commit before the switch to the native toolchain, but...

Hi @csnewman! Cool to see that we have an effort for making Dart and Go work together! I have preregistered `package:native_toolchain_go`. If you will actively maintain this package, I'm happy...

$ go generate 2024/10/10 18:16:20 flutter-go-bridge generator 2024/10/10 18:16:22 Parsing 2024/10/10 18:16:22 - Package github.com/openimsdk/openim-sdk-core/v3/open_im_sdk_callback 2024/10/10 18:16:22 - File F:\1024\flutter_openim_sdk\openim-sdk-core-3\open_im_sdk_callback\callback_client.go 2024/10/10 18:16:22 - File F:\1024\flutter_openim_sdk\openim-sdk-core-3\open_im_sdk_callback\callback_go_sdk.go 2024/10/10 18:16:22 Processing 2024/10/10 18:16:22...

https://github.com/csnewman/flutter-go-bridge/blob/bf347b32a54127b6430aa1dcb35beaa486829e4b/native_toolchain_go/lib/go_native_toolchain.dart#L133 It doesn't change to the go source directory(the directory contains go.mod),which leading to build failure

```sh FormatException: Configuration is not in the right format. FormatExceptions: [FormatException: No value was provided for required key: build_mode, #0 Config._throwIfNull (package:cli_config/src/config.dart:628:7) #1 Config.string (package:cli_config/src/config.dart:250:5) #2 BuildConfigImpl._readFieldsFromConfig. (package:native_assets_cli/src/model/build_config.dart:303:20) #3 new...

meet error when using latest version of with `native_assets_cli` ```sh Resolving dependencies... Because native_toolchain_go >=0.3.0 depends on native_assets_cli ^0.5.4 and qbox depends on native_assets_cli ^0.12.0, native_toolchain_go >=0.3.0 is forbidden. So,...

Hey, I'm closely following the example app, with a go directory and `hook/build.dart` that is identical to the example app apart from a single Go function I added to test...

parser contained unexpected data: mapping unexpected type *parser.FuncType: func func Foo(bar func(string)) (err error) { }

I'm trying to implement a bridge to the go etcd client library, but I cannot do it beacause your library doesn't support type selectors, which is pretty much mandatory to...