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

update2

parent b4eb8f7b
......@@ -96,7 +96,7 @@ class _ParentSignupPageState extends State<ParentSignupPage> {
signUp(emailController.text, passwordController.text, 'parent', context);
},
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(
borderRadius: BorderRadius.circular(10.0),
),
......
......@@ -105,11 +105,13 @@ class _TeacherSignupPageState extends State<TeacherSignupPage> {
);
},
style: ElevatedButton.styleFrom(
primary: Color.fromARGB(255, 48, 206, 53), // Green background color
primary: Colors.blueAccent, // Green background color
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), // Rounded corners
),
padding: EdgeInsets.all(12.0), // Padding inside the button
minimumSize: Size(140, 50), // Set the minimum width and height of the button
),
child: Text(
'Next',
......@@ -256,26 +258,28 @@ class AdditionalInfoPage extends StatelessWidget {
child: Container(
height: 48.0, // Reduced height
child: ElevatedButton(
onPressed: () {
// Logic to finish the teacher registration
signUp(emailController.text, passwordController.text, rool, context);
},
style: ElevatedButton.styleFrom(
primary: Color.fromARGB(255, 48, 206, 53), // Green background color
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), // Rounded corners
),
padding: EdgeInsets.symmetric(horizontal: 10.0), // Reduced padding
onPressed: () {
// Logic to finish the teacher registration
signUp(emailController.text, passwordController.text, rool, context);
},
style: ElevatedButton.styleFrom(
primary: Colors.blueAccent, // Green background color
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0), // Rounded corners
),
child: Text(
'Finish',
style: TextStyle(
color: Color.fromARGB(255, 255, 255, 255), // White text color
fontSize: 14, // Reduced font size to accommodate the reduced button height
),
padding: EdgeInsets.symmetric(horizontal: 10.0), // Reduced padding
minimumSize: Size(140, 50), // Set the minimum width and height of the button
),
child: Text(
'Finish',
style: TextStyle(
color: Color.fromARGB(255, 255, 255, 255), // White text color
fontSize: 14, // Reduced font size to accommodate the reduced button height
),
),
),
),
)
],
),
......
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