Browse Source

Update home.dart

Oniel Mendez 4 years ago
parent
commit
e372234040
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      fast_med_flutter/lib/routes/home.dart

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

@@ -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',