|
|
|
|
@ -51,8 +51,11 @@ class DoctorView extends StatefulWidget {
|
|
|
|
|
|
|
|
|
|
class _DoctorViewState extends State<DoctorView> with AutomaticKeepAliveClientMixin {
|
|
|
|
|
|
|
|
|
|
late ProjectViewModel projectViewModel;
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
projectViewModel = Provider.of(context);
|
|
|
|
|
super.build(context);
|
|
|
|
|
return InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
@ -217,7 +220,7 @@ class _DoctorViewState extends State<DoctorView> with AutomaticKeepAliveClientMi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getDoctorsProfile(context, DoctorList docObject, {isAppo, bool isContinueDentalPlan = false}) {
|
|
|
|
|
int languageID = context.read<ProjectViewModel>().isArabic ? 1 : 2;
|
|
|
|
|
int languageID = projectViewModel.isArabic ? 1 : 2;
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
List<DoctorProfileList> docProfileList = [];
|
|
|
|
|
DoctorsListService service = new DoctorsListService();
|
|
|
|
|
|