April
1st,
2022
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.
参考
https://www.epubit.com/bookDetails?id=UB7812bd93e7e58