|
|
|
|
@ -229,6 +229,8 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
|
child: Column(
|
|
|
|
|
spacing: 16.h,
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
spacing: 8.h,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
@ -236,15 +238,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
|
appState.isAuthenticated
|
|
|
|
|
? WelcomeWidget(
|
|
|
|
|
onTap: () {
|
|
|
|
|
// DialogService dialogService = getIt.get<DialogService>();
|
|
|
|
|
// dialogService.showFamilyBottomSheetWithoutH(
|
|
|
|
|
// label: LocaleKeys.familyTitle.tr(context: context),
|
|
|
|
|
// message: "",
|
|
|
|
|
// isShowManageButton: true,
|
|
|
|
|
// onSwitchPress: (FamilyFileResponseModelLists profile) {
|
|
|
|
|
// getIt.get<MedicalFileViewModel>().switchFamilyFiles(responseID: profile.responseId, patientID: profile.patientId, phoneNumber: profile.mobileNumber);
|
|
|
|
|
// },
|
|
|
|
|
// profiles: getIt.get<MedicalFileViewModel>().patientFamilyFiles);
|
|
|
|
|
// ...existing navigation code...
|
|
|
|
|
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
CustomPageRoute(
|
|
|
|
|
@ -265,14 +259,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
|
text: LocaleKeys.loginOrRegister.tr(context: context),
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
await authVM.onLoginPressed();
|
|
|
|
|
// Navigator.pushReplacementNamed(
|
|
|
|
|
// // context,
|
|
|
|
|
// context,
|
|
|
|
|
// AppRoutes.zoomCallPage,
|
|
|
|
|
// // arguments: CallArguments(appointmentID, "111", "Patient", "40", "1", true, 1),
|
|
|
|
|
// arguments: CallArguments("test123", "123", "Patient", "40", "0", true, 1),
|
|
|
|
|
// // arguments: CallArguments("SmallDailyStandup9875", "123", "Patient", "40", "0", false, int.parse(widget.incomingCallData!.appointmentNo!)),
|
|
|
|
|
// );
|
|
|
|
|
// ...existing commented code...
|
|
|
|
|
},
|
|
|
|
|
backgroundColor: AppColors.secondaryLightRedColor,
|
|
|
|
|
borderColor: AppColors.secondaryLightRedColor,
|
|
|
|
|
@ -288,6 +275,8 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
// spacing: 18.h,
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stack(clipBehavior: Clip.none, children: [
|
|
|
|
|
if (appState.isAuthenticated)
|
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.bell, height: 24.h, width: 24.h).onPress(() async {
|
|
|
|
|
|