2 Commits

Author SHA1 Message Date
  Oniel Mendez 7da0e83bb4 Merge branch 'sprint-3-completado-bk' 4 years ago
  Oniel Mendez 37d8a91ffa menu fixes 4 years ago
2 changed files with 3 additions and 3 deletions
  1. 0
    2
      fast_med_app/lib/routes/home.dart
  2. 3
    1
      fast_med_app/lib/routes/ver_oficina.dart

+ 0
- 2
fast_med_app/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_app/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
                     ],