Explorar el Código

Uncomment NAvigator

hector.sierra hace 3 años
padre
commit
3ad6ee75ce
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1
    1
      fast_med_flutter/lib/main.dart
  2. 2
    2
      fast_med_flutter/lib/welcome.dart

+ 1
- 1
fast_med_flutter/lib/main.dart Ver fichero

@@ -29,7 +29,7 @@ class MyApp extends StatelessWidget{
29 29
       theme: ThemeData(
30 30
         textTheme: GoogleFonts.cabinTextTheme(textTheme),
31 31
         ),
32
-      home: NavigationPage(),
32
+      home: WelcomePage(),
33 33
     );
34 34
   }
35 35
 

+ 2
- 2
fast_med_flutter/lib/welcome.dart Ver fichero

@@ -45,8 +45,8 @@ class _WelcomePageState extends State<WelcomePage> {
45 45
       print("User found");
46 46
       Token = email.text;
47 47
 
48
-      // Navigator.push(
49
-      //     context, MaterialPageRoute(builder: (context) => NavigationPage()));
48
+      Navigator.push(
49
+          context, MaterialPageRoute(builder: (context) => NavigationPage()));
50 50
 
51 51
     }
52 52
   }