建议放到ohos/har目录下,但是放到其他目录也是可以的,应用能够依赖到就行。example/下是写使用插件的Flutter应用的,ohos/下是写Ohos平台原生插件和API的实现,具体可以参考文档:https://gitee.com/openharmony-sig/flutter\_samples/blob/master/ohos/docs/04\_development/README.mdhttps://gitee.com/openharmony-sig/flutter\_samples/blob/master/ohos/docs/07\_plugin/README.md
建议放到ohos/har目录下,但是放到其他目录也是可以的,应用能够依赖到就行。example/下是写使用插件的Flutter应用的,ohos/下是写Ohos平台原生插件和API的实现,具体可以参考文档:
https://gitee.com/openharmony-sig/flutter\_samples/blob/master/ohos/docs/04\_development/README.md
https://gitee.com/openharmony-sig/flutter\_samples/blob/master/ohos/docs/07\_plugin/README.md