fix small issue

merge-requests/737/head
Elham Rababah 5 years ago
parent 161cb1e872
commit 712a742aa2

@ -314,12 +314,15 @@ class PatientProfileAppBar extends StatelessWidget
children: <TextSpan>[ children: <TextSpan>[
new TextSpan( new TextSpan(
text: "Result Date: ", text: "Result Date: ",
style: TextStyle(fontSize: 14)), style: TextStyle( fontSize: 10,
color: Color(0xFF575757),
fontWeight: FontWeight.w600,
fontFamily: 'Poppins',)),
new TextSpan( new TextSpan(
text: text:
'${AppDateUtils.getDayMonthYearDateFormatted(appointmentDate, isArabic: projectViewModel.isArabic)}', '${AppDateUtils.getDayMonthYearDateFormatted(appointmentDate, isArabic: projectViewModel.isArabic)}',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w700, fontSize: 14)), fontWeight: FontWeight.w700, fontSize: 12)),
], ],
), ),
), ),
@ -519,7 +522,7 @@ class PatientProfileAppBar extends StatelessWidget
!isPrescriptions !isPrescriptions
? 'Result Date:' ? 'Result Date:'
: 'Prescriptions Date ', : 'Prescriptions Date ',
fontSize: 10, fontWeight: FontWeight.w600,color: Color(0xFF575757), fontSize: 10, fontWeight: FontWeight.w600,color: Color(0xFF575757),
), ),
AppText( AppText(
'${AppDateUtils '${AppDateUtils
@ -527,7 +530,7 @@ class PatientProfileAppBar extends StatelessWidget
appointmentDate, appointmentDate,
isArabic: projectViewModel isArabic: projectViewModel
.isArabic)}', .isArabic)}',
fontSize: 14, fontSize: 12,
) )
], ],
) )
@ -548,6 +551,6 @@ class PatientProfileAppBar extends StatelessWidget
@override @override
Size get preferredSize => Size get preferredSize =>
Size(double.maxFinite, height == 0 Size(double.maxFinite, height == 0
? isInpatient ? 160 : isAppointmentHeader ? 290 : 160 ? isInpatient ? 160 : isAppointmentHeader ? 290 : 170
: height); : height);
} }

Loading…
Cancel
Save