Pārlūkot izejas kodu

Update home.dart

Oniel Mendez 4 gadus atpakaļ
vecāks
revīzija
e372234040
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. 12
    0
      fast_med_flutter/lib/routes/home.dart

+ 12
- 0
fast_med_flutter/lib/routes/home.dart Parādīt failu

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