Reading Notes About Platform Channel

The PDF as follows illustrates the implementation of platform channel including message channel, method channel and event channel.
Literally, message channel is used to send messages from dart to native side. As for method channel, it is used to call native method from dart side.
Event channel is mostly used for frequent calls of native method from dart side, keyboard event notice, i.e. :
Platform View is provided by flutter for developers to apply native UI components in flutter project and it is achieved by the application
of platform channel to share texture information: texture ID. The core of platform view is the rendering native texture in flutter.

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

</embed>

参考

https://www.epubit.com/bookDetails?id=UB7812bd93e7e58


ZijunHuang

Ripley's Blog