|
|
|
@ -22,9 +22,10 @@ class DoctorCard extends StatelessWidget {
|
|
|
|
|
final bool isInOutPatient;
|
|
|
|
|
final bool isLiveCareAppointment;
|
|
|
|
|
final bool isSortByClinic;
|
|
|
|
|
final String appoTime;
|
|
|
|
|
|
|
|
|
|
DoctorCard(
|
|
|
|
|
{this.name, this.subName, this.rat, this.date, this.profileUrl, this.isSortByClinic = true, this.billNo, this.onTap, this.onEmailTap, this.isInOutPatient, this.isLiveCareAppointment = false});
|
|
|
|
|
{this.name, this.subName, this.rat, this.date, this.profileUrl, this.isSortByClinic = true, this.billNo, this.onTap, this.onEmailTap, this.isInOutPatient, this.isLiveCareAppointment = false, this.appoTime});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
@ -106,7 +107,8 @@ class DoctorCard extends StatelessWidget {
|
|
|
|
|
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Color(0xff2B353E), letterSpacing: -0.48, height: 18 / 12),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
DateUtil.formatDateToTime(date),
|
|
|
|
|
// DateUtil.formatDateToTime(date),
|
|
|
|
|
appoTime,
|
|
|
|
|
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Color(0xff575757), letterSpacing: -0.48, height: 18 / 12),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|