Commit 5317d055 authored by Fikri's avatar Fikri

menambahkan register_pic

parent ea7b614f
......@@ -4,6 +4,7 @@ import 'package:medapp_eksad/dashboard/admin/main_dashboard_admin.dart';
import 'package:medapp_eksad/homepage.dart';
import 'package:medapp_eksad/login.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/solution.dart';
import 'package:medapp_eksad/screen_user/demo_user.dart';
......@@ -30,7 +31,8 @@ class MyApp extends StatelessWidget {
'/register': (context) => const Register(),
'/dashboard': (context) => const DashboardAdmin(),
'/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 {
width : 180,
child: ElevatedButton(
onPressed: (){
Navigator.pushNamed(context, '/register');
Navigator.pushNamed(context, '/register_pic');
},
style: ElevatedButton.styleFrom(
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