Flutter通过插件调用原生安卓
Architectural overview: platform channels
Messages are passed between the client (UI) and host (platform) using platform channels as illustrated in this diagram:
Messages and responses are passed asynchronously, to ensure the user interface remains responsive.
Platform channel data types support and codecs
参考:
https://docs.flutter.dev/development/platform-integration/platform-channels