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

Loading…
Cancel
Save