Reputation: 99
Can I use dart:ffi to call C APIs on flutter desktop. What happens to the performance after that ? Can we use C to speed up flutter?
Thanks
Upvotes: 1
Views: 984
Reputation: 21599
Can I use dart:ffi to call C APIs on flutter desktop.
Yes. FFI works on all desktop platforms. It's used to implement some of the desktop implementations of some of the flutter.dev plugins, in fact.
Upvotes: 1