ui fix design

merge-requests/814/head
mosazaid 4 years ago
parent 2acad4e5dc
commit cdbd905a62

@ -15,7 +15,7 @@ class LabResultHistoryPage extends StatelessWidget {
final PatiantInformtion patient;
LabResultHistoryPage({this.patientLabOrder, this.filterName, this.patient});
// TODO mosa changes
// TODO mosa UI changes
@override
Widget build(BuildContext context) {
return BaseView<LabsViewModel>(
@ -34,6 +34,7 @@ class LabResultHistoryPage extends StatelessWidget {
...List.generate(model.labOrdersResultHistoryList.length,
(index) {
return Container(
margin: EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
child: Column(
children: [
Row(
@ -116,6 +117,14 @@ class LabResultHistoryPage extends StatelessWidget {
),
],
),
Divider(
color: Colors.grey,
height: 0.75,
thickness: 0.75,
),
SizedBox(
height: 10,
),
],
),
);

@ -382,32 +382,15 @@ class PatientCard extends StatelessWidget {
"${DateTime.now().difference(AppDateUtils.getDateTimeFromServerFormat(patientInfo.admissionDate)).inDays + 1}",
),
if (patientInfo.admissionDate != null)
Container(
child: RichText(
text: new TextSpan(
style: new TextStyle(
fontSize:
2.0 * SizeConfig.textMultiplier,
color: Colors.black,
fontFamily: 'Poppins',
),
children: <TextSpan>[
new TextSpan(
text: TranslationBase.of(context)
.roomNo +
" : ",
style: TextStyle(fontSize: 12)),
new TextSpan(
text:
"${patientInfo.roomId}",
style: TextStyle(
fontWeight: FontWeight.w700,
fontSize: 13)),
]))),
CustomRow(
label: TranslationBase.of(context).roomNo + " : ",
value:
"${patientInfo.roomId}",
),
if (isFromLiveCare)
Column(
children: [
CustomRow(label: TranslationBase.of(context)
.clinic +
" : ",

Loading…
Cancel
Save