浏览代码

Update home.dart

Oniel Mendez 3 年前
父节点
当前提交
e372234040
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12
    0
      fast_med_flutter/lib/routes/home.dart

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

@@ -33,6 +33,18 @@ class _HomeState extends State<Home>{
33 33
               minWidth: 300.0,
34 34
               height: 100.0,
35 35
               onPressed: (){
36
+                Navigator.pushNamed(context, '/calendario');
37
+              },
38
+              child: Text('Calendario',
39
+                style: TextStyle(fontSize: 36),
40
+              ),
41
+              color: Colors.purple,
42
+
43
+            ),
44
+            new FlatButton(
45
+              minWidth: 300.0,
46
+              height: 100.0,
47
+              onPressed: (){
36 48
                 Navigator.pushNamed(context, '/register');
37 49
               },
38 50
               child: Text('register',