cr 7211 lab report new ui changes

merge-update-with-lab-changes
Aamir 1 year ago
parent b74a433798
commit 3d2e0a5442

@ -123,7 +123,7 @@ class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
source: "source",
buttonText: "Click",
type: ResultTypes.normal),
ItemResultCardWidgetWithParams(title: "NEUT%", subTitle: "55", referenceRange: "10-50", percentage: 65, note: "", source: "source", buttonText: "Click", type: ResultTypes.high),
ItemResultCardWidgetWithParams(title: "NEUT%", subTitle: "55", referenceRange: "10-50", percentage: -1, note: "", source: "source", buttonText: "Click", type: ResultTypes.normal),
_isShowMoreGeneral
? Container(
padding: EdgeInsets.only(left: 17, top: 12, right: 13, bottom: 12),

@ -85,7 +85,7 @@ class CustomResultProgressBar extends StatelessWidget {
),
],
),
Positioned(
if (!percentage.isNegative) Positioned(
left: tooltipPosition,
top: 33,
child: Column(
@ -364,14 +364,14 @@ class ItemResultCardWidgetWithParams extends StatelessWidget {
),
const SizedBox(height: 10),
// Progress Bar
SizedBox(
height: 55,
child: CustomResultProgressBar(
percentage: percentage,
value: subTitle,
type: type,
SizedBox(
height: 55,
child: CustomResultProgressBar(
percentage: percentage,
value: subTitle,
type: type,
),
),
),
const SizedBox(height: 12),
// Note Section
if (note.isNotEmpty)

Loading…
Cancel
Save