Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Monitoring and Recommendations For Early Childhood Development
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sandunika Senavirathna
Monitoring and Recommendations For Early Childhood Development
Commits
69997cca
Commit
69997cca
authored
Mar 19, 2024
by
Uditha Prabhasha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update2
parent
b4eb8f7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
18 deletions
+22
-18
lib/parentSignUp.dart
lib/parentSignUp.dart
+1
-1
lib/teachersignup.dart
lib/teachersignup.dart
+21
-17
No files found.
lib/parentSignUp.dart
View file @
69997cca
...
...
@@ -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:
Color
s
.
blueAccent
,
// Note: 'const' was removed for consistency
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10.0
),
),
...
...
lib/teachersignup.dart
View file @
69997cca
...
...
@@ -105,11 +105,13 @@ class _TeacherSignupPageState extends State<TeacherSignupPage> {
);
},
style:
ElevatedButton
.
styleFrom
(
primary:
Color
.
fromARGB
(
255
,
48
,
206
,
53
)
,
// Green background color
primary:
Color
s
.
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
),
),
),
),
)
],
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment