Calling Native Libraries in Flutter with Dart FFI |

In this tutorial, you’ll learn how to use Dart FFI to access native libraries that support C-interoperability.

This is a companion discussion topic for the original entry at

Great example and very detailed! Runs immediately on iOS in debug mode. However, in release mode I can only see a grey screen. Seems like the C code cannot get loaded. Any suggestions? Thanks.

How Native C library can call a Dart function ?

There will always be a case we require callback from Native C program to Dart.