|
@@ -14,16 +14,36 @@ class _HomeState extends State<Home>{
|
14
|
14
|
centerTitle: true,
|
15
|
15
|
),
|
16
|
16
|
body: Center(
|
17
|
|
- child: FlatButton(
|
18
|
|
- minWidth: 300.0,
|
19
|
|
- height: 100.0,
|
20
|
|
- onPressed: (){
|
21
|
|
- Navigator.pushNamed(context, '/verOficinas');
|
22
|
|
- },
|
23
|
|
- child: Text('Ver Oficinas'),
|
24
|
|
- color: Colors.purple,
|
|
17
|
+ child: Column(
|
|
18
|
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
|
19
|
+ children: [
|
|
20
|
+ new FlatButton(
|
|
21
|
+ minWidth: 300.0,
|
|
22
|
+ height: 100.0,
|
|
23
|
+ onPressed: (){
|
|
24
|
+ Navigator.pushNamed(context, '/verOficinas');
|
|
25
|
+ },
|
|
26
|
+ child: Text('Ver Oficinas',
|
|
27
|
+ style: TextStyle(fontSize: 36),
|
|
28
|
+ ),
|
|
29
|
+ color: Colors.purple,
|
|
30
|
+
|
|
31
|
+ ),
|
|
32
|
+ new FlatButton(
|
|
33
|
+ minWidth: 300.0,
|
|
34
|
+ height: 100.0,
|
|
35
|
+ onPressed: (){
|
|
36
|
+ Navigator.pushNamed(context, '/verOficinas');
|
|
37
|
+ },
|
|
38
|
+ child: Text('Otro boton',
|
|
39
|
+ style: TextStyle(fontSize: 36),
|
|
40
|
+ ),
|
|
41
|
+ color: Colors.purple,
|
|
42
|
+
|
|
43
|
+ ),
|
|
44
|
+ ],
|
|
45
|
+ ),
|
25
|
46
|
|
26
|
|
- )
|
27
|
47
|
),
|
28
|
48
|
|
29
|
49
|
);
|