dart_native icon indicating copy to clipboard operation
dart_native copied to clipboard

Write iOS&macOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.

Results 30 dart_native issues
Sort by recently updated
recently updated
newest added

**Describe the bug** ../../.pub-cache/hosted/pub.flutter-io.cn/dart_native-0.7.3/lib/src/darwin/runtime/internal/native_runtime.dart:24:5: Error: Type 'Bool' not found. Bool returnString, ^^^^ ../../.pub-cache/hosted/pub.flutter-io.cn/dart_native-0.7.3/lib/src/darwin/runtime/internal/native_runtime.dart:110:5: Error: Type 'Bool' not found. Bool shouldReturnAsync, ^^^^ ../../.pub-cache/hosted/pub.flutter-io.cn/dart_native-0.7.3/lib/src/android/runtime/functions.dart:75:21: Error: 'Bool' isn't a type. Bool isInterface)>>('InvokeNativeMethod') ^^^^...

bug

Hi, I was implementing the fully automatic memory management between Dart/Flutter and Rust (see https://github.com/fzyzcjy/flutter_rust_bridge/issues/243), so I asked some questions to the Dart team, and I find the following reply...

google flutter 2.0 is supported desktop version(windows/mac/linux), expect to support c/c++ version in dart_native...

接入这个后,偶尔出现崩溃,下面是日志,请问能看出是什么原因吗 ``` 2022-01-06 13:39:03.723 28751-28751/com.addcn.android.house591 E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted 2022-01-06 13:39:03.972 6721-27866/? E/MiuiFastConnectService: check adv data not fast connect 2022-01-06 13:39:04.031 28751-12801/com.addcn.android.house591 A/libc: fdsan: attempted to close...

比如dart_native,我调原生的一个方法,需要弹窗,需要判断当前activity是否destroy等,我如何拿到这个activity呢

大佬好。 我在调用iOS的方法时,方法内部使用了一些UIView,但是报错了,说是不在主线程。 所以想问一下,dart -> native,默认会在非主线程调用吗?怎么样可以让这个调用发生在主线程呢?

your `readme` states > Replaces the low-performing Flutter channel with faster and more concise code. I care less about the "concise" part, but your claim that your solution is faster...

Does DartNavtive support call native c/c++ code directly in Android?

`dylib is null, open dyLibrary path + libdart_native.so` `Invalid argument(s): Failed to load dynamic library (dlopen(libdart_native.so, 0x0001): tried: '/Users/civelxu/Library/Application Support/fvm/versions/flutter/bin/cache/artifacts/engine/darwin-x64/./libdart_native.so' (no such file), '/Users/civelxu/Library/Application Support/fvm/versions/flutter/bin/cache/artifacts/engine/darwin-x64/../../../libdart_native.so' (no such file), '/Users/civelxu/Library/Application Support/fvm/versions/flutter/bin/cache/artifacts/engine/darwin-x64/Frameworks/libdart_native.so'...