no message #292

Merged
khansultan1 merged 1 commits from dev_sultan into master 5 days ago

@ -48,7 +48,9 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
initiallyExpanded: true,
children: [
SizedBox(height: 10.h),
Container(
SizedBox(
width: double.infinity,
child: Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 12.r,
@ -57,6 +59,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
padding: EdgeInsets.all(16.r),
child: (analysis.prescriptionSummary ?? "").toText14(color: AppColors.textColorLight, height: 1.5, weight: FontWeight.w400),
),
),
SizedBox(height: 8.h),
],
),
@ -94,7 +97,9 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
title: LocaleKeys.importantWarnings.tr(context: context).toText18(weight: FontWeight.w700, color: AppColors.blackColor),
children: [
SizedBox(height: 10.h),
Container(
SizedBox(
width: double.infinity,
child: Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 12.r,
@ -118,12 +123,12 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
}).toList(),
),
),
),
SizedBox(height: 8.h),
],
),
);
}
// Medicine Interactions Section
if (analysis.medicineInteractions != null && analysis.medicineInteractions!.isNotEmpty) {
expandableItems.add(
@ -133,7 +138,9 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
title: LocaleKeys.medicineInteractions.tr(context: context).toText18(weight: FontWeight.w700, color: AppColors.blackColor),
children: [
SizedBox(height: 10.h),
Container(
SizedBox(
width: double.infinity,
child: Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 12.r,
@ -157,6 +164,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
}).toList(),
),
),
),
SizedBox(height: 8.h),
],
),
@ -172,7 +180,9 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
title: LocaleKeys.followUpNeeded.tr(context: context).toText18(weight: FontWeight.w700, color: AppColors.blackColor),
children: [
SizedBox(height: 10.h),
Container(
SizedBox(
width: double.infinity,
child: Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 12.r,
@ -181,6 +191,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
padding: EdgeInsets.all(16.r),
child: (analysis.followUpNeeded ?? "").toText14(color: AppColors.textColorLight, height: 1.5, weight: FontWeight.w400),
),
),
SizedBox(height: 8.h),
],
),
@ -224,7 +235,9 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
}
Widget _buildMedicineCard(MedicineAnalysis medicine) {
return Container(
return SizedBox(
width: double.infinity,
child: Container(
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: AppColors.whiteColor,
borderRadius: 12.r,
@ -282,7 +295,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
],
],
),
);
));
}
Widget _buildInfoRow({

Loading…
Cancel
Save