Commit d8cab087 authored by Fikri's avatar Fikri
parents 5c06fa7d 32ba79fb
...@@ -63,7 +63,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -63,7 +63,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
), ),
), ),
Container( Container(
width: screenSize.width * 0.006, width: screenSize.width * 0.009,
), ),
ElevatedButton( ElevatedButton(
onPressed: () { onPressed: () {
......
...@@ -167,11 +167,11 @@ class _Dashboard3State extends State<Dashboard3> { ...@@ -167,11 +167,11 @@ class _Dashboard3State extends State<Dashboard3> {
(isSuccess) { (isSuccess) {
if (isSuccess) { if (isSuccess) {
setState(() {}); setState(() {});
Scaffold.of(this.context).showSnackBar( ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar( const SnackBar(
content: Text("Input Data success"))); content: Text("Input Data success")));
} else { } else {
Scaffold.of(this.context).showSnackBar( ScaffoldMessenger.of(this.context).showSnackBar(
const SnackBar( const SnackBar(
content: Text("Input Data failed!!!"))); content: Text("Input Data failed!!!")));
} }
......
...@@ -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