@ -126,6 +126,10 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
),
).then((value) {
setState(() {
if (_tabController.index == 0) {
_tabController.animateTo((_tabController.index + 1) % 2);
showFooterButton = true;
}
this.doctorSchedule = value;
});
@ -120,6 +120,10 @@ class _AppointmentDetailsState extends State<AppointmentDetails> with SingleTick
this.enableFooterButton();
widget.doctorSchedule = value;