瀏覽代碼

绑定游戏

panhui 6 年之前
父節點
當前提交
f1ba209155
共有 1 個文件被更改,包括 28 次插入29 次删除
  1. 28 29
      lib/pages/BindGame.dart

+ 28 - 29
lib/pages/BindGame.dart

@@ -83,35 +83,34 @@ class BindGameState extends State<BindGame> {
 
   @override
   Widget build(BuildContext context) {
-    return new WillPopScope(
-        child: Scaffold(
-            appBar: AppBar(
-              backgroundColor: PRIMARY_COLOR,
-              title: Text('绑定账号'),
-              centerTitle: true,
-              elevation: 0,
-            ),
-            body: Container(
-              color: BG_SUB_COLOR,
-              padding: EdgeInsets.all(15),
-              child: Column(
-                children: <Widget>[
-                  Container(
-                    height: 220,
-                    width: double.infinity,
-                    // padding: EdgeInsets.symmetric(vertical: 15, horizontal: 34),
-                    decoration: BoxDecoration(
-                        image: DecorationImage(
-                            image: AssetImage('images/img_chijizhanchang.png'),
-                            fit: BoxFit.cover)),
-                    child: Column(
-                      mainAxisAlignment: MainAxisAlignment.end,
-                      children: _bindWidegt(),
-                    ),
-                  )
-                ],
-              ),
-            )));
+    return new Scaffold(
+        appBar: AppBar(
+          backgroundColor: PRIMARY_COLOR,
+          title: Text('绑定账号'),
+          centerTitle: true,
+          elevation: 0,
+        ),
+        body: Container(
+          color: BG_SUB_COLOR,
+          padding: EdgeInsets.all(15),
+          child: Column(
+            children: <Widget>[
+              Container(
+                height: 220,
+                width: double.infinity,
+                // padding: EdgeInsets.symmetric(vertical: 15, horizontal: 34),
+                decoration: BoxDecoration(
+                    image: DecorationImage(
+                        image: AssetImage('images/img_chijizhanchang.png'),
+                        fit: BoxFit.cover)),
+                child: Column(
+                  mainAxisAlignment: MainAxisAlignment.end,
+                  children: _bindWidegt(),
+                ),
+              )
+            ],
+          ),
+        ));
   }
 
   List<Widget> _bindWidegt() {