|
|
|
@ -245,39 +245,43 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
isBorderAllowed: false,
|
|
|
|
isBorderAllowed: false,
|
|
|
|
isAllowLeadingIcon: true,
|
|
|
|
isAllowLeadingIcon: true,
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 8.h, horizontal: 8.h),
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 8.h, horizontal: 8.h),
|
|
|
|
leadingIcon: AppAssets.student_card,
|
|
|
|
leadingIcon: AppAssets.search_icon,
|
|
|
|
|
|
|
|
hintColor: AppColors.textColor,
|
|
|
|
).paddingSymmetrical(24.w, 0.0),
|
|
|
|
).paddingSymmetrical(24.w, 0.0),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
// Using CustomExpandableList
|
|
|
|
// Using CustomExpandableList
|
|
|
|
CustomExpandableList(
|
|
|
|
CustomExpandableList(
|
|
|
|
expansionMode: ExpansionMode.exactlyOne,
|
|
|
|
expansionMode: ExpansionMode.exactlyOne,
|
|
|
|
dividerColor: Color(0xFF2B353E1A),
|
|
|
|
dividerColor: Color(0xFF2B353E1A),
|
|
|
|
|
|
|
|
itemPadding: EdgeInsets.symmetric(vertical: 16.h, horizontal: 14.h),
|
|
|
|
items: [
|
|
|
|
items: [
|
|
|
|
ExpandableListItem(
|
|
|
|
ExpandableListItem(
|
|
|
|
title: "Medical Services".toText20(weight: FontWeight.w500),
|
|
|
|
title: "Medical Services".toText18(weight: FontWeight.w600),
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
getSelectedTabData(0),
|
|
|
|
getSelectedTabData(0),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
ExpandableListItem(
|
|
|
|
ExpandableListItem(
|
|
|
|
title: "Medical Reports".toText20(
|
|
|
|
title: "Medical Reports".toText18(
|
|
|
|
weight: FontWeight.w500,
|
|
|
|
weight: FontWeight.w600,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
expandedBackgroundColor: Colors.transparent,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
getSelectedTabData(2),
|
|
|
|
getSelectedTabData(2),
|
|
|
|
]),
|
|
|
|
]),
|
|
|
|
ExpandableListItem(
|
|
|
|
ExpandableListItem(
|
|
|
|
title: "Insurance & Payments".toText20(weight: FontWeight.w500),
|
|
|
|
title: "Insurance & Payments".toText18(weight: FontWeight.w600),
|
|
|
|
|
|
|
|
expandedBackgroundColor: Colors.transparent,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
getSelectedTabData(1),
|
|
|
|
getSelectedTabData(1),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
ExpandableListItem(
|
|
|
|
ExpandableListItem(
|
|
|
|
title: "Tracker & Others".toText20(weight: FontWeight.w500),
|
|
|
|
title: "Tracker & Others".toText18(weight: FontWeight.w600),
|
|
|
|
|
|
|
|
expandedBackgroundColor: Colors.transparent,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Text("Blood Report"),
|
|
|
|
Text("Blood Report"),
|
|
|
|
SizedBox(height: 8),
|
|
|
|
SizedBox(height: 8),
|
|
|
|
@ -481,9 +485,9 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => SizedBox(width: 12.h),
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => SizedBox(width: 12.h),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
).paddingSymmetrical(0.w, 0);
|
|
|
|
).paddingSymmetrical(0.w, 0.h);
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
SizedBox(height: 24.h),
|
|
|
|
SizedBox(height: 10.h),
|
|
|
|
"Lab & Radiology".needTranslation.toText16(weight: FontWeight.w500, letterSpacing: -0.2),
|
|
|
|
"Lab & Radiology".needTranslation.toText16(weight: FontWeight.w500, letterSpacing: -0.2),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
|