setOnJavaScriptAlertDialog method
Future<void>
setOnJavaScriptAlertDialog(
- Future<
void> onJavaScriptAlertDialog(- JavaScriptAlertDialogRequest request
inherited
Sets a callback that notifies the host application that the web page wants to display a JavaScript alert() dialog.
Implementation
Future<void> setOnJavaScriptAlertDialog(
Future<void> Function(JavaScriptAlertDialogRequest request)
onJavaScriptAlertDialog) async {
return platform.setOnJavaScriptAlertDialog(onJavaScriptAlertDialog);
}