Commit 69997cca authored by Uditha Prabhasha 's avatar Uditha Prabhasha

update2

parent b4eb8f7b
...@@ -96,7 +96,7 @@ class _ParentSignupPageState extends State<ParentSignupPage> { ...@@ -96,7 +96,7 @@ class _ParentSignupPageState extends State<ParentSignupPage> {
signUp(emailController.text, passwordController.text, 'parent', context); signUp(emailController.text, passwordController.text, 'parent', context);
}, },
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Color.fromARGB(255, 48, 206, 53), // Note: 'const' was removed for consistency primary: Colors.blueAccent, // Note: 'const' was removed for consistency
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), borderRadius: BorderRadius.circular(10.0),
), ),
......
...@@ -105,11 +105,13 @@ class _TeacherSignupPageState extends State<TeacherSignupPage> { ...@@ -105,11 +105,13 @@ class _TeacherSignupPageState extends State<TeacherSignupPage> {
); );
}, },
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Color.fromARGB(255, 48, 206, 53), // Green background color primary: Colors.blueAccent, // Green background color
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), // Rounded corners borderRadius: BorderRadius.circular(10.0), // Rounded corners
), ),
padding: EdgeInsets.all(12.0), // Padding inside the button padding: EdgeInsets.all(12.0), // Padding inside the button
minimumSize: Size(140, 50), // Set the minimum width and height of the button
), ),
child: Text( child: Text(
'Next', 'Next',
...@@ -261,11 +263,12 @@ class AdditionalInfoPage extends StatelessWidget { ...@@ -261,11 +263,12 @@ class AdditionalInfoPage extends StatelessWidget {
signUp(emailController.text, passwordController.text, rool, context); signUp(emailController.text, passwordController.text, rool, context);
}, },
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Color.fromARGB(255, 48, 206, 53), // Green background color primary: Colors.blueAccent, // Green background color
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), // Rounded corners borderRadius: BorderRadius.circular(10.0), // Rounded corners
), ),
padding: EdgeInsets.symmetric(horizontal: 10.0), // Reduced padding padding: EdgeInsets.symmetric(horizontal: 10.0), // Reduced padding
minimumSize: Size(140, 50), // Set the minimum width and height of the button
), ),
child: Text( child: Text(
'Finish', 'Finish',
...@@ -275,6 +278,7 @@ class AdditionalInfoPage extends StatelessWidget { ...@@ -275,6 +278,7 @@ class AdditionalInfoPage extends StatelessWidget {
), ),
), ),
), ),
), ),
) )
], ],
......
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