Commit 4019eb83 authored by Uditha Prabhasha 's avatar Uditha Prabhasha

Update kidsReport.dart

parent fa229684
......@@ -198,17 +198,19 @@ class _KidsReportPageState extends State<KidsReportPage> {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Text(
Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: Text(
title,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
),
),
SizedBox(height: 10),
),
...dropdownMap.keys.map((String key) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
child: Row(
children: [
Expanded(
......@@ -220,9 +222,9 @@ class _KidsReportPageState extends State<KidsReportPage> {
),
Expanded(
flex: 1,
child: Row(
children: [
DropdownButton<String>(
child: Align(
alignment: Alignment.centerRight,
child: DropdownButton<String>(
value: dropdownMap[key],
icon: Icon(Icons.arrow_drop_down),
iconSize: 24,
......@@ -246,8 +248,6 @@ class _KidsReportPageState extends State<KidsReportPage> {
},
).toList(),
),
SizedBox(width: 8),
],
),
),
],
......@@ -259,6 +259,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
}
postDetailsToFirestore(context) async {
FirebaseFirestore firebaseFirestore = FirebaseFirestore.instance;
var user = _auth.currentUser;
......
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