|
|
@@ -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() {
|