Kaynağa Gözat

Uncomment NAvigator

hector.sierra 3 yıl önce
ebeveyn
işleme
3ad6ee75ce

+ 1
- 1
fast_med_flutter/lib/main.dart Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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
   }