自己也是一知半解,摸索得知使用EventChannel可以实现, 详细代码参考如下插件。
https://github.com/flutter/plugins/tree/master/packages/video_player