diff --git a/lib/presentation/home/landing_page.dart b/lib/presentation/home/landing_page.dart index c89727fa..1c4a6b63 100644 --- a/lib/presentation/home/landing_page.dart +++ b/lib/presentation/home/landing_page.dart @@ -229,6 +229,8 @@ class _LandingPageState extends State { child: Column( spacing: 16.h, children: [ + + Row( spacing: 8.h, mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -236,15 +238,7 @@ class _LandingPageState extends State { appState.isAuthenticated ? WelcomeWidget( onTap: () { - // DialogService dialogService = getIt.get(); - // dialogService.showFamilyBottomSheetWithoutH( - // label: LocaleKeys.familyTitle.tr(context: context), - // message: "", - // isShowManageButton: true, - // onSwitchPress: (FamilyFileResponseModelLists profile) { - // getIt.get().switchFamilyFiles(responseID: profile.responseId, patientID: profile.patientId, phoneNumber: profile.mobileNumber); - // }, - // profiles: getIt.get().patientFamilyFiles); + // ...existing navigation code... Navigator.of(context).push( CustomPageRoute( @@ -265,14 +259,7 @@ class _LandingPageState extends State { 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 { 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 { diff --git a/lib/presentation/home/widgets/welcome_widget.dart b/lib/presentation/home/widgets/welcome_widget.dart index 3131fbbf..bdd71b53 100644 --- a/lib/presentation/home/widgets/welcome_widget.dart +++ b/lib/presentation/home/widgets/welcome_widget.dart @@ -52,6 +52,15 @@ class WelcomeWidget extends StatelessWidget { ), ); }), + Container( + height: 32.h, + width: 1.5.w, + margin: EdgeInsets.only(right: 10.w,left: 10.w), + decoration: BoxDecoration( + color: AppColors.greyTextColor.withOpacity(.3), + borderRadius: BorderRadius.circular(1.r), + ), + ), imageWidget ?? (imageUrl != null ? Image.asset(imageUrl!, width: 40, height: 40)