Commit 752658f0 authored by Budi Prasetyo's avatar Budi Prasetyo
parents f8e46b5a 5317d055
...@@ -4,6 +4,7 @@ import 'package:medapp_eksad/dashboard/admin/main_dashboard_admin.dart'; ...@@ -4,6 +4,7 @@ import 'package:medapp_eksad/dashboard/admin/main_dashboard_admin.dart';
import 'package:medapp_eksad/homepage.dart'; import 'package:medapp_eksad/homepage.dart';
import 'package:medapp_eksad/login.dart'; import 'package:medapp_eksad/login.dart';
import 'package:medapp_eksad/register.dart'; import 'package:medapp_eksad/register.dart';
import 'package:medapp_eksad/register_pic.dart';
import 'package:medapp_eksad/screen/contact_us/contact_us.dart'; import 'package:medapp_eksad/screen/contact_us/contact_us.dart';
import 'package:medapp_eksad/screen/solution.dart'; import 'package:medapp_eksad/screen/solution.dart';
import 'package:medapp_eksad/screen_user/demo_user.dart'; import 'package:medapp_eksad/screen_user/demo_user.dart';
...@@ -30,7 +31,8 @@ class MyApp extends StatelessWidget { ...@@ -30,7 +31,8 @@ class MyApp extends StatelessWidget {
'/register': (context) => const Register(), '/register': (context) => const Register(),
'/dashboard': (context) => const DashboardAdmin(), '/dashboard': (context) => const DashboardAdmin(),
'/reset_password': (context) => const ForgotPassword(), '/reset_password': (context) => const ForgotPassword(),
'/demo': (context) => const DemoUser() '/demo': (context) => const DemoUser(),
'/register_pic': (context) => const RegisterPic(),
}, },
); );
} }
......
This diff is collapsed.
...@@ -125,7 +125,7 @@ class Home4 extends StatelessWidget { ...@@ -125,7 +125,7 @@ class Home4 extends StatelessWidget {
width : 180, width : 180,
child: ElevatedButton( child: ElevatedButton(
onPressed: (){ onPressed: (){
Navigator.pushNamed(context, '/register'); Navigator.pushNamed(context, '/register_pic');
}, },
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Colors.blue[900], primary: Colors.blue[900],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment