loadWebView method
void
loadWebView()
Implementation
void loadWebView() {
widget.webViewCtrl.setJavaScriptMode(JavaScriptMode.unrestricted);
widget.webViewCtrl.addJavaScriptChannel('magicFlutter',
onMessageReceived: (JavaScriptMessage message) {
onMessageReceived(message);
});
widget.webViewCtrl.loadRequest(Uri.parse(url!));
}