|
|
|
@ -182,7 +182,7 @@ class PatientProfileHeaderWhitAppointmentAppBar extends StatelessWidget
|
|
|
|
|
color: HexColor("#20A169"),
|
|
|
|
|
),
|
|
|
|
|
child: AppText(
|
|
|
|
|
patient.startTime??"",
|
|
|
|
|
patient.startTime ?? "",
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: 1.5 * SizeConfig.textMultiplier,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
@ -235,7 +235,9 @@ class PatientProfileHeaderWhitAppointmentAppBar extends StatelessWidget
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
patient.nationalityName ?? patient.nationality??"",
|
|
|
|
|
patient.nationalityName ??
|
|
|
|
|
patient.nationality ??
|
|
|
|
|
"",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
),
|
|
|
|
@ -307,7 +309,7 @@ class PatientProfileHeaderWhitAppointmentAppBar extends StatelessWidget
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
child: LargeAvatar(
|
|
|
|
|
name: doctorName??"",
|
|
|
|
|
name: doctorName ?? "",
|
|
|
|
|
url: profileUrl,
|
|
|
|
|
),
|
|
|
|
|
width: 25,
|
|
|
|
@ -382,23 +384,24 @@ class PatientProfileHeaderWhitAppointmentAppBar extends StatelessWidget
|
|
|
|
|
Texts(vistDate ?? '', fontSize: 12)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Texts(
|
|
|
|
|
!isPrescriptions
|
|
|
|
|
? 'Result Date: '
|
|
|
|
|
: 'Prescriptions Date ',
|
|
|
|
|
color: Colors.grey[800],
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
if (!isMedicalFile)
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Texts(
|
|
|
|
|
!isPrescriptions
|
|
|
|
|
? 'Result Date: '
|
|
|
|
|
: 'Prescriptions Date ',
|
|
|
|
|
color: Colors.grey[800],
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
'${DateUtils.getDayMonthYearDateFormatted(appointmentDate, isArabic: projectViewModel.isArabic)}',
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
Texts(
|
|
|
|
|
'${DateUtils.getDayMonthYearDateFormatted(appointmentDate, isArabic: projectViewModel.isArabic)}',
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
]),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|