|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
import 'dart:developer';
|
|
|
|
|
|
|
|
|
|
import 'package:mc_common_app/view_models/appointments_view_model.dart';
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
@ -33,6 +35,7 @@ class _ProviderProfileViewState extends State<ProviderProfileView> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Consumer(
|
|
|
|
|
builder: (BuildContext context, AppointmentsVM appointmentsVM, Widget? child) {
|
|
|
|
|
// log("appointmentsVM.providerProfileModel!.isFavorite: ${appointmentsVM.providerProfileModel!.isFavorite}");
|
|
|
|
|
if (appointmentsVM.providerProfileModel == null) {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
backgroundColor: MyColors.white,
|
|
|
|
|