Commit d8cab087 authored by Fikri's avatar Fikri
parents 5c06fa7d 32ba79fb
......@@ -63,7 +63,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
),
),
Container(
width: screenSize.width * 0.006,
width: screenSize.width * 0.009,
),
ElevatedButton(
onPressed: () {
......
......@@ -167,11 +167,11 @@ class _Dashboard3State extends State<Dashboard3> {
(isSuccess) {
if (isSuccess) {
setState(() {});
Scaffold.of(this.context).showSnackBar(
ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar(
content: Text("Input Data success")));
} else {
Scaffold.of(this.context).showSnackBar(
ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar(
content: Text("Input Data failed!!!")));
}
......
......@@ -28,11 +28,11 @@ class MyApp extends StatelessWidget {
'/solutions': (context) => const Solutions(),
'/contact': (context) => const ContactUs(),
'/login': (context) => const SignIn(),
'/register': (context) => const Register(),
'/register': (context) => const RegisterPic(),
'/dashboard': (context) => const DashboardAdmin(),
'/reset_password': (context) => const ForgotPassword(),
'/demo': (context) => const DemoUser(),
'/register_pic': (context) => const RegisterPic(),
//'/register_pic': (context) => const RegisterPic(),
},
);
}
......
......@@ -125,7 +125,7 @@ class Home4 extends StatelessWidget {
width : 180,
child: ElevatedButton(
onPressed: (){
Navigator.pushNamed(context, '/register_pic');
Navigator.pushNamed(context, '/register');
},
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