@@ -7,32 +7,36 @@ class LoginPage extends StatelessWidget {
77 @override
88 Widget build (BuildContext context) {
99 return new Container (
10- color: Color (GSYColors .primaryValue),
11- child: new Center (
12- child: new Card (
13- elevation: 5.0 ,
14- shape: new RoundedRectangleBorder (borderRadius: BorderRadius .all (Radius .circular (10.0 ))),
15- color: Color (GSYColors .cardWhite),
16- margin: const EdgeInsets .all (30.0 ),
17- child: new Padding (
18- padding: new EdgeInsets .only (left: 30.0 , top: 60.0 , right: 30.0 , bottom: 80.0 ),
19- child: new Column (
20- mainAxisAlignment: MainAxisAlignment .center,
21- mainAxisSize: MainAxisSize .min,
22- children: < Widget > [
23- new Image (image: new AssetImage ('static/images/logo.png' ), width: 80.0 , height: 80.0 ),
24- new Padding (padding: new EdgeInsets .all (10.0 )),
25- new GSYInputWidget (hintText: "11111" , iconData: Icons .access_alarm),
26- new Padding (padding: new EdgeInsets .all (10.0 )),
27- new GSYInputWidget (hintText: "11111" , iconData: Icons .access_alarm),
28- new Padding (padding: new EdgeInsets .all (30.0 )),
29- new GSYFlexButton (
30- text: GSYStrings .login_text,
31- color: Color (GSYColors .primaryValue),
32- textColor: Color (GSYColors .textWhite),
33- onPress: () {},
34- )
35- ],
36- )))));
10+ color: Color (GSYColors .primaryValue),
11+ child: new Center (
12+ child: new Card (
13+ elevation: 5.0 ,
14+ shape: new RoundedRectangleBorder (borderRadius: BorderRadius .all (Radius .circular (10.0 ))),
15+ color: Color (GSYColors .cardWhite),
16+ margin: const EdgeInsets .all (30.0 ),
17+ child: new Padding (
18+ padding: new EdgeInsets .only (left: 30.0 , top: 40.0 , right: 30.0 , bottom: 80.0 ),
19+ child: new Column (
20+ mainAxisAlignment: MainAxisAlignment .center,
21+ mainAxisSize: MainAxisSize .min,
22+ children: < Widget > [
23+ new Image (image: new AssetImage ('static/images/logo.png' ), width: 90.0 , height: 90.0 ),
24+ new Padding (padding: new EdgeInsets .all (10.0 )),
25+ new GSYInputWidget (hintText: "11111" , iconData: Icons .access_alarm),
26+ new Padding (padding: new EdgeInsets .all (10.0 )),
27+ new GSYInputWidget (hintText: "11111" , iconData: Icons .access_alarm),
28+ new Padding (padding: new EdgeInsets .all (30.0 )),
29+ new GSYFlexButton (
30+ text: GSYStrings .login_text,
31+ color: Color (GSYColors .primaryValue),
32+ textColor: Color (GSYColors .textWhite),
33+ onPress: () {},
34+ )
35+ ],
36+ ),
37+ ),
38+ ),
39+ ),
40+ );
3741 }
3842}
0 commit comments