瀏覽代碼

menu fixes

Oniel Mendez 3 年之前
父節點
當前提交
37d8a91ffa
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 0
    2
      fast_med_flutter/lib/routes/home.dart
  2. 3
    1
      fast_med_flutter/lib/routes/ver_oficina.dart

+ 0
- 2
fast_med_flutter/lib/routes/home.dart 查看文件

@@ -23,8 +23,6 @@ class _HomeState extends State<Home>{
23 23
           children: [
24 24
             newButton(context,'/verOficinas','Ver Oficinas'),
25 25
             spaceBetween(),
26
-            newButton(context,'/calendario','Calendario'),
27
-            spaceBetween(),
28 26
             newButton(context,'/especialidades','especialidades'),
29 27
             spaceBetween(),
30 28
             newButton(context,'/translation','translation'),

+ 3
- 1
fast_med_flutter/lib/routes/ver_oficina.dart 查看文件

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