Browse Source

menu fixes

Oniel Mendez 3 years ago
parent
commit
37d8a91ffa

+ 0
- 2
fast_med_flutter/lib/routes/home.dart View File

23
           children: [
23
           children: [
24
             newButton(context,'/verOficinas','Ver Oficinas'),
24
             newButton(context,'/verOficinas','Ver Oficinas'),
25
             spaceBetween(),
25
             spaceBetween(),
26
-            newButton(context,'/calendario','Calendario'),
27
-            spaceBetween(),
28
             newButton(context,'/especialidades','especialidades'),
26
             newButton(context,'/especialidades','especialidades'),
29
             spaceBetween(),
27
             spaceBetween(),
30
             newButton(context,'/translation','translation'),
28
             newButton(context,'/translation','translation'),

+ 3
- 1
fast_med_flutter/lib/routes/ver_oficina.dart View File

189
                     children: <Widget>[
189
                     children: <Widget>[
190
                       TextButton(
190
                       TextButton(
191
                         child: const Text('Buscar Disponibilidad'),
191
                         child: const Text('Buscar Disponibilidad'),
192
-                        onPressed: () { /* ... */ },
192
+                        onPressed: () {
193
+                          Navigator.pushNamed(context, '/calendario');
194
+                        },
193
                       ),
195
                       ),
194
                       const SizedBox(width: 8),
196
                       const SizedBox(width: 8),
195
                     ],
197
                     ],