Commit fa229684 authored by Uditha Prabhasha 's avatar Uditha Prabhasha

Update kidsReport.dart

parent 2d62e3f2
......@@ -194,7 +194,7 @@ class _KidsReportPageState extends State<KidsReportPage> {
Widget _buildDropdownSection({
required String title,
required Map<String, String?> dropdownMap,
}) {
}) {
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
......@@ -220,9 +220,9 @@ class _KidsReportPageState extends State<KidsReportPage> {
),
Expanded(
flex: 1,
child: Container(
width: 100,
child: DropdownButton<String>(
child: Row(
children: [
DropdownButton<String>(
value: dropdownMap[key],
icon: Icon(Icons.arrow_drop_down),
iconSize: 24,
......@@ -246,6 +246,8 @@ class _KidsReportPageState extends State<KidsReportPage> {
},
).toList(),
),
SizedBox(width: 8),
],
),
),
],
......@@ -254,7 +256,8 @@ class _KidsReportPageState extends State<KidsReportPage> {
}).toList(),
],
);
}
}
postDetailsToFirestore(context) async {
FirebaseFirestore firebaseFirestore = FirebaseFirestore.instance;
......
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