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
4019eb83
Commit
4019eb83
authored
Mar 14, 2024
by
Uditha Prabhasha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update kidsReport.dart
parent
fa229684
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
34 deletions
+35
-34
lib/kidsReport.dart
lib/kidsReport.dart
+35
-34
No files found.
lib/kidsReport.dart
View file @
4019eb83
...
@@ -198,17 +198,19 @@ class _KidsReportPageState extends State<KidsReportPage> {
...
@@ -198,17 +198,19 @@ class _KidsReportPageState extends State<KidsReportPage> {
return
Column
(
return
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
stretch
,
crossAxisAlignment:
CrossAxisAlignment
.
stretch
,
children:
[
children:
[
Text
(
Padding
(
padding:
const
EdgeInsets
.
symmetric
(
vertical:
8.0
),
child:
Text
(
title
,
title
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
18
,
fontSize:
18
,
fontWeight:
FontWeight
.
bold
,
fontWeight:
FontWeight
.
bold
,
),
),
),
),
SizedBox
(
height:
10
),
),
...
dropdownMap
.
keys
.
map
((
String
key
)
{
...
dropdownMap
.
keys
.
map
((
String
key
)
{
return
Padding
(
return
Padding
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
),
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
,
vertical:
4.0
),
child:
Row
(
child:
Row
(
children:
[
children:
[
Expanded
(
Expanded
(
...
@@ -220,9 +222,9 @@ class _KidsReportPageState extends State<KidsReportPage> {
...
@@ -220,9 +222,9 @@ class _KidsReportPageState extends State<KidsReportPage> {
),
),
Expanded
(
Expanded
(
flex:
1
,
flex:
1
,
child:
Row
(
child:
Align
(
children:
[
alignment:
Alignment
.
centerRight
,
DropdownButton
<
String
>(
child:
DropdownButton
<
String
>(
value:
dropdownMap
[
key
],
value:
dropdownMap
[
key
],
icon:
Icon
(
Icons
.
arrow_drop_down
),
icon:
Icon
(
Icons
.
arrow_drop_down
),
iconSize:
24
,
iconSize:
24
,
...
@@ -246,8 +248,6 @@ class _KidsReportPageState extends State<KidsReportPage> {
...
@@ -246,8 +248,6 @@ class _KidsReportPageState extends State<KidsReportPage> {
},
},
).
toList
(),
).
toList
(),
),
),
SizedBox
(
width:
8
),
],
),
),
),
),
],
],
...
@@ -259,6 +259,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
...
@@ -259,6 +259,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
}
}
postDetailsToFirestore
(
context
)
async
{
postDetailsToFirestore
(
context
)
async
{
FirebaseFirestore
firebaseFirestore
=
FirebaseFirestore
.
instance
;
FirebaseFirestore
firebaseFirestore
=
FirebaseFirestore
.
instance
;
var
user
=
_auth
.
currentUser
;
var
user
=
_auth
.
currentUser
;
...
...
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