mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-21 06:46:23 +08:00
Merge pull request #400 from zymxxx/zymxxxs/improve_feature_for_iOS
feat: iOS 相关改进
This commit is contained in:
@ -71,6 +71,7 @@ class Page extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
final paddingTop = MediaQuery.of(context).padding.top;
|
||||||
return Stack(
|
return Stack(
|
||||||
//alignment: const Alignment(1.2, 0.6),
|
//alignment: const Alignment(1.2, 0.6),
|
||||||
children: [
|
children: [
|
||||||
@ -90,7 +91,7 @@ class Page extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
right: -5.0,
|
right: -5.0,
|
||||||
top: 2.0,
|
top: paddingTop + 2.0,
|
||||||
child: creatButton(context, 'GitHub', Icons.arrow_forward, 'goGithub')
|
child: creatButton(context, 'GitHub', Icons.arrow_forward, 'goGithub')
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -76,6 +76,7 @@ class _WebViewPageState extends State<WebViewPage> {
|
|||||||
withZoom: false,
|
withZoom: false,
|
||||||
withLocalStorage: true,
|
withLocalStorage: true,
|
||||||
withJavascript: true,
|
withJavascript: true,
|
||||||
|
hidden: true,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user