Compare commits

...

1 Commits

Author SHA1 Message Date
Haroon Amjad 6dc7ba2d0b updates 4 years ago

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -663,6 +663,7 @@ const Map localizedValues = {
"myAccount": {"en": "My Account", "ar": "حسابي"},
"cart": {"en": "Cart", "ar": "التسوق"},
"Alhabibapp": {"en": "Al Habib app", "ar": "تطبيق الحبيب"},
"VidaMobile": {"en": "Vida Mobile", "ar": "تطبيق الحبيب"},
"searchProductHere": {"en": "Search Product here", "ar": "البحث عن منتج"},
"HHCNotAuthMsg": {
"en":

@ -75,7 +75,7 @@ class PharmacyModuleViewModel extends BaseViewModel {
List<String> getBannerImagesUrl(ProjectViewModel projectViewModel) {
List<String> images = List();
images.add('assets/images/pharmacy_module/pharmacy_logo_green.png');
// images.add('assets/images/pharmacy_module/pharmacy_logo_green.png');
if (projectViewModel.isArabic)
images.add('assets/images/pharmacy_module/offers_banner_ar.png');

@ -49,18 +49,18 @@ class _AllHabibMedicalSevicePage2State extends State<AllHabibMedicalSevicePage2>
initialiseHmgServices(bool isLogin) {
hmgServices.clear();
hmgServices.add(new HmgServices(0, TranslationBase.of(context).liveCareTitle, TranslationBase.of(context).liveCareSubtitle, "assets/images/new/Live_Care.svg", isLogin));
hmgServices.add(new HmgServices(0, TranslationBase.of(context).liveCareTitle, TranslationBase.of(context).liveCareSubtitle, "assets/images/new/CS/livecare_CS.svg", isLogin));
hmgServices.add(new HmgServices(1, TranslationBase.of(context).covidTest, TranslationBase.of(context).driveThru, "assets/images/new/CoronaIcon.svg", isLogin));
hmgServices.add(new HmgServices(2, TranslationBase.of(context).onlinePayment, TranslationBase.of(context).onlinePaymentSubtitle, "assets/images/new/paymentMethods.png", isLogin));
hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin));
hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/CS/home_health_care_CS.svg", isLogin));
hmgServices.add(new HmgServices(4, TranslationBase.of(context).cmcTitle, TranslationBase.of(context).cmcSubtitle, "assets/images/new/comprehensive_checkup.svg", isLogin));
hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin));
hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/CS/emergency_request_CS.svg", isLogin));
hmgServices.add(new HmgServices(6, TranslationBase.of(context).ereferralTitle, TranslationBase.of(context).ereferralSubtitle, "assets/images/new/E_Referral.svg", isLogin));
hmgServices.add(new HmgServices(7, TranslationBase.of(context).waterTitle, TranslationBase.of(context).waterSubtitle, "assets/images/new/h2o.svg", isLogin));
hmgServices.add(new HmgServices(8, TranslationBase.of(context).findUs, TranslationBase.of(context).reachUs, "assets/images/new/reach_us.svg", isLogin));
hmgServices.add(new HmgServices(9, TranslationBase.of(context).medicalFileTitle2, TranslationBase.of(context).medicalFileSubtitle, "assets/images/new/medical file.svg", isLogin));
hmgServices.add(new HmgServices(10, TranslationBase.of(context).book, TranslationBase.of(context).appointmentLabel, "assets/images/new/book appointment.svg", isLogin));
hmgServices.add(new HmgServices(11, TranslationBase.of(context).pharmacyTitle, TranslationBase.of(context).pharmacySubtitle, "assets/images/new/Pharmacy.svg", isLogin));
hmgServices.add(new HmgServices(11, TranslationBase.of(context).onlinePharmacy, TranslationBase.of(context).pharmacySubtitle, "assets/images/new/CS/pharmacy_CS.svg", isLogin));
hmgServices.add(new HmgServices(12, TranslationBase.of(context).updateInsurance, TranslationBase.of(context).updateInsuranceSubtitle, "assets/images/new/update insurance card.svg", isLogin));
hmgServices.add(new HmgServices(13, TranslationBase.of(context).familyTitle, TranslationBase.of(context).familySubtitle, "assets/images/new/my family.svg", isLogin));
hmgServices.add(new HmgServices(14, TranslationBase.of(context).My_Child, TranslationBase.of(context).Vaccines, "assets/images/new/child vaccines.svg", isLogin));

@ -56,12 +56,12 @@ class _HomePageFragment2State extends State<HomePageFragment2> {
initialiseHmgServices(bool isLogin) {
hmgServices.clear();
hmgServices.add(new HmgServices(0, TranslationBase.of(context).liveCare, TranslationBase.of(context).onlineConsulting, "assets/images/new/Live_Care.svg", isLogin));
hmgServices.add(new HmgServices(0, TranslationBase.of(context).liveCare, TranslationBase.of(context).onlineConsulting, "assets/images/new/CS/livecare_CS.svg", isLogin));
hmgServices.add(new HmgServices(1, TranslationBase.of(context).covidTest, TranslationBase.of(context).driveThru, "assets/images/new/CoronaIcon.svg", isLogin));
hmgServices.add(new HmgServices(2, TranslationBase.of(context).online, TranslationBase.of(context).payment, "assets/images/new/paymentMethods.png", isLogin));
hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin));
hmgServices.add(new HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/CS/home_health_care_CS.svg", isLogin));
hmgServices.add(new HmgServices(4, TranslationBase.of(context).checkup, TranslationBase.of(context).comprehensive, "assets/images/new/comprehensive_checkup.svg", isLogin));
hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergency, TranslationBase.of(context).services2, "assets/images/new/emergency.svg", isLogin));
hmgServices.add(new HmgServices(5, TranslationBase.of(context).emergency, TranslationBase.of(context).services2, "assets/images/new/CS/emergency_request_CS.svg", isLogin));
hmgServices.add(new HmgServices(6, TranslationBase.of(context).refferal, TranslationBase.of(context).services2, "assets/images/new/E_Referral.svg", isLogin));
hmgServices.add(new HmgServices(7, "H\u2082O", TranslationBase.of(context).dailyWater, "assets/images/new/h2o.svg", isLogin));
hmgServices.add(new HmgServices(8, TranslationBase.of(context).reachUs, TranslationBase.of(context).findUs, "assets/images/new/reach_us.svg", isLogin));
@ -496,7 +496,7 @@ class _HomePageFragment2State extends State<HomePageFragment2> {
child: Opacity(
opacity: 0.04,
child: SvgPicture.asset(
"assets/images/new/Pharmacy.svg",
"assets/images/new/CS/pharmacy_CS.svg",
height: MediaQuery.of(context).size.width * 0.15,
),
),
@ -507,7 +507,7 @@ class _HomePageFragment2State extends State<HomePageFragment2> {
child: Opacity(
opacity: 0.04,
child: SvgPicture.asset(
"assets/images/new/Pharmacy.svg",
"assets/images/new/CS/pharmacy_CS.svg",
height: MediaQuery.of(context).size.width * 0.15,
),
),
@ -524,7 +524,7 @@ class _HomePageFragment2State extends State<HomePageFragment2> {
color: Colors.yellow,
// width: MediaQuery.of(context).size.width * 0.065,
child: SvgPicture.asset(
"assets/images/new/Pharmacy.svg",
"assets/images/new/CS/pharmacy_CS.svg",
height: MediaQuery.of(context).size.width * 0.08,
),
),

@ -43,7 +43,7 @@ class _WelcomeLogin extends State<WelcomeLogin> {
Row(
children: [
SvgPicture.asset(
"assets/images/new/hmg_icon.svg",
"assets/images/new/CS/Vida_Mobile.svg",
height: 62,
width: 62,
),

@ -2827,6 +2827,7 @@ class TranslationBase {
String get ancillaryOrdersPaymentConfirm => localizedValues["ancillaryOrdersPaymentConfirm"][locale.languageCode];
String get covidTestTodo => localizedValues["covidTestTodo"][locale.languageCode];
String get successRegister => localizedValues["successRegister"][locale.languageCode];
String get VidaMobile => localizedValues["VidaMobile"][locale.languageCode];
}
class TranslationBaseDelegate extends LocalizationsDelegate<TranslationBase> {

@ -32,10 +32,11 @@ class _GifLoaderContainerState extends State<GifLoaderContainer> with TickerProv
return Center(
//progress-loading.gif
child: Container(
// margin: EdgeInsets.only(bottom: 40),
width: 90.0,
height: 90.0,
child: GifImage(
controller: controller1,
image: AssetImage("assets/images/progress-loading-red.gif"), //NetworkImage("http://img.mp.itc.cn/upload/20161107/5cad975eee9e4b45ae9d3c1238ccf91e.jpg"),
image: AssetImage("assets/images/new/CS/loader.gif"), //NetworkImage("http://img.mp.itc.cn/upload/20161107/5cad975eee9e4b45ae9d3c1238ccf91e.jpg"),
),
));
}

@ -89,7 +89,7 @@ class _AppDrawerState extends State<AppDrawer> {
padding: EdgeInsets.zero,
children: <Widget>[
Container(
height: SizeConfig.screenHeight * .30,
height: SizeConfig.screenHeight * .40,
child: InkWell(
child: Padding(
padding: const EdgeInsets.all(14.0),
@ -101,10 +101,10 @@ class _AppDrawerState extends State<AppDrawer> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
SvgPicture.asset(
"assets/images/new/logo.svg",
height: 60,
width: 60,
Image.asset(
"assets/images/vida_logo_container.png",
height: 100,
width: 100,
),
IconButton(
icon: Icon(Icons.clear),

@ -187,10 +187,10 @@ class _AppScaffoldState extends State<AppScaffold> {
},
child: Container(
height: 2.0,
width: 10.0,
child: Image.asset(
'assets/images/pharmacy_logo.png',
),
width: 0.0,
// child: Image.asset(
// 'assets/images/pharmacy_logo.png',
// ),
),
);
},

@ -38,7 +38,7 @@ class _BottomNavPharmacyBarState extends State<BottomNavPharmacyBar> {
changeIndex: _changeIndex,
index: widget.index,
currentIndex: 0,
title: TranslationBase.of(context).Alhabibapp,
title: TranslationBase.of(context).VidaMobile,
),
BottomNavPharmacyItem(
icon: DQIcons.categories_menu_icon,

@ -3,6 +3,7 @@ import 'package:diplomaticquarterapp/pages/landing/landing_page.dart';
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class BottomNavHomeItem extends StatelessWidget {
final IconData icon;
@ -58,10 +59,10 @@ class BottomNavHomeItem extends StatelessWidget {
),
Container(
margin: EdgeInsets.only(bottom: 5.0),
child: Image.asset(
'assets/images/habib-logo.png',
child: SvgPicture.asset(
'assets/images/new/CS/Vida_Mobile.svg',
),
height: 22.0,
height: 25.0,
),
SizedBox(
height: 5,

@ -239,6 +239,7 @@ flutter:
- assets/payment_options/
- assets/images/new/
- assets/images/new/CS/
- assets/images/new/mass/
- assets/images/new/bottom_nav/
- assets/images/new/services/

Loading…
Cancel
Save