mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: webview添加SafeArea
This commit is contained in:
@@ -79,6 +79,7 @@ class _WebviewPageState extends State<WebviewPage> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
Expanded(
|
Expanded(
|
||||||
|
child: SafeArea(
|
||||||
child: WebViewWidget(
|
child: WebViewWidget(
|
||||||
controller: _webviewController.controller,
|
controller: _webviewController.controller,
|
||||||
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
|
gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
|
||||||
@@ -99,6 +100,7 @@ class _WebviewPageState extends State<WebviewPage> {
|
|||||||
),
|
),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user