pull/299/head
haroon amjad 1 day ago
parent 877f73b384
commit d09dee9550

@ -274,7 +274,7 @@ class _AppointmentCardState extends State<AppointmentCard> {
SizedBox(height: 8.h),
Wrap(
direction: Axis.horizontal,
spacing: 3.h,
spacing: 6.h,
runSpacing: 4.h,
children: [
AppCustomChipWidget(

@ -1,4 +1,5 @@
import 'dart:async';
import 'dart:io';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
@ -318,21 +319,22 @@ class ProfileSettingsState extends State<ProfileSettings> {
// actionItem(AppAssets.permission, LocaleKeys.permissions.tr(context: context), () {}, trailingLabel: "Location, Camera"),
// 1.divider,
actionItem(AppAssets.rate, LocaleKeys.rateApp.tr(context: context), () async {
if (await inAppReview.isAvailable()) {
inAppReview.requestReview();
} else {
inAppReview.openStoreListing(appStoreId: '6758851027');
}
// if (Platform.isAndroid) {
// Utils.openWebView(
// url: 'https://play.google.com/store/apps/details?id=com.ejada.hmg',
// );
// if (await inAppReview.isAvailable()) {
// inAppReview.requestReview();
// } else {
// Utils.openWebView(
// url: 'https://itunes.apple.com/app/id733503978',
// );
// inAppReview.openStoreListing(appStoreId: '6758851027');
// }
// }, isExternalLink: true),
if (Platform.isAndroid) {
inAppReview.openStoreListing(appStoreId: '6758851027');
// Utils.openWebView(
// url: 'https://play.google.com/store/apps/details?id=com.ejada.hmg',
// );
} else {
if (await inAppReview.isAvailable()) {
inAppReview.requestReview();
}
}
// }, isExternalLink: true),
}),
1.divider,
actionItem(AppAssets.privacy_terms, LocaleKeys.privacyPolicy.tr(context: context), () {

Loading…
Cancel
Save