Using SafeArea in Dart/Flutter/AndroidStudio for Webview

Viewed 646

In the Flutter code in Android Studio, I want to get Webview inside the safe view as it passes behind the status bar. How can use below code with SafeView widget? Thank you.

@override
Widget build(BuildContext context) {
getDeviceID();

if (deviceID == null) {
  deviceID = "unknown";
}

String webViewUrl = "https://xxx.xxx.com/login.aspx?deviceid=" + deviceID;
return WebviewScaffold(
    url: webViewUrl,
    withJavascript: true,
    withZoom: false
  );
 }
}
0 Answers
Related