I am going to open AlertDialog over WebviewScaffold but it not shown. When I open the AlertDialog, it was appear under the WebviewScaffold.
Below is my code,
child: Container(
child: WebviewScaffold(
url: agreementURL,
withZoom: false,
withLocalStorage: false,
hidden: true,
withJavascript: true,
),
),
When internet is not available I will show the AlertDialog but dialog appear under the WebviewScaffold.
Thanks.
You can use the hide method to hide the webview whenever you want to display the dialog.
Code:
// when displaying the dialog