Commit 02cdda75 authored by Budi Prasetyo's avatar Budi Prasetyo

register roting

parent 752658f0
...@@ -28,11 +28,11 @@ class MyApp extends StatelessWidget { ...@@ -28,11 +28,11 @@ class MyApp extends StatelessWidget {
'/solutions': (context) => const Solutions(), '/solutions': (context) => const Solutions(),
'/contact': (context) => const ContactUs(), '/contact': (context) => const ContactUs(),
'/login': (context) => const SignIn(), '/login': (context) => const SignIn(),
'/register': (context) => const Register(), '/register': (context) => const RegisterPic(),
'/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(), //'/register_pic': (context) => const RegisterPic(),
}, },
); );
} }
......
...@@ -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_pic'); Navigator.pushNamed(context, '/register');
}, },
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