Daco Harkes

Results 574 comments of Daco Harkes

@hustxiaoc Could you please provide more information? What version of Flutter are you using? And do you have a minimal reproduction?

Do the fixes mentioned https://github.com/dart-lang/ffi/issues/39#issuecomment-618985576 work for you?

Hi @nikeokoronkwo thanks for the report. Yes, `package:native_toolchain_c` is the right place. Would you be able to provide a PR that fixes it? (Also, if you're using Flutter, what toolchain...

> The main design goal is that the script should be composable. I'd suggest something along the lines of: `hook/build.dart` ```dart import 'package:hooks/hooks.dart'; import 'package:sqlite/src/ffigen_build.g.dart'; void main(List args) async {...

I'd let the code generator generate the build hook if it doesn't exist yet, and if it already exists check that `buildFfiGenAsset` is called. And het the code generator always...

🙏 ! > I also consolidated all of the `analysis_options.yaml` files into one, in the workspace. While having a separate for each package makes the `excludes` sections cleaner and more...

> > Every pub get command needs to be flutter instead of dart? > > It should be enough to download Flutter instead of Dart, then running the `dart` executable...

Thanks a ton @Levi-Lesches! 🚀 > This is coming from [`package:dart_apitool`](https://pub.dev/packages/dart_apitool). They're expecting each package to have its own `.dart_tool` directory, but that isn't true in the case of mono-repos....

> * `dart test` in `package:ffigen` [fails](https://github.com/dart-lang/native/actions/runs/12779554222/job/35673003459?pr=1884) because of `cyclic_package_1` and `cyclic_package_2` I've dove into this. It's because we don't properly pass the `runPackageName` everywhere. In `package:dartdev` we do, so...

@Levi-Lesches The Dart version containing the fixes is https://github.com/dart-lang/sdk/releases/tag/3.8.0-28.0.dev. The next dart dev release (Tuesday next week), should contain the fixes. The Flutter master channel contains the fixes for `flutter`...