no message

pull/224/head
Sultan khan 2 days ago
parent fcdc96d944
commit 21c7b05df9

@ -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 {

@ -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)

Loading…
Cancel
Save