|
|
|
|
@ -51,8 +51,12 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
LargeAvatar(
|
|
|
|
|
onTap: () {
|
|
|
|
|
//AppointmentDetails
|
|
|
|
|
Navigator.push(context,
|
|
|
|
|
FadePage(page: AppointmentDetails(appo: appoitmentAllHistoryResul,)));
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: AppointmentDetails(
|
|
|
|
|
appo: appoitmentAllHistoryResul,
|
|
|
|
|
)));
|
|
|
|
|
},
|
|
|
|
|
name: appoitmentAllHistoryResul.doctorNameObj,
|
|
|
|
|
url: appoitmentAllHistoryResul.doctorImageURL,
|
|
|
|
|
@ -69,7 +73,8 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
height: 15,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Theme.of(context).primaryColor,
|
|
|
|
|
border: Border.all(color: Theme.of(context).primaryColor, width: 2),
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Theme.of(context).primaryColor, width: 2),
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
|
Radius.circular(25.0),
|
|
|
|
|
@ -80,7 +85,10 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
height: 4,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(appoitmentAllHistoryResul.appointmentDate)),
|
|
|
|
|
DateUtil.getMonthDayYearLangDateFormatted(
|
|
|
|
|
DateUtil.convertStringToDate(
|
|
|
|
|
appoitmentAllHistoryResul.appointmentDate),
|
|
|
|
|
projectViewModel.isArabic ? "ar" : "en"),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: 12.5,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
@ -97,7 +105,7 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
)
|
|
|
|
|
else
|
|
|
|
|
Positioned(
|
|
|
|
|
top:projectViewModel.isArabic ? 35 : 50,
|
|
|
|
|
top: projectViewModel.isArabic ? 35 : 50,
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(left: 2, right: 2),
|
|
|
|
|
child: Column(
|
|
|
|
|
@ -109,9 +117,10 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
DateUtil.getMonthDayYearDateFormatted(
|
|
|
|
|
DateUtil.getMonthDayYearLangDateFormatted(
|
|
|
|
|
DateUtil.convertStringToDate(
|
|
|
|
|
appoitmentAllHistoryResul.appointmentDate)),
|
|
|
|
|
appoitmentAllHistoryResul.appointmentDate),
|
|
|
|
|
projectViewModel.isArabic ? "ar" : "en"),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontSize: 12.5,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
@ -124,7 +133,8 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
height: 15,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Theme.of(context).primaryColor,
|
|
|
|
|
border: Border.all(color: Theme.of(context).primaryColor, width: 2),
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: Theme.of(context).primaryColor, width: 2),
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
|
Radius.circular(25.0),
|
|
|
|
|
@ -137,9 +147,13 @@ class TimeLineWidget extends StatelessWidget {
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
LargeAvatar(
|
|
|
|
|
onTap: (){
|
|
|
|
|
Navigator.push(context,
|
|
|
|
|
FadePage(page: AppointmentDetails(appo: appoitmentAllHistoryResul,)));
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: AppointmentDetails(
|
|
|
|
|
appo: appoitmentAllHistoryResul,
|
|
|
|
|
)));
|
|
|
|
|
},
|
|
|
|
|
name: appoitmentAllHistoryResul.doctorNameObj,
|
|
|
|
|
url: appoitmentAllHistoryResul.doctorImageURL,
|
|
|
|
|
|