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
2d62e3f2
Commit
2d62e3f2
authored
Mar 14, 2024
by
Uditha Prabhasha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update kidsReport.dart
parent
7586ce3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
16 deletions
+48
-16
lib/kidsReport.dart
lib/kidsReport.dart
+48
-16
No files found.
lib/kidsReport.dart
View file @
2d62e3f2
...
...
@@ -49,7 +49,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
Map
<
String
,
String
?>
recognitionDropdownMap
=
{
'Can express with pictures and words'
:
'Select'
,
'Identify shapes'
:
'Select'
,
'Knows Primary colors.
s
'
:
'Select'
,
'Knows Primary colors.'
:
'Select'
,
'Identify basic objects in the environment'
:
'Select'
,
};
...
...
@@ -135,20 +135,51 @@ class _KidsReportPageState extends State<KidsReportPage> {
dropdownMap:
personalityDropdownMap
,
),
SizedBox
(
height:
20
),
Padding
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
16.0
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
ElevatedButton
(
onPressed:
()
async
{
if
(
_formkey
.
currentState
!.
validate
())
{
postDetailsToFirestore
(
context
);
}
},
child:
Text
(
'Save'
),
style:
ElevatedButton
.
styleFrom
(
primary:
const
Color
.
fromARGB
(
255
,
48
,
206
,
53
),
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10.0
),
),
),
child:
Padding
(
padding:
const
EdgeInsets
.
all
(
10.0
),
child:
Text
(
'Save'
,
style:
TextStyle
(
color:
const
Color
.
fromARGB
(
255
,
255
,
255
,
255
)),
),
),
),
SizedBox
(
height:
10
),
ElevatedButton
(
onPressed:
()
{
Navigator
.
pop
(
context
);
},
child:
Text
(
'Cancel'
),
style:
ElevatedButton
.
styleFrom
(
primary:
const
Color
.
fromARGB
(
255
,
255
,
255
,
255
),
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10.0
),
),
),
child:
Padding
(
padding:
const
EdgeInsets
.
all
(
10.0
),
child:
Text
(
'Cancel'
,
style:
TextStyle
(
color:
Colors
.
black
),
),
),
),
],
),
),
SizedBox
(
height:
20
),
],
...
...
@@ -190,7 +221,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
Expanded
(
flex:
1
,
child:
Container
(
width:
100
,
// Adjust the width as needed
width:
100
,
child:
DropdownButton
<
String
>(
value:
dropdownMap
[
key
],
icon:
Icon
(
Icons
.
arrow_drop_down
),
...
...
@@ -274,3 +305,4 @@ class _KidsReportPageState extends State<KidsReportPage> {
)..
show
();
}
}
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