FFI enables programs written in one language to call libraries written in other languages. As of Dart 2.18 the Dart code can now call the Objective-C and Swift. The idea behind the package ffigen is For large APIs, it can be very time-consuming to write the Dart bindings.
We will cover briefly:
What's FFIGen
What's new in FFIGen
Dart CLI App and integrate obj-c-based libraries
Testing FFIGen
Using FFIGen in Dart | How to use FFIGen in Dart 2.18 *
1:06 Calling FFI in Dart
2:36 Configs for FFIGen
5:06 Using FFI in Dart
7:04 Testing FFIGen in Dart
Website: https://flatteredwithflutter.com/usin...
Medium: / using-ffigen-in-dart-2-18
DevTo: https://dev.to/aseemwangoo/using-ffig...
Source Code: https://github.com/AseemWangoo/flutte...
In case, this helped, pass me a coffee!! 😊😊
https://www.buymeacoffee.com/aseemwangoo
#programming #technology #swift