buildIosWebView method
Implementation
Widget buildIosWebView() {
return UiKitView(
//调用标识
viewType: "com.flutter_to_native_webview",
//参数初始化
creationParams: {
//调用view参数标识
"isScrollListen": true,
"htmlImageIsClick": widget.htmlImageIsClick
},
//参数的编码方式
creationParamsCodec: const StandardMessageCodec(),
//webview 创建后的回调
onPlatformViewCreated: (id) {
platformViewCreatedFunction(id);
},
);
}