You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
I know I can use the share library by "flutter create -t plugin". But I think this approach is a little cumbersome. Because I want to contain the so files in my project.
For example, I place the so files to the path "flutter_app/linux/lib".
Thanks!
The text was updated successfully, but these errors were encountered:
fayfive
changed the title
Can *.so use "flutter create -t package"
Can I "flutter create -t package" , when I use the so files?
Sep 11, 2021
Because of the way Flutter plugins are set up (they generate a ton of boilerplate files from a templating system for every target platform), it is not recommended to try to create this boilerplate in an existing package.
Instead, create a Flutter FFI plugin.
Here is a PR adding FFI plugins to Flutter. (Instructions to on how to run it in the PR for if you want to use this before its merged.)
I know I can use the share library by "flutter create -t plugin". But I think this approach is a little cumbersome. Because I want to contain the so files in my project.
For example, I place the so files to the path "flutter_app/linux/lib".
Thanks!
The text was updated successfully, but these errors were encountered: