flutter create --platforms=android,ios,macos,windows,linux --template=plugin_ffi native_add The native_add project will support Android, iOS, Linux, macOS, and Windows. It will have a lib folder containing the Dart code, a src folder containing C codes, and an example folder containing a Flutter application to test the plugin. Create FFI plugin How to use the FFI in Flutter?