setOnJavaScriptConfirmDialog method
Sets a callback that notifies the host application that the web page wants to display a JavaScript confirm() dialog.
Implementation
Future<void> setOnJavaScriptConfirmDialog(
Future<bool> Function(JavaScriptConfirmDialogRequest request)
onJavaScriptConfirmDialog) async {
return platform.setOnJavaScriptConfirmDialog(onJavaScriptConfirmDialog);
}