@@ -15,69 +15,71 @@ class LoginScreenStates extends State<LoginScreen> {
15
15
home: Scaffold (
16
16
backgroundColor: Colors .black,
17
17
body: LayoutBuilder (builder: (_, constraints) {
18
- return Column (
19
- children: [
20
- Flexible (
21
- flex: 2 ,
22
- child: Container (
23
- padding: EdgeInsets .only (top: 20 ),
24
- alignment: Alignment .center,
25
- color: Colors .white,
26
- child: Expanded (
27
- child: Image (
28
- image:
29
- AssetImage ('lib/assets/images/mobiplus_logo.png' ),
30
- ),
31
- )),
32
- ),
33
- Flexible (
34
- flex: 2 ,
35
- child: Column (
36
- children: [
37
- Container (
38
- width: constraints.maxWidth - 120 ,
39
- padding: EdgeInsets .only (bottom: 10 ),
40
- child: ElevatedButtonTheme (
41
- data: ElevatedButtonThemeData (
42
- style: ButtonStyle (
43
- shape: MaterialStateProperty .all<
44
- RoundedRectangleBorder > (
45
- RoundedRectangleBorder (
46
- borderRadius:
47
- BorderRadius .circular (30.0 ))),
48
- backgroundColor:
49
- MaterialStateProperty .all <Color >(
50
- Color (0xffFF5D00 )))),
51
- child: ElevatedButton (
52
- onPressed: () async {},
53
- child: Text ('Continuar com Google' ),
18
+ return Container (
19
+ margin: EdgeInsets .only (top: 50 ),
20
+ child: Column (
21
+ children: [
22
+ Flexible (
23
+ flex: 2 ,
24
+ child: Container (
25
+ padding: EdgeInsets .only (top: 20 ),
26
+ alignment: Alignment .center,
27
+ child: Expanded (
28
+ child: Image (
29
+ image:
30
+ AssetImage ('lib/assets/images/mobiplus_logo.png' ),
31
+ ),
32
+ )),
33
+ ),
34
+ Flexible (
35
+ flex: 2 ,
36
+ child: Column (
37
+ children: [
38
+ Container (
39
+ width: constraints.maxWidth - 120 ,
40
+ padding: EdgeInsets .only (bottom: 10 ),
41
+ child: ElevatedButtonTheme (
42
+ data: ElevatedButtonThemeData (
43
+ style: ButtonStyle (
44
+ shape: MaterialStateProperty .all<
45
+ RoundedRectangleBorder > (
46
+ RoundedRectangleBorder (
47
+ borderRadius:
48
+ BorderRadius .circular (30.0 ))),
49
+ backgroundColor:
50
+ MaterialStateProperty .all <Color >(
51
+ Color (0xffFF5D00 )))),
52
+ child: ElevatedButton (
53
+ onPressed: () async {},
54
+ child: Text ('Continuar com Google' ),
55
+ ),
54
56
),
55
57
),
56
- ),
57
- Container (
58
- width : constraints.maxWidth - 120 ,
59
- padding : EdgeInsets . only (bottom : 10 ),
60
- child : ElevatedButtonTheme (
61
- data : ElevatedButtonThemeData (
62
- style : ButtonStyle (
63
- shape : MaterialStateProperty .all <
64
- RoundedRectangleBorder > (
65
- RoundedRectangleBorder (
66
- borderRadius :
67
- BorderRadius . circular ( 30.0 ))),
68
- backgroundColor :
69
- MaterialStateProperty . all < Color >(
70
- Color ( 0xff808080 )))),
71
- child : ElevatedButton (
72
- onPressed : () async {} ,
73
- child : Text ( 'Continuar com Apple' ),
58
+ Container (
59
+ width : constraints.maxWidth - 120 ,
60
+ padding : EdgeInsets . only (bottom : 10 ) ,
61
+ child : ElevatedButtonTheme (
62
+ data : ElevatedButtonThemeData (
63
+ style : ButtonStyle (
64
+ shape : MaterialStateProperty .all <
65
+ RoundedRectangleBorder > (
66
+ RoundedRectangleBorder (
67
+ borderRadius :
68
+ BorderRadius . circular ( 30.0 ))),
69
+ backgroundColor :
70
+ MaterialStateProperty . all < Color >(
71
+ Color ( 0xff808080 )))),
72
+ child : ElevatedButton (
73
+ onPressed : () async {},
74
+ child : Text ( 'Continuar com Apple' ) ,
75
+ ),
74
76
),
75
77
),
76
- ) ,
77
- ] ,
78
+ ] ,
79
+ ) ,
78
80
),
79
- ) ,
80
- ] ,
81
+ ] ,
82
+ ) ,
81
83
);
82
84
}),
83
85
),
0 commit comments