|
|
|
@ -272,7 +272,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
Consumer<TodoSectionViewModel>(builder: (context, todoSectionVM, child) {
|
|
|
|
Consumer<TodoSectionViewModel>(builder: (context, todoSectionVM, child) {
|
|
|
|
return Row(
|
|
|
|
return Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
spacing: 18.h,
|
|
|
|
// spacing: 18.h,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Stack(clipBehavior: Clip.none, children: [
|
|
|
|
Stack(clipBehavior: Clip.none, children: [
|
|
|
|
if (appState.isAuthenticated)
|
|
|
|
if (appState.isAuthenticated)
|
|
|
|
@ -292,7 +292,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
(appState.isAuthenticated && (int.parse(todoSectionVM.notificationsCount ?? "0") > 0))
|
|
|
|
(appState.isAuthenticated && (int.parse(todoSectionVM.notificationsCount ?? "0") > 0))
|
|
|
|
? Positioned(
|
|
|
|
? Positioned(
|
|
|
|
right: appState.isArabic() ? 8.w : -8.w,
|
|
|
|
// right: appState.isArabic() ? 8.w : -8.w,
|
|
|
|
top: -8.h,
|
|
|
|
top: -8.h,
|
|
|
|
// left: 4.h,
|
|
|
|
// left: 4.h,
|
|
|
|
// bottom: 4.h,
|
|
|
|
// bottom: 4.h,
|
|
|
|
@ -318,6 +318,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: SizedBox.shrink(),
|
|
|
|
: SizedBox.shrink(),
|
|
|
|
]),
|
|
|
|
]),
|
|
|
|
|
|
|
|
SizedBox(width: 24.w,),
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.location, height: 24.h, width: 24.w).onPress(() {
|
|
|
|
Utils.buildSvgWithAssets(icon: AppAssets.location, height: 24.h, width: 24.w).onPress(() {
|
|
|
|
// openIndoorNavigationBottomSheet(context);
|
|
|
|
// openIndoorNavigationBottomSheet(context);
|
|
|
|
showCommonBottomSheetWithoutHeight(
|
|
|
|
showCommonBottomSheetWithoutHeight(
|
|
|
|
@ -612,7 +613,7 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
LocaleKeys.quickLinks.tr(context: context).toText16(isBold: true),
|
|
|
|
LocaleKeys.quickLinks.tr(context: context).toText16(isBold: true),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
LocaleKeys.viewMedicalFile.tr(context: context).toText12(color: AppColors.primaryRedColor, isBold: true),
|
|
|
|
LocaleKeys.viewMedicalFile.tr(context: context).toText14(color: AppColors.primaryRedColor, isBold: true),
|
|
|
|
SizedBox(width: 2.h),
|
|
|
|
SizedBox(width: 2.h),
|
|
|
|
Icon(Icons.arrow_forward_ios, color: AppColors.primaryRedColor, size: 14.h),
|
|
|
|
Icon(Icons.arrow_forward_ios, color: AppColors.primaryRedColor, size: 14.h),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|