Showing
30 changed files
with
1118 additions
and
629 deletions
assets/images/common/ic_media_add.png
0 → 100644
890 Bytes
assets/images/common/ic_media_cancel.png
0 → 100644
371 Bytes
assets/images/common/ic_pause.png
0 → 100644
1.2 KB
assets/images/user_onboarding/bg_login.png
0 → 100644
10.8 KB
7.59 KB
| @@ -7,6 +7,18 @@ PODS: | @@ -7,6 +7,18 @@ PODS: | ||
| 7 | - TOCropViewController (~> 2.7.4) | 7 | - TOCropViewController (~> 2.7.4) |
| 8 | - image_picker_ios (0.0.1): | 8 | - image_picker_ios (0.0.1): |
| 9 | - Flutter | 9 | - Flutter |
| 10 | + - libwebp (1.5.0): | ||
| 11 | + - libwebp/demux (= 1.5.0) | ||
| 12 | + - libwebp/mux (= 1.5.0) | ||
| 13 | + - libwebp/sharpyuv (= 1.5.0) | ||
| 14 | + - libwebp/webp (= 1.5.0) | ||
| 15 | + - libwebp/demux (1.5.0): | ||
| 16 | + - libwebp/webp | ||
| 17 | + - libwebp/mux (1.5.0): | ||
| 18 | + - libwebp/demux | ||
| 19 | + - libwebp/sharpyuv (1.5.0) | ||
| 20 | + - libwebp/webp (1.5.0): | ||
| 21 | + - libwebp/sharpyuv | ||
| 10 | - path_provider_foundation (0.0.1): | 22 | - path_provider_foundation (0.0.1): |
| 11 | - Flutter | 23 | - Flutter |
| 12 | - FlutterMacOS | 24 | - FlutterMacOS |
| @@ -21,6 +33,9 @@ PODS: | @@ -21,6 +33,9 @@ PODS: | ||
| 21 | - Flutter | 33 | - Flutter |
| 22 | - FlutterMacOS | 34 | - FlutterMacOS |
| 23 | - TOCropViewController (2.7.4) | 35 | - TOCropViewController (2.7.4) |
| 36 | + - video_thumbnail (0.0.1): | ||
| 37 | + - Flutter | ||
| 38 | + - libwebp | ||
| 24 | - webview_flutter_wkwebview (0.0.1): | 39 | - webview_flutter_wkwebview (0.0.1): |
| 25 | - Flutter | 40 | - Flutter |
| 26 | - FlutterMacOS | 41 | - FlutterMacOS |
| @@ -35,10 +50,12 @@ DEPENDENCIES: | @@ -35,10 +50,12 @@ DEPENDENCIES: | ||
| 35 | - share_plus (from `.symlinks/plugins/share_plus/ios`) | 50 | - share_plus (from `.symlinks/plugins/share_plus/ios`) |
| 36 | - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) | 51 | - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) |
| 37 | - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) | 52 | - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) |
| 53 | + - video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`) | ||
| 38 | - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) | 54 | - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) |
| 39 | 55 | ||
| 40 | SPEC REPOS: | 56 | SPEC REPOS: |
| 41 | trunk: | 57 | trunk: |
| 58 | + - libwebp | ||
| 42 | - TOCropViewController | 59 | - TOCropViewController |
| 43 | 60 | ||
| 44 | EXTERNAL SOURCES: | 61 | EXTERNAL SOURCES: |
| @@ -60,6 +77,8 @@ EXTERNAL SOURCES: | @@ -60,6 +77,8 @@ EXTERNAL SOURCES: | ||
| 60 | :path: ".symlinks/plugins/shared_preferences_foundation/darwin" | 77 | :path: ".symlinks/plugins/shared_preferences_foundation/darwin" |
| 61 | sqflite_darwin: | 78 | sqflite_darwin: |
| 62 | :path: ".symlinks/plugins/sqflite_darwin/darwin" | 79 | :path: ".symlinks/plugins/sqflite_darwin/darwin" |
| 80 | + video_thumbnail: | ||
| 81 | + :path: ".symlinks/plugins/video_thumbnail/ios" | ||
| 63 | webview_flutter_wkwebview: | 82 | webview_flutter_wkwebview: |
| 64 | :path: ".symlinks/plugins/webview_flutter_wkwebview/darwin" | 83 | :path: ".symlinks/plugins/webview_flutter_wkwebview/darwin" |
| 65 | 84 | ||
| @@ -68,12 +87,14 @@ SPEC CHECKSUMS: | @@ -68,12 +87,14 @@ SPEC CHECKSUMS: | ||
| 68 | fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1 | 87 | fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1 |
| 69 | image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537 | 88 | image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537 |
| 70 | image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a | 89 | image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a |
| 90 | + libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8 | ||
| 71 | path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 | 91 | path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 |
| 72 | permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d | 92 | permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d |
| 73 | share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a | 93 | share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a |
| 74 | shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 | 94 | shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 |
| 75 | sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 | 95 | sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 |
| 76 | TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 | 96 | TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 |
| 97 | + video_thumbnail: b637e0ad5f588ca9945f6e2c927f73a69a661140 | ||
| 77 | webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 | 98 | webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 |
| 78 | 99 | ||
| 79 | PODFILE CHECKSUM: b9265b4a06e32777ce541c63a22ad629b9ccc6ae | 100 | PODFILE CHECKSUM: b9265b4a06e32777ce541c63a22ad629b9ccc6ae |
| @@ -18,6 +18,11 @@ typealias FlutterBridgeMethod = ((_ params: Any?, _ result: FlutterResult) -> Vo | @@ -18,6 +18,11 @@ typealias FlutterBridgeMethod = ((_ params: Any?, _ result: FlutterResult) -> Vo | ||
| 18 | @Observable | 18 | @Observable |
| 19 | class AppDelegate: NSObject, UIApplicationDelegate { | 19 | class AppDelegate: NSObject, UIApplicationDelegate { |
| 20 | 20 | ||
| 21 | + /// UIApplicationDelegate 要求声明 window, | ||
| 22 | + /// image_cropper 等插件会通过 UIApplication.shared.delegate?.window 查找 keyWindow, | ||
| 23 | + /// 缺少此属性会导致 "unrecognized selector" 崩溃。 | ||
| 24 | + var window: UIWindow? | ||
| 25 | + | ||
| 21 | private(set) var enginInitError: String? | 26 | private(set) var enginInitError: String? |
| 22 | 27 | ||
| 23 | enum FlutterBridgeMethodName: String{ | 28 | enum FlutterBridgeMethodName: String{ |
| @@ -32,5 +32,9 @@ | @@ -32,5 +32,9 @@ | ||
| 32 | <true/> | 32 | <true/> |
| 33 | <key>UIApplicationSupportsIndirectInputEvents</key> | 33 | <key>UIApplicationSupportsIndirectInputEvents</key> |
| 34 | <true/> | 34 | <true/> |
| 35 | + <key>NSCameraUsageDescription</key> | ||
| 36 | + <string>需要相机拍摄用户头像</string> | ||
| 37 | + <key>NSMicrophoneUsageDescription</key> | ||
| 38 | + <string>需要相机拍摄用户头像</string> | ||
| 35 | </dict> | 39 | </dict> |
| 36 | </plist> | 40 | </plist> |
| 1 | +import 'package:doublefeel_flutter/app/modules/user_onboarding/widget/guide_common_scaffold.dart'; | ||
| 2 | +import 'package:doublefeel_flutter/app/modules/user_onboarding/widget/onboarding_common_widgets.dart'; | ||
| 1 | import 'package:doublefeel_flutter/app/routes/app_pages.dart'; | 3 | import 'package:doublefeel_flutter/app/routes/app_pages.dart'; |
| 2 | import 'package:doublefeel_flutter/core/network/api/friend_api.dart'; | 4 | import 'package:doublefeel_flutter/core/network/api/friend_api.dart'; |
| 3 | import 'package:doublefeel_flutter/core/result/app_result.dart'; | 5 | import 'package:doublefeel_flutter/core/result/app_result.dart'; |
| 4 | import 'package:doublefeel_flutter/core/services/user_state_service.dart'; | 6 | import 'package:doublefeel_flutter/core/services/user_state_service.dart'; |
| 5 | import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart'; | 7 | import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart'; |
| 6 | -import 'package:flutter/widgets.dart'; | 8 | +import 'package:doublefeel_flutter/l10n/l10n_extensions.dart'; |
| 9 | +import 'package:flutter/material.dart'; | ||
| 7 | import 'package:get/get.dart'; | 10 | import 'package:get/get.dart'; |
| 8 | import 'package:share_plus/share_plus.dart'; | 11 | import 'package:share_plus/share_plus.dart'; |
| 9 | 12 | ||
| @@ -55,15 +58,7 @@ class BindPartnerController extends GetxController { | @@ -55,15 +58,7 @@ class BindPartnerController extends GetxController { | ||
| 55 | if (result is AppFailure) { | 58 | if (result is AppFailure) { |
| 56 | return; | 59 | return; |
| 57 | } | 60 | } |
| 58 | - final userStateService = Get.find<UserStateService>(); | ||
| 59 | - if (!userStateService.isVip) { | ||
| 60 | - Get.offAllNamed(AppRoutes.userOnboarding, arguments: { | ||
| 61 | - 'type': "MembershipOfferPage", | ||
| 62 | - 'needBindSuccessGuide': true | ||
| 63 | - }); | ||
| 64 | - } else { | ||
| 65 | - Get.offAllNamed(AppRoutes.home); | ||
| 66 | - } | 61 | + Get.to(_BindSuccessPage()); |
| 67 | } catch (e) { | 62 | } catch (e) { |
| 68 | } finally { | 63 | } finally { |
| 69 | isSubmitting.value = false; | 64 | isSubmitting.value = false; |
| @@ -73,12 +68,65 @@ class BindPartnerController extends GetxController { | @@ -73,12 +68,65 @@ class BindPartnerController extends GetxController { | ||
| 73 | void onSkip() { | 68 | void onSkip() { |
| 74 | final userStateService = Get.find<UserStateService>(); | 69 | final userStateService = Get.find<UserStateService>(); |
| 75 | if (!userStateService.isVip) { | 70 | if (!userStateService.isVip) { |
| 76 | - Get.offAllNamed(AppRoutes.userOnboarding, arguments: { | ||
| 77 | - 'type': "MembershipOfferPage", | ||
| 78 | - 'needBindSuccessGuide': false | ||
| 79 | - }); | 71 | + Get.toNamed(Routes.MEMBERSHIP_OFFER); |
| 80 | } else { | 72 | } else { |
| 81 | Get.offAllNamed(AppRoutes.home); | 73 | Get.offAllNamed(AppRoutes.home); |
| 82 | } | 74 | } |
| 83 | } | 75 | } |
| 84 | } | 76 | } |
| 77 | + | ||
| 78 | +class _BindSuccessPage extends StatelessWidget { | ||
| 79 | + const _BindSuccessPage(); | ||
| 80 | + @override | ||
| 81 | + Widget build(BuildContext context) { | ||
| 82 | + final l10n = context.l10n; | ||
| 83 | + return GuideCommonScaffold( | ||
| 84 | + onBackPressed: () => Get.back(), | ||
| 85 | + bottom: OnboardingBottomButton( | ||
| 86 | + label: l10n.continueButton, | ||
| 87 | + enabled: true, | ||
| 88 | + onPressed: () { | ||
| 89 | + final userStateService = Get.find<UserStateService>(); | ||
| 90 | + if (!userStateService.isVip) { | ||
| 91 | + Get.toNamed(Routes.MEMBERSHIP_OFFER); | ||
| 92 | + } else { | ||
| 93 | + Get.offAllNamed(AppRoutes.home); | ||
| 94 | + } | ||
| 95 | + }, | ||
| 96 | + ), | ||
| 97 | + child: OnboardingPageScrollBody( | ||
| 98 | + horizontalPadding: 0, | ||
| 99 | + topPadding: 0, | ||
| 100 | + child: Column( | ||
| 101 | + mainAxisAlignment: MainAxisAlignment.start, | ||
| 102 | + mainAxisSize: MainAxisSize.min, | ||
| 103 | + children: [ | ||
| 104 | + Container( | ||
| 105 | + height: 509, | ||
| 106 | + decoration: | ||
| 107 | + BoxDecoration(color: const Color(0xFFFF0000).withAlpha(120)), | ||
| 108 | + ), | ||
| 109 | + const SizedBox(height: 16), | ||
| 110 | + OnboardingTitleText( | ||
| 111 | + context.l10n.healthCompanionIsNowAvailable, | ||
| 112 | + maxWidth: 310, | ||
| 113 | + ), | ||
| 114 | + const SizedBox(height: 8), | ||
| 115 | + Padding( | ||
| 116 | + padding: const EdgeInsets.symmetric(horizontal: 16), | ||
| 117 | + child: Text( | ||
| 118 | + l10n.youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired, | ||
| 119 | + textAlign: TextAlign.center, | ||
| 120 | + style: TextStyle( | ||
| 121 | + color: Colors.black, | ||
| 122 | + fontSize: 12, | ||
| 123 | + fontWeight: FontWeight.w400, | ||
| 124 | + ), | ||
| 125 | + ), | ||
| 126 | + ) | ||
| 127 | + ], | ||
| 128 | + ), | ||
| 129 | + ), | ||
| 130 | + ); | ||
| 131 | + } | ||
| 132 | +} |
| 1 | +import 'package:doublefeel_flutter/app/modules/user_onboarding/widget/onboarding_common_widgets.dart'; | ||
| 1 | import 'package:doublefeel_flutter/app/widget/dash_divider.dart'; | 2 | import 'package:doublefeel_flutter/app/widget/dash_divider.dart'; |
| 2 | import 'package:doublefeel_flutter/core/theme/app_theme.dart'; | 3 | import 'package:doublefeel_flutter/core/theme/app_theme.dart'; |
| 3 | import 'package:doublefeel_flutter/core/util/app_toast.dart'; | 4 | import 'package:doublefeel_flutter/core/util/app_toast.dart'; |
| @@ -105,8 +105,7 @@ class _FeedbackRecordCard extends StatelessWidget { | @@ -105,8 +105,7 @@ class _FeedbackRecordCard extends StatelessWidget { | ||
| 105 | behavior: HitTestBehavior.opaque, | 105 | behavior: HitTestBehavior.opaque, |
| 106 | onTap: onTap, | 106 | onTap: onTap, |
| 107 | child: Container( | 107 | child: Container( |
| 108 | - height: hasImages ? 173 : 113, | ||
| 109 | - padding: const EdgeInsets.fromLTRB(20, 20, 20, 0), | 108 | + padding: const EdgeInsets.fromLTRB(20, 20, 20, 24), |
| 110 | decoration: BoxDecoration( | 109 | decoration: BoxDecoration( |
| 111 | color: Colors.white, | 110 | color: Colors.white, |
| 112 | borderRadius: BorderRadius.circular(16), | 111 | borderRadius: BorderRadius.circular(16), |
| @@ -345,9 +344,9 @@ class _AttachmentThumbnail extends StatelessWidget { | @@ -345,9 +344,9 @@ class _AttachmentThumbnail extends StatelessWidget { | ||
| 345 | url, | 344 | url, |
| 346 | fit: BoxFit.cover, | 345 | fit: BoxFit.cover, |
| 347 | errorBuilder: (_, __, ___) { | 346 | errorBuilder: (_, __, ___) { |
| 348 | - return _MockAttachmentThumbnail( | ||
| 349 | - size: size, | ||
| 350 | - radius: radius, | 347 | + return SizedBox( |
| 348 | + height: size, | ||
| 349 | + width: size, | ||
| 351 | ); | 350 | ); |
| 352 | }, | 351 | }, |
| 353 | ), | 352 | ), |
| @@ -17,19 +17,28 @@ class SubmitFeedbackController extends GetxController { | @@ -17,19 +17,28 @@ class SubmitFeedbackController extends GetxController { | ||
| 17 | final feedbackTextController = TextEditingController(); | 17 | final feedbackTextController = TextEditingController(); |
| 18 | final contactTextController = TextEditingController(); | 18 | final contactTextController = TextEditingController(); |
| 19 | final selectedImages = <XFile>[].obs; | 19 | final selectedImages = <XFile>[].obs; |
| 20 | + final isFeedbackEmpty = true.obs; | ||
| 20 | 21 | ||
| 21 | final ImagePicker _picker = ImagePicker(); | 22 | final ImagePicker _picker = ImagePicker(); |
| 22 | 23 | ||
| 24 | + @override | ||
| 25 | + void onInit() { | ||
| 26 | + super.onInit(); | ||
| 27 | + feedbackTextController.addListener(() { | ||
| 28 | + isFeedbackEmpty.value = feedbackTextController.text.trim().isEmpty; | ||
| 29 | + }); | ||
| 30 | + } | ||
| 31 | + | ||
| 23 | Future<void> pickImages() async { | 32 | Future<void> pickImages() async { |
| 24 | final remainingCount = maxImageCount - selectedImages.length; | 33 | final remainingCount = maxImageCount - selectedImages.length; |
| 25 | if (remainingCount <= 0) { | 34 | if (remainingCount <= 0) { |
| 26 | - AppToast.show('最多上传5张凭证'); | 35 | + AppToast.show('最多上传5个图片或视频'); |
| 27 | return; | 36 | return; |
| 28 | } | 37 | } |
| 29 | 38 | ||
| 30 | final List<XFile> images; | 39 | final List<XFile> images; |
| 31 | try { | 40 | try { |
| 32 | - images = await _picker.pickMultiImage( | 41 | + images = await _picker.pickMultipleMedia( |
| 33 | limit: remainingCount, | 42 | limit: remainingCount, |
| 34 | imageQuality: 85, | 43 | imageQuality: 85, |
| 35 | ); | 44 | ); |
| @@ -47,19 +56,34 @@ class SubmitFeedbackController extends GetxController { | @@ -47,19 +56,34 @@ class SubmitFeedbackController extends GetxController { | ||
| 47 | selectedImages.remove(image); | 56 | selectedImages.remove(image); |
| 48 | } | 57 | } |
| 49 | 58 | ||
| 59 | + static final _emailRegExp = RegExp( | ||
| 60 | + r'^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$', | ||
| 61 | + ); | ||
| 62 | + | ||
| 50 | Future<void> submit() async { | 63 | Future<void> submit() async { |
| 51 | if (feedbackTextController.text.trim().isEmpty) { | 64 | if (feedbackTextController.text.trim().isEmpty) { |
| 52 | AppToast.show('请输入问题和反馈'); | 65 | AppToast.show('请输入问题和反馈'); |
| 53 | return; | 66 | return; |
| 54 | } | 67 | } |
| 68 | + final email = contactTextController.text.trim(); | ||
| 69 | + if (email.isNotEmpty && !_emailRegExp.hasMatch(email)) { | ||
| 70 | + AppToast.show('邮箱格式错误,请重新输入'); | ||
| 71 | + return; | ||
| 72 | + } | ||
| 73 | + | ||
| 55 | final result = await _userApi.submitFeedback( | 74 | final result = await _userApi.submitFeedback( |
| 56 | content: feedbackTextController.text.trim(), | 75 | content: feedbackTextController.text.trim(), |
| 57 | email: contactTextController.text.trim(), | 76 | email: contactTextController.text.trim(), |
| 58 | - images: selectedImages.map((e) => e.path).toList(), | 77 | + // images: selectedImages.map((e) => e.path).toList(), |
| 78 | + images: selectedImages | ||
| 79 | + .map( | ||
| 80 | + (e) => 'https://cdn.couple360.net/couple360/themes/im_theme7.png') | ||
| 81 | + .toList(), | ||
| 59 | ); | 82 | ); |
| 60 | switch (result) { | 83 | switch (result) { |
| 61 | case AppSuccess(): | 84 | case AppSuccess(): |
| 62 | await DialogUtils.showCommonDialog(DialogMetaData( | 85 | await DialogUtils.showCommonDialog(DialogMetaData( |
| 86 | + iconAsset: null, | ||
| 63 | title: '反馈提交成功', | 87 | title: '反馈提交成功', |
| 64 | message: '谢谢您的反馈。如需进一步沟通,我们会尽快通过您留下的邮箱地址与您联系,请留意查收邮件。', | 88 | message: '谢谢您的反馈。如需进一步沟通,我们会尽快通过您留下的邮箱地址与您联系,请留意查收邮件。', |
| 65 | confirmText: '好的', | 89 | confirmText: '好的', |
| 1 | import 'dart:io'; | 1 | import 'dart:io'; |
| 2 | +import 'dart:typed_data'; | ||
| 2 | 3 | ||
| 3 | import 'package:doublefeel_flutter/core/theme/app_colors.dart'; | 4 | import 'package:doublefeel_flutter/core/theme/app_colors.dart'; |
| 4 | import 'package:doublefeel_flutter/core/theme/app_theme.dart'; | 5 | import 'package:doublefeel_flutter/core/theme/app_theme.dart'; |
| @@ -6,6 +7,7 @@ import 'package:doublefeel_flutter/l10n/l10n_extensions.dart'; | @@ -6,6 +7,7 @@ import 'package:doublefeel_flutter/l10n/l10n_extensions.dart'; | ||
| 6 | import 'package:flutter/material.dart'; | 7 | import 'package:flutter/material.dart'; |
| 7 | import 'package:get/get.dart'; | 8 | import 'package:get/get.dart'; |
| 8 | import 'package:image_picker/image_picker.dart'; | 9 | import 'package:image_picker/image_picker.dart'; |
| 10 | +import 'package:video_thumbnail/video_thumbnail.dart'; | ||
| 9 | 11 | ||
| 10 | import '../controllers/submit_feedback_controller.dart'; | 12 | import '../controllers/submit_feedback_controller.dart'; |
| 11 | 13 | ||
| @@ -73,27 +75,33 @@ class SubmitFeedbackView extends GetView<SubmitFeedbackController> { | @@ -73,27 +75,33 @@ class SubmitFeedbackView extends GetView<SubmitFeedbackController> { | ||
| 73 | right: 0, | 75 | right: 0, |
| 74 | bottom: 36 + MediaQuery.paddingOf(context).bottom, | 76 | bottom: 36 + MediaQuery.paddingOf(context).bottom, |
| 75 | child: Center( | 77 | child: Center( |
| 76 | - child: GestureDetector( | ||
| 77 | - behavior: HitTestBehavior.opaque, | ||
| 78 | - onTap: controller.submit, | ||
| 79 | - child: Container( | ||
| 80 | - width: 280, | ||
| 81 | - height: 48, | ||
| 82 | - alignment: Alignment.center, | ||
| 83 | - decoration: BoxDecoration( | ||
| 84 | - color: AppColors.primary, | ||
| 85 | - borderRadius: BorderRadius.circular(24), | ||
| 86 | - ), | ||
| 87 | - child: Text( | ||
| 88 | - AppLocalizations.of(context)!.submit, | ||
| 89 | - style: TextStyle( | ||
| 90 | - color: Colors.white, | ||
| 91 | - fontSize: 16, | ||
| 92 | - fontWeight: FontWeight.w600, | 78 | + child: Obx(() { |
| 79 | + final isEmpty = controller.isFeedbackEmpty.value; | ||
| 80 | + return GestureDetector( | ||
| 81 | + behavior: HitTestBehavior.opaque, | ||
| 82 | + onTap: isEmpty ? null : controller.submit, | ||
| 83 | + child: Opacity( | ||
| 84 | + opacity: isEmpty ? 0.4 : 1.0, | ||
| 85 | + child: Container( | ||
| 86 | + width: 280, | ||
| 87 | + height: 48, | ||
| 88 | + alignment: Alignment.center, | ||
| 89 | + decoration: BoxDecoration( | ||
| 90 | + color: AppColors.primary, | ||
| 91 | + borderRadius: BorderRadius.circular(24), | ||
| 92 | + ), | ||
| 93 | + child: Text( | ||
| 94 | + AppLocalizations.of(context)!.submit, | ||
| 95 | + style: TextStyle( | ||
| 96 | + color: Colors.white, | ||
| 97 | + fontSize: 16, | ||
| 98 | + fontWeight: FontWeight.w600, | ||
| 99 | + ), | ||
| 100 | + ), | ||
| 93 | ), | 101 | ), |
| 94 | ), | 102 | ), |
| 95 | - ), | ||
| 96 | - ), | 103 | + ); |
| 104 | + }), | ||
| 97 | ), | 105 | ), |
| 98 | ), | 106 | ), |
| 99 | ], | 107 | ], |
| @@ -316,7 +324,24 @@ class _ImagePickerGrid extends GetView<SubmitFeedbackController> { | @@ -316,7 +324,24 @@ class _ImagePickerGrid extends GetView<SubmitFeedbackController> { | ||
| 316 | } | 324 | } |
| 317 | } | 325 | } |
| 318 | 326 | ||
| 319 | -class _SelectedImageTile extends StatelessWidget { | 327 | +/// 根据文件扩展名判断是否为视频 |
| 328 | +bool _isVideo(XFile file) { | ||
| 329 | + const videoExtensions = { | ||
| 330 | + 'mp4', | ||
| 331 | + 'mov', | ||
| 332 | + 'avi', | ||
| 333 | + 'mkv', | ||
| 334 | + 'wmv', | ||
| 335 | + 'flv', | ||
| 336 | + 'webm', | ||
| 337 | + 'm4v', | ||
| 338 | + '3gp' | ||
| 339 | + }; | ||
| 340 | + final ext = file.path.split('.').last.toLowerCase(); | ||
| 341 | + return videoExtensions.contains(ext); | ||
| 342 | +} | ||
| 343 | + | ||
| 344 | +class _SelectedImageTile extends StatefulWidget { | ||
| 320 | const _SelectedImageTile({ | 345 | const _SelectedImageTile({ |
| 321 | required this.image, | 346 | required this.image, |
| 322 | required this.onRemove, | 347 | required this.onRemove, |
| @@ -326,13 +351,48 @@ class _SelectedImageTile extends StatelessWidget { | @@ -326,13 +351,48 @@ class _SelectedImageTile extends StatelessWidget { | ||
| 326 | final VoidCallback onRemove; | 351 | final VoidCallback onRemove; |
| 327 | 352 | ||
| 328 | @override | 353 | @override |
| 354 | + State<_SelectedImageTile> createState() => _SelectedImageTileState(); | ||
| 355 | +} | ||
| 356 | + | ||
| 357 | +class _SelectedImageTileState extends State<_SelectedImageTile> { | ||
| 358 | + // null = 加载中,Uint8List = 成功,false = 失败/占位 | ||
| 359 | + Object? _thumbnailResult; // Uint8List | false | ||
| 360 | + | ||
| 361 | + @override | ||
| 362 | + void initState() { | ||
| 363 | + super.initState(); | ||
| 364 | + if (_isVideo(widget.image)) { | ||
| 365 | + _loadThumbnail(); | ||
| 366 | + } | ||
| 367 | + } | ||
| 368 | + | ||
| 369 | + Future<void> _loadThumbnail() async { | ||
| 370 | + try { | ||
| 371 | + final bytes = await VideoThumbnail.thumbnailData( | ||
| 372 | + video: widget.image.path, | ||
| 373 | + imageFormat: ImageFormat.JPEG, | ||
| 374 | + maxWidth: 288, // 2x 72dp | ||
| 375 | + quality: 75, | ||
| 376 | + timeMs: 0, | ||
| 377 | + ); | ||
| 378 | + if (!mounted) return; | ||
| 379 | + setState(() => _thumbnailResult = bytes ?? false); | ||
| 380 | + } catch (_) { | ||
| 381 | + if (!mounted) return; | ||
| 382 | + setState(() => _thumbnailResult = false); | ||
| 383 | + } | ||
| 384 | + } | ||
| 385 | + | ||
| 386 | + @override | ||
| 329 | Widget build(BuildContext context) { | 387 | Widget build(BuildContext context) { |
| 388 | + final isVideo = _isVideo(widget.image); | ||
| 330 | return SizedBox( | 389 | return SizedBox( |
| 331 | width: 72, | 390 | width: 72, |
| 332 | height: 72, | 391 | height: 72, |
| 333 | child: Stack( | 392 | child: Stack( |
| 334 | clipBehavior: Clip.none, | 393 | clipBehavior: Clip.none, |
| 335 | children: [ | 394 | children: [ |
| 395 | + // 主体内容 | ||
| 336 | Positioned.fill( | 396 | Positioned.fill( |
| 337 | child: DecoratedBox( | 397 | child: DecoratedBox( |
| 338 | decoration: BoxDecoration( | 398 | decoration: BoxDecoration( |
| @@ -341,31 +401,32 @@ class _SelectedImageTile extends StatelessWidget { | @@ -341,31 +401,32 @@ class _SelectedImageTile extends StatelessWidget { | ||
| 341 | ), | 401 | ), |
| 342 | child: ClipRRect( | 402 | child: ClipRRect( |
| 343 | borderRadius: BorderRadius.circular(15), | 403 | borderRadius: BorderRadius.circular(15), |
| 344 | - child: Image.file( | ||
| 345 | - File(image.path), | ||
| 346 | - fit: BoxFit.cover, | ||
| 347 | - ), | 404 | + child: _buildContent(isVideo), |
| 348 | ), | 405 | ), |
| 349 | ), | 406 | ), |
| 350 | ), | 407 | ), |
| 408 | + // 视频:叠加 ic_pause.png(无论缩略图是否加载成功) | ||
| 409 | + if (isVideo) | ||
| 410 | + Positioned.fill( | ||
| 411 | + child: Center( | ||
| 412 | + child: Image.asset( | ||
| 413 | + 'assets/images/common/ic_pause.png', | ||
| 414 | + width: 24, | ||
| 415 | + height: 24, | ||
| 416 | + ), | ||
| 417 | + ), | ||
| 418 | + ), | ||
| 419 | + // 右上角删除按钮 | ||
| 351 | Positioned( | 420 | Positioned( |
| 352 | top: -4, | 421 | top: -4, |
| 353 | right: -4, | 422 | right: -4, |
| 354 | child: GestureDetector( | 423 | child: GestureDetector( |
| 355 | behavior: HitTestBehavior.opaque, | 424 | behavior: HitTestBehavior.opaque, |
| 356 | - onTap: onRemove, | ||
| 357 | - child: Container( | ||
| 358 | - width: 18, | ||
| 359 | - height: 18, | ||
| 360 | - decoration: const BoxDecoration( | ||
| 361 | - color: AppColors.warning, | ||
| 362 | - shape: BoxShape.circle, | ||
| 363 | - ), | ||
| 364 | - child: Icon( | ||
| 365 | - Icons.close, | ||
| 366 | - color: Colors.white, | ||
| 367 | - size: 13, | ||
| 368 | - ), | 425 | + onTap: widget.onRemove, |
| 426 | + child: Image.asset( | ||
| 427 | + 'assets/images/common/ic_media_cancel.png', | ||
| 428 | + width: 16, | ||
| 429 | + height: 16, | ||
| 369 | ), | 430 | ), |
| 370 | ), | 431 | ), |
| 371 | ), | 432 | ), |
| @@ -373,6 +434,25 @@ class _SelectedImageTile extends StatelessWidget { | @@ -373,6 +434,25 @@ class _SelectedImageTile extends StatelessWidget { | ||
| 373 | ), | 434 | ), |
| 374 | ); | 435 | ); |
| 375 | } | 436 | } |
| 437 | + | ||
| 438 | + Widget _buildContent(bool isVideo) { | ||
| 439 | + if (!isVideo) { | ||
| 440 | + return Image.file(File(widget.image.path), fit: BoxFit.cover); | ||
| 441 | + } | ||
| 442 | + | ||
| 443 | + // 视频:根据缩略图加载状态展示 | ||
| 444 | + final result = _thumbnailResult; | ||
| 445 | + if (result is Uint8List) { | ||
| 446 | + // 成功:显示第一帧 | ||
| 447 | + return Image.memory(result, fit: BoxFit.cover); | ||
| 448 | + } else { | ||
| 449 | + // 加载中 或 失败:灰色占位 | ||
| 450 | + return const ColoredBox( | ||
| 451 | + color: Color(0xFFEDE8FF), | ||
| 452 | + child: SizedBox.expand(), | ||
| 453 | + ); | ||
| 454 | + } | ||
| 455 | + } | ||
| 376 | } | 456 | } |
| 377 | 457 | ||
| 378 | class _AddImageTile extends StatelessWidget { | 458 | class _AddImageTile extends StatelessWidget { |
| @@ -385,66 +465,11 @@ class _AddImageTile extends StatelessWidget { | @@ -385,66 +465,11 @@ class _AddImageTile extends StatelessWidget { | ||
| 385 | return GestureDetector( | 465 | return GestureDetector( |
| 386 | behavior: HitTestBehavior.opaque, | 466 | behavior: HitTestBehavior.opaque, |
| 387 | onTap: onTap, | 467 | onTap: onTap, |
| 388 | - child: CustomPaint( | ||
| 389 | - painter: _DashedRoundedRectPainter( | ||
| 390 | - color: context.colors.textTertiary, | ||
| 391 | - radius: 16, | ||
| 392 | - ), | ||
| 393 | - child: SizedBox( | ||
| 394 | - width: 72, | ||
| 395 | - height: 72, | ||
| 396 | - child: Center( | ||
| 397 | - child: Icon( | ||
| 398 | - Icons.add, | ||
| 399 | - size: 28, | ||
| 400 | - color: context.colors.textTertiary, | ||
| 401 | - ), | ||
| 402 | - ), | ||
| 403 | - ), | 468 | + child: Image.asset( |
| 469 | + 'assets/images/common/ic_media_add.png', | ||
| 470 | + width: 72, | ||
| 471 | + height: 72, | ||
| 404 | ), | 472 | ), |
| 405 | ); | 473 | ); |
| 406 | } | 474 | } |
| 407 | } | 475 | } |
| 408 | - | ||
| 409 | -class _DashedRoundedRectPainter extends CustomPainter { | ||
| 410 | - const _DashedRoundedRectPainter({ | ||
| 411 | - required this.color, | ||
| 412 | - required this.radius, | ||
| 413 | - }); | ||
| 414 | - | ||
| 415 | - final Color color; | ||
| 416 | - final double radius; | ||
| 417 | - | ||
| 418 | - @override | ||
| 419 | - void paint(Canvas canvas, Size size) { | ||
| 420 | - final paint = Paint() | ||
| 421 | - ..color = color | ||
| 422 | - ..strokeWidth = 1 | ||
| 423 | - ..style = PaintingStyle.stroke; | ||
| 424 | - final rrect = RRect.fromRectAndRadius( | ||
| 425 | - Offset.zero & size, | ||
| 426 | - Radius.circular(radius), | ||
| 427 | - ); | ||
| 428 | - final path = Path()..addRRect(rrect); | ||
| 429 | - final metrics = path.computeMetrics(); | ||
| 430 | - | ||
| 431 | - for (final metric in metrics) { | ||
| 432 | - var distance = 0.0; | ||
| 433 | - const dashWidth = 4.0; | ||
| 434 | - const dashGap = 3.0; | ||
| 435 | - while (distance < metric.length) { | ||
| 436 | - final nextDistance = distance + dashWidth; | ||
| 437 | - canvas.drawPath( | ||
| 438 | - metric.extractPath(distance, nextDistance), | ||
| 439 | - paint, | ||
| 440 | - ); | ||
| 441 | - distance = nextDistance + dashGap; | ||
| 442 | - } | ||
| 443 | - } | ||
| 444 | - } | ||
| 445 | - | ||
| 446 | - @override | ||
| 447 | - bool shouldRepaint(covariant _DashedRoundedRectPainter oldDelegate) { | ||
| 448 | - return oldDelegate.color != color || oldDelegate.radius != radius; | ||
| 449 | - } | ||
| 450 | -} |
| @@ -10,6 +10,7 @@ import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart'; | @@ -10,6 +10,7 @@ import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart'; | ||
| 10 | import 'package:doublefeel_flutter/data/models/local/user_preferences.dart'; | 10 | import 'package:doublefeel_flutter/data/models/local/user_preferences.dart'; |
| 11 | import 'package:doublefeel_flutter/data/models/user/user_models.dart'; | 11 | import 'package:doublefeel_flutter/data/models/user/user_models.dart'; |
| 12 | import 'package:get/get.dart'; | 12 | import 'package:get/get.dart'; |
| 13 | +import 'package:image_cropper/image_cropper.dart'; | ||
| 13 | import 'package:image_picker/image_picker.dart'; | 14 | import 'package:image_picker/image_picker.dart'; |
| 14 | 15 | ||
| 15 | class MyController extends GetxController { | 16 | class MyController extends GetxController { |
| @@ -47,15 +48,41 @@ class MyController extends GetxController { | @@ -47,15 +48,41 @@ class MyController extends GetxController { | ||
| 47 | } | 48 | } |
| 48 | } | 49 | } |
| 49 | 50 | ||
| 50 | - Future<void> pickAvatar() async { | ||
| 51 | - final result = await _picker.pickImage(source: ImageSource.gallery); | ||
| 52 | - if (result != null) { | ||
| 53 | - var obsUrl = 'https://cdn.couple360.net/couple360/themes/im_theme7.png'; | ||
| 54 | - final updateResult = await _userApi.updateOwnerUserInfo(avatar: obsUrl); | ||
| 55 | - if (updateResult is AppSuccess<UserInfoResponse>) { | ||
| 56 | - await Get.find<UserPreferencesStorage>() | ||
| 57 | - .updateMeUserInfo(updateResult.data); | ||
| 58 | - } | 51 | + /// 选择头像:支持拍照或从相册选取,选取后进入裁剪页 |
| 52 | + Future<void> pickAvatar({bool fromCamera = false}) async { | ||
| 53 | + // 1. 用 image_picker 调起系统相机或相册 | ||
| 54 | + final XFile? picked = await _picker.pickImage( | ||
| 55 | + source: fromCamera ? ImageSource.camera : ImageSource.gallery, | ||
| 56 | + imageQuality: 90, | ||
| 57 | + maxWidth: 1024, | ||
| 58 | + maxHeight: 1024, | ||
| 59 | + ); | ||
| 60 | + if (picked == null) return; // 用户取消 | ||
| 61 | + | ||
| 62 | + // 2. 用 image_cropper 裁剪为正方形 | ||
| 63 | + final CroppedFile? cropped = await ImageCropper().cropImage( | ||
| 64 | + sourcePath: picked.path, | ||
| 65 | + aspectRatio: const CropAspectRatio(ratioX: 1, ratioY: 1), | ||
| 66 | + uiSettings: [ | ||
| 67 | + AndroidUiSettings( | ||
| 68 | + toolbarTitle: '裁剪头像', | ||
| 69 | + lockAspectRatio: true, | ||
| 70 | + ), | ||
| 71 | + IOSUiSettings( | ||
| 72 | + title: '裁剪头像', | ||
| 73 | + aspectRatioLockEnabled: true, | ||
| 74 | + resetAspectRatioEnabled: false, | ||
| 75 | + ), | ||
| 76 | + ], | ||
| 77 | + ); | ||
| 78 | + if (cropped == null) return; // 用户取消裁剪 | ||
| 79 | + | ||
| 80 | + // 目前用占位 URL,替换为真实上传逻辑 | ||
| 81 | + const obsUrl = 'https://cdn.couple360.net/couple360/themes/im_theme7.png'; | ||
| 82 | + final updateResult = await _userApi.updateOwnerUserInfo(avatar: obsUrl); | ||
| 83 | + if (updateResult is AppSuccess<UserInfoResponse>) { | ||
| 84 | + await Get.find<UserPreferencesStorage>() | ||
| 85 | + .updateMeUserInfo(updateResult.data); | ||
| 59 | } | 86 | } |
| 60 | } | 87 | } |
| 61 | 88 |
| @@ -157,7 +157,7 @@ class TodayController extends GetxController { | @@ -157,7 +157,7 @@ class TodayController extends GetxController { | ||
| 157 | showPartnerAdBanner.value = false; | 157 | showPartnerAdBanner.value = false; |
| 158 | } else { | 158 | } else { |
| 159 | _refreshFriendList(onFriendListUpdated: () { | 159 | _refreshFriendList(onFriendListUpdated: () { |
| 160 | - if (friendsList.isEmpty || friendsList.value.length >= 10) { | 160 | + if (friendsList.isNotEmpty || friendsList.value.length >= 10) { |
| 161 | showPartnerAdBanner.value = false; | 161 | showPartnerAdBanner.value = false; |
| 162 | } else { | 162 | } else { |
| 163 | showPartnerAdBanner.value = true; | 163 | showPartnerAdBanner.value = true; |
| @@ -236,14 +236,14 @@ class TodayController extends GetxController { | @@ -236,14 +236,14 @@ class TodayController extends GetxController { | ||
| 236 | try { | 236 | try { |
| 237 | final result = | 237 | final result = |
| 238 | await _appleHealthUploadTool.uploadAllNewDataFromHealthKit(); | 238 | await _appleHealthUploadTool.uploadAllNewDataFromHealthKit(); |
| 239 | - AppLogger.i( | ||
| 240 | - 'Apple Health upload finished: ' | ||
| 241 | - 'common=${result.commonUploadSuccess}(${result.commonCount}), ' | ||
| 242 | - 'sleep=${result.sleepUploadSuccess}(${result.sleepCount}), ' | ||
| 243 | - 'activityTarget=${result.activityTargetUploadSuccess}' | ||
| 244 | - '(${result.activityTargetCount}), ' | ||
| 245 | - 'success=${result.isSuccess}', | ||
| 246 | - ); | 239 | + // AppLogger.i( |
| 240 | + // 'Apple Health upload finished: ' | ||
| 241 | + // 'common=${result.commonUploadSuccess}(${result.commonCount}), ' | ||
| 242 | + // 'sleep=${result.sleepUploadSuccess}(${result.sleepCount}), ' | ||
| 243 | + // 'activityTarget=${result.activityTargetUploadSuccess}' | ||
| 244 | + // '(${result.activityTargetCount}), ' | ||
| 245 | + // 'success=${result.isSuccess}', | ||
| 246 | + // ); | ||
| 247 | } catch (error, stackTrace) { | 247 | } catch (error, stackTrace) { |
| 248 | AppLogger.e('Apple Health upload failed', error, stackTrace); | 248 | AppLogger.e('Apple Health upload failed', error, stackTrace); |
| 249 | } | 249 | } |
| @@ -255,6 +255,9 @@ class TodayController extends GetxController { | @@ -255,6 +255,9 @@ class TodayController extends GetxController { | ||
| 255 | 255 | ||
| 256 | showHealthDataAuthCardStatus.value = result.status; | 256 | showHealthDataAuthCardStatus.value = result.status; |
| 257 | // TODO:若用户从始至终没有任何数据,也显示该引导 | 257 | // TODO:若用户从始至终没有任何数据,也显示该引导 |
| 258 | + if (result.status == 1) { | ||
| 259 | + _performDataUpload(); | ||
| 260 | + } | ||
| 258 | } catch (e) {} | 261 | } catch (e) {} |
| 259 | } | 262 | } |
| 260 | 263 |
| @@ -248,7 +248,90 @@ class _Avatar extends StatelessWidget { | @@ -248,7 +248,90 @@ class _Avatar extends StatelessWidget { | ||
| 248 | child: GestureDetector( | 248 | child: GestureDetector( |
| 249 | behavior: HitTestBehavior.opaque, | 249 | behavior: HitTestBehavior.opaque, |
| 250 | onTap: () { | 250 | onTap: () { |
| 251 | - controller.pickAvatar(); | 251 | + Get.bottomSheet(SafeArea( |
| 252 | + child: Column( | ||
| 253 | + mainAxisSize: MainAxisSize.min, | ||
| 254 | + children: [ | ||
| 255 | + GestureDetector( | ||
| 256 | + onTap: () { | ||
| 257 | + Get.back(); | ||
| 258 | + controller.pickAvatar(fromCamera: true); | ||
| 259 | + }, | ||
| 260 | + child: Container( | ||
| 261 | + width: double.infinity, | ||
| 262 | + margin: EdgeInsets.symmetric(horizontal: 16), | ||
| 263 | + height: 52, | ||
| 264 | + decoration: BoxDecoration( | ||
| 265 | + color: Colors.white, | ||
| 266 | + borderRadius: BorderRadius.only( | ||
| 267 | + topLeft: Radius.circular(16), | ||
| 268 | + topRight: Radius.circular(16), | ||
| 269 | + ), | ||
| 270 | + ), | ||
| 271 | + alignment: Alignment.center, | ||
| 272 | + child: Text( | ||
| 273 | + '拍摄', | ||
| 274 | + style: TextStyle( | ||
| 275 | + color: context.colors.textPrimary, | ||
| 276 | + fontSize: 14, | ||
| 277 | + fontWeight: FontWeight.w400, | ||
| 278 | + ), | ||
| 279 | + ), | ||
| 280 | + ), | ||
| 281 | + ), | ||
| 282 | + GestureDetector( | ||
| 283 | + onTap: () { | ||
| 284 | + Get.back(); | ||
| 285 | + controller.pickAvatar(fromCamera: false); | ||
| 286 | + }, | ||
| 287 | + child: Container( | ||
| 288 | + width: double.infinity, | ||
| 289 | + margin: EdgeInsets.symmetric(horizontal: 16), | ||
| 290 | + height: 52, | ||
| 291 | + decoration: BoxDecoration( | ||
| 292 | + color: Colors.white, | ||
| 293 | + borderRadius: BorderRadius.only( | ||
| 294 | + bottomLeft: Radius.circular(16), | ||
| 295 | + bottomRight: Radius.circular(16), | ||
| 296 | + ), | ||
| 297 | + ), | ||
| 298 | + alignment: Alignment.center, | ||
| 299 | + child: Text( | ||
| 300 | + '相册上传', | ||
| 301 | + style: TextStyle( | ||
| 302 | + color: context.colors.textPrimary, | ||
| 303 | + fontSize: 14, | ||
| 304 | + fontWeight: FontWeight.w400, | ||
| 305 | + ), | ||
| 306 | + ), | ||
| 307 | + ), | ||
| 308 | + ), | ||
| 309 | + GestureDetector( | ||
| 310 | + onTap: () { | ||
| 311 | + Get.back(); | ||
| 312 | + }, | ||
| 313 | + child: Container( | ||
| 314 | + width: double.infinity, | ||
| 315 | + margin: EdgeInsets.only(left: 16, right: 16, top: 8), | ||
| 316 | + height: 52, | ||
| 317 | + decoration: BoxDecoration( | ||
| 318 | + color: Colors.white, | ||
| 319 | + borderRadius: BorderRadius.circular(16), | ||
| 320 | + ), | ||
| 321 | + alignment: Alignment.center, | ||
| 322 | + child: Text( | ||
| 323 | + '取消', | ||
| 324 | + style: TextStyle( | ||
| 325 | + color: context.colors.textSecondary, | ||
| 326 | + fontSize: 14, | ||
| 327 | + fontWeight: FontWeight.w400, | ||
| 328 | + ), | ||
| 329 | + ), | ||
| 330 | + ), | ||
| 331 | + ), | ||
| 332 | + ], | ||
| 333 | + ), | ||
| 334 | + )); | ||
| 252 | }, | 335 | }, |
| 253 | child: Container( | 336 | child: Container( |
| 254 | width: 24, | 337 | width: 24, |
| @@ -16,15 +16,15 @@ class TodayHrvAdBanner extends StatelessWidget { | @@ -16,15 +16,15 @@ class TodayHrvAdBanner extends StatelessWidget { | ||
| 16 | return Obx(() { | 16 | return Obx(() { |
| 17 | if (!controller.showHrvAdBanner.value) return const SizedBox.shrink(); | 17 | if (!controller.showHrvAdBanner.value) return const SizedBox.shrink(); |
| 18 | 18 | ||
| 19 | - return _TodayGuideBanner( | ||
| 20 | - title: context.l10n.clickToAddTheHrvThemedWatchFace, | ||
| 21 | - subtitle: context.l10n.stayOnTopOfYourHealthFluctuations, | ||
| 22 | - right: GestureDetector( | ||
| 23 | - onTap: () async { | ||
| 24 | - await Get.toNamed(Routes.WATCH_THEME); | ||
| 25 | - controller.checkAddFriendVisible(); | ||
| 26 | - }, | ||
| 27 | - child: Container( | 19 | + return GestureDetector( |
| 20 | + onTap: () async { | ||
| 21 | + await Get.toNamed(Routes.WATCH_THEME); | ||
| 22 | + controller.checkAddFriendVisible(); | ||
| 23 | + }, | ||
| 24 | + child: _TodayGuideBanner( | ||
| 25 | + title: context.l10n.clickToAddTheHrvThemedWatchFace, | ||
| 26 | + subtitle: context.l10n.stayOnTopOfYourHealthFluctuations, | ||
| 27 | + right: Container( | ||
| 28 | padding: const EdgeInsets.all(4), | 28 | padding: const EdgeInsets.all(4), |
| 29 | decoration: BoxDecoration( | 29 | decoration: BoxDecoration( |
| 30 | color: Colors.white, | 30 | color: Colors.white, |
| @@ -37,9 +37,9 @@ class TodayHrvAdBanner extends StatelessWidget { | @@ -37,9 +37,9 @@ class TodayHrvAdBanner extends StatelessWidget { | ||
| 37 | color: context.colors.primary, | 37 | color: context.colors.primary, |
| 38 | ), | 38 | ), |
| 39 | ), | 39 | ), |
| 40 | + leftImagePath: 'assets/images/today/ic_banner_watch_hrv_theme.png', | ||
| 41 | + onClose: controller.dismissHrvAdBanner, | ||
| 40 | ), | 42 | ), |
| 41 | - leftImagePath: 'assets/images/today/ic_banner_watch_hrv_theme.png', | ||
| 42 | - onClose: controller.dismissHrvAdBanner, | ||
| 43 | ); | 43 | ); |
| 44 | }); | 44 | }); |
| 45 | } | 45 | } |
| @@ -59,16 +59,15 @@ class TodayPartnerAdBanner extends StatelessWidget { | @@ -59,16 +59,15 @@ class TodayPartnerAdBanner extends StatelessWidget { | ||
| 59 | !controller.userStateService.isBound; | 59 | !controller.userStateService.isBound; |
| 60 | if (!shouldShow) return const SizedBox.shrink(); | 60 | if (!shouldShow) return const SizedBox.shrink(); |
| 61 | 61 | ||
| 62 | - return _TodayGuideBanner( | ||
| 63 | - title: context.l10n.addACloseContact, | ||
| 64 | - subtitle: context.l10n.oneMorePersonLookingOutForYourHealth, | ||
| 65 | - right: GestureDetector( | ||
| 66 | - onTap: () async { | ||
| 67 | - await Get.toNamed(Routes.ADD_FRIEND); | ||
| 68 | - controller.checkAddFriendVisible(); | ||
| 69 | - }, | ||
| 70 | - behavior: HitTestBehavior.opaque, | ||
| 71 | - child: Container( | 62 | + return GestureDetector( |
| 63 | + onTap: () async { | ||
| 64 | + await Get.toNamed(Routes.ADD_FRIEND); | ||
| 65 | + controller.checkAddFriendVisible(); | ||
| 66 | + }, | ||
| 67 | + child: _TodayGuideBanner( | ||
| 68 | + title: context.l10n.addACloseContact, | ||
| 69 | + subtitle: context.l10n.oneMorePersonLookingOutForYourHealth, | ||
| 70 | + right: Container( | ||
| 72 | width: 72, | 71 | width: 72, |
| 73 | height: 28, | 72 | height: 28, |
| 74 | alignment: Alignment.center, | 73 | alignment: Alignment.center, |
| @@ -86,9 +85,9 @@ class TodayPartnerAdBanner extends StatelessWidget { | @@ -86,9 +85,9 @@ class TodayPartnerAdBanner extends StatelessWidget { | ||
| 86 | ), | 85 | ), |
| 87 | ), | 86 | ), |
| 88 | ), | 87 | ), |
| 88 | + leftImagePath: 'assets/images/today/ic_banner_add_contact.png', | ||
| 89 | + onClose: controller.dismissPartnerAdBanner, | ||
| 89 | ), | 90 | ), |
| 90 | - leftImagePath: 'assets/images/today/ic_banner_add_contact.png', | ||
| 91 | - onClose: controller.dismissPartnerAdBanner, | ||
| 92 | ); | 91 | ); |
| 93 | }); | 92 | }); |
| 94 | } | 93 | } |
| @@ -43,21 +43,27 @@ class LoginView extends GetView<LoginController> { | @@ -43,21 +43,27 @@ class LoginView extends GetView<LoginController> { | ||
| 43 | return Stack( | 43 | return Stack( |
| 44 | fit: StackFit.expand, | 44 | fit: StackFit.expand, |
| 45 | children: [ | 45 | children: [ |
| 46 | - const DecoratedBox( | ||
| 47 | - decoration: BoxDecoration( | ||
| 48 | - gradient: LinearGradient( | ||
| 49 | - begin: Alignment(0.50, -0.00), | ||
| 50 | - end: Alignment(0.50, 1.00), | ||
| 51 | - colors: [ | ||
| 52 | - const Color(0xFFE6DAFF), | ||
| 53 | - const Color(0xFFECE4FF), | ||
| 54 | - const Color(0xFFEEE6FF), | ||
| 55 | - const Color(0xFFF8F6FF) | ||
| 56 | - ], | 46 | + Column( |
| 47 | + mainAxisSize: MainAxisSize.max, | ||
| 48 | + children: [ | ||
| 49 | + Image.asset( | ||
| 50 | + 'assets/images/user_onboarding/bg_login.png', | ||
| 51 | + fit: BoxFit.fitWidth, | ||
| 57 | ), | 52 | ), |
| 58 | - ), | 53 | + Expanded( |
| 54 | + child: Container( | ||
| 55 | + decoration: const BoxDecoration( | ||
| 56 | + gradient: LinearGradient( | ||
| 57 | + begin: Alignment(0.50, -0.00), | ||
| 58 | + end: Alignment(0.50, 1.00), | ||
| 59 | + colors: [ | ||
| 60 | + const Color(0xFFEEE6FF), | ||
| 61 | + const Color(0xFFF8F6FF) | ||
| 62 | + ]), | ||
| 63 | + ), | ||
| 64 | + )), | ||
| 65 | + ], | ||
| 59 | ), | 66 | ), |
| 60 | - | ||
| 61 | // Welcome texts | 67 | // Welcome texts |
| 62 | Positioned( | 68 | Positioned( |
| 63 | bottom: bottom(253), | 69 | bottom: bottom(253), |
| 1 | +import 'package:doublefeel_flutter/core/theme/app_theme.dart'; | ||
| 2 | +import 'package:doublefeel_flutter/l10n/l10n_extensions.dart'; | ||
| 3 | +import 'package:flutter/material.dart'; | ||
| 4 | +import 'package:get/get.dart'; | ||
| 5 | + | ||
| 6 | +import '../../user_onboarding/widget/guide_common_scaffold.dart'; | ||
| 7 | +import '../../user_onboarding/widget/onboarding_common_widgets.dart'; | ||
| 8 | +import '../../user_onboarding/widget/onboarding_illustrations.dart'; | ||
| 9 | +import '../controllers/membership_offer_controller.dart'; | ||
| 10 | + | ||
| 11 | +class MembershipOfferView extends GetView<MembershipOfferController> { | ||
| 12 | + const MembershipOfferView({super.key}); | ||
| 13 | + | ||
| 14 | + @override | ||
| 15 | + Widget build(BuildContext context) { | ||
| 16 | + final l10n = context.l10n; | ||
| 17 | + | ||
| 18 | + return GuideCommonScaffold( | ||
| 19 | + bottom: OnboardingBottomButton( | ||
| 20 | + label: l10n.continueButton, | ||
| 21 | + enabled: true, | ||
| 22 | + onPressed: controller.finish, | ||
| 23 | + ), | ||
| 24 | + child: SingleChildScrollView( | ||
| 25 | + physics: const ClampingScrollPhysics(), | ||
| 26 | + padding: EdgeInsets.fromLTRB( | ||
| 27 | + 0, | ||
| 28 | + MediaQuery.paddingOf(context).top + 4, | ||
| 29 | + 0, | ||
| 30 | + 140, | ||
| 31 | + ), | ||
| 32 | + child: Column( | ||
| 33 | + children: [ | ||
| 34 | + Padding( | ||
| 35 | + padding: const EdgeInsets.symmetric(horizontal: 16), | ||
| 36 | + child: Column( | ||
| 37 | + children: [ | ||
| 38 | + OnboardingTitleText(l10n.onboardingMemberTitle), | ||
| 39 | + const SizedBox(height: 12), | ||
| 40 | + OnboardingBodyText( | ||
| 41 | + l10n.onboardingMemberBody, | ||
| 42 | + fontSize: 14, | ||
| 43 | + ), | ||
| 44 | + ], | ||
| 45 | + ), | ||
| 46 | + ), | ||
| 47 | + const SizedBox(height: 12), | ||
| 48 | + const GiftIllustration(), | ||
| 49 | + const SizedBox(height: 4), | ||
| 50 | + Text( | ||
| 51 | + l10n.onboardingMemberOriginalPrice, | ||
| 52 | + textAlign: TextAlign.center, | ||
| 53 | + style: const TextStyle( | ||
| 54 | + color: Color(0xFFB0B0B6), | ||
| 55 | + fontSize: 16, | ||
| 56 | + decoration: TextDecoration.lineThrough, | ||
| 57 | + decorationColor: Color(0xFFB0B0B6), | ||
| 58 | + letterSpacing: 0, | ||
| 59 | + ), | ||
| 60 | + ), | ||
| 61 | + const SizedBox(height: 6), | ||
| 62 | + Text( | ||
| 63 | + l10n.onboardingMemberCurrentPrice, | ||
| 64 | + textAlign: TextAlign.center, | ||
| 65 | + style: TextStyle( | ||
| 66 | + color: context.colors.primary, | ||
| 67 | + fontSize: 28, | ||
| 68 | + fontWeight: FontWeight.w600, | ||
| 69 | + letterSpacing: 0, | ||
| 70 | + ), | ||
| 71 | + ), | ||
| 72 | + const SizedBox(height: 6), | ||
| 73 | + Text( | ||
| 74 | + l10n.onboardingMemberMonthlyPrice, | ||
| 75 | + textAlign: TextAlign.center, | ||
| 76 | + style: const TextStyle( | ||
| 77 | + color: Color(0xFFB0B0B6), | ||
| 78 | + fontSize: 12, | ||
| 79 | + letterSpacing: 0, | ||
| 80 | + ), | ||
| 81 | + ), | ||
| 82 | + const SizedBox(height: 70), | ||
| 83 | + Text( | ||
| 84 | + l10n.onboardingMemberAllOptions, | ||
| 85 | + textAlign: TextAlign.center, | ||
| 86 | + style: TextStyle( | ||
| 87 | + color: context.colors.textPrimary, | ||
| 88 | + fontSize: 12, | ||
| 89 | + decoration: TextDecoration.underline, | ||
| 90 | + decorationColor: context.colors.textPrimary, | ||
| 91 | + letterSpacing: 0, | ||
| 92 | + ), | ||
| 93 | + ), | ||
| 94 | + ], | ||
| 95 | + ), | ||
| 96 | + ), | ||
| 97 | + ); | ||
| 98 | + } | ||
| 99 | +} |
| @@ -23,9 +23,6 @@ class UserOnboardingController extends GetxController { | @@ -23,9 +23,6 @@ class UserOnboardingController extends GetxController { | ||
| 23 | selections[pageIndex]?.contains(optionIndex) ?? false; | 23 | selections[pageIndex]?.contains(optionIndex) ?? false; |
| 24 | 24 | ||
| 25 | bool canContinue(int pageIndex) { | 25 | bool canContinue(int pageIndex) { |
| 26 | - if (Get.arguments?['type'] == 'MembershipOfferPage') { | ||
| 27 | - return true; | ||
| 28 | - } | ||
| 29 | return switch (pageIndex) { | 26 | return switch (pageIndex) { |
| 30 | 1 || 2 || 3 => hasSelection(pageIndex), | 27 | 1 || 2 || 3 => hasSelection(pageIndex), |
| 31 | _ => true, | 28 | _ => true, |
| @@ -34,15 +31,11 @@ class UserOnboardingController extends GetxController { | @@ -34,15 +31,11 @@ class UserOnboardingController extends GetxController { | ||
| 34 | 31 | ||
| 35 | @override | 32 | @override |
| 36 | void onInit() { | 33 | void onInit() { |
| 37 | - if (Get.arguments?['type'] == 'MembershipOfferPage') { | ||
| 38 | - totalPages = (Get.arguments?['needBindSuccessGuide'] == true ? 2 : 1); | ||
| 39 | - } else { | ||
| 40 | - final argument = Get.arguments?['resumeStage']; | ||
| 41 | - if (argument != null && argument is int) { | ||
| 42 | - currentPageIndex.value = argument.clamp(0, totalPages - 1); | ||
| 43 | - } | ||
| 44 | - totalPages = 9; | 34 | + final argument = Get.arguments?['resumeStage']; |
| 35 | + if (argument != null && argument is int) { | ||
| 36 | + currentPageIndex.value = argument.clamp(0, totalPages - 1); | ||
| 45 | } | 37 | } |
| 38 | + totalPages = 9; | ||
| 46 | super.onInit(); | 39 | super.onInit(); |
| 47 | } | 40 | } |
| 48 | 41 | ||
| @@ -139,15 +132,11 @@ class UserOnboardingController extends GetxController { | @@ -139,15 +132,11 @@ class UserOnboardingController extends GetxController { | ||
| 139 | Get.find<UserAccountStorage>().markOnboardingCompleted(userId); | 132 | Get.find<UserAccountStorage>().markOnboardingCompleted(userId); |
| 140 | } | 133 | } |
| 141 | 134 | ||
| 142 | - if (Get.arguments?['type'] == 'MembershipOfferPage') { | 135 | + final userStateService = Get.find<UserStateService>(); |
| 136 | + if (userStateService.isBound) { | ||
| 143 | Get.offAllNamed(AppRoutes.home); | 137 | Get.offAllNamed(AppRoutes.home); |
| 144 | } else { | 138 | } else { |
| 145 | - final userStateService = Get.find<UserStateService>(); | ||
| 146 | - if (userStateService.isBound) { | ||
| 147 | - Get.offAllNamed(AppRoutes.home); | ||
| 148 | - } else { | ||
| 149 | - Get.offAllNamed(AppRoutes.bindPartner); | ||
| 150 | - } | 139 | + Get.offAllNamed(AppRoutes.bindPartner); |
| 151 | } | 140 | } |
| 152 | } | 141 | } |
| 153 | 142 |
| @@ -16,13 +16,6 @@ List<Widget> buildUserOnboardingPages(BuildContext context, | @@ -16,13 +16,6 @@ List<Widget> buildUserOnboardingPages(BuildContext context, | ||
| 16 | {dynamic argument}) { | 16 | {dynamic argument}) { |
| 17 | final l10n = context.l10n; | 17 | final l10n = context.l10n; |
| 18 | 18 | ||
| 19 | - if (argument?['type'] == 'MembershipOfferPage') { | ||
| 20 | - return [ | ||
| 21 | - if (argument?['needBindSuccessGuide'] == true) _BindSuccessPage(), | ||
| 22 | - _MembershipOfferPage(), | ||
| 23 | - ]; | ||
| 24 | - } | ||
| 25 | - | ||
| 26 | return [ | 19 | return [ |
| 27 | _IntroPage(title: l10n.onboardingIntroTitle), | 20 | _IntroPage(title: l10n.onboardingIntroTitle), |
| 28 | _SelectionPage( | 21 | _SelectionPage( |
| @@ -619,122 +612,3 @@ class _NotificationPermissionPage extends StatelessWidget { | @@ -619,122 +612,3 @@ class _NotificationPermissionPage extends StatelessWidget { | ||
| 619 | } | 612 | } |
| 620 | } | 613 | } |
| 621 | 614 | ||
| 622 | -class _MembershipOfferPage extends StatelessWidget { | ||
| 623 | - const _MembershipOfferPage(); | ||
| 624 | - | ||
| 625 | - @override | ||
| 626 | - Widget build(BuildContext context) { | ||
| 627 | - final l10n = context.l10n; | ||
| 628 | - | ||
| 629 | - return OnboardingPageScrollBody( | ||
| 630 | - horizontalPadding: 0, | ||
| 631 | - child: Column( | ||
| 632 | - children: [ | ||
| 633 | - Padding( | ||
| 634 | - padding: const EdgeInsets.symmetric(horizontal: 16), | ||
| 635 | - child: Column( | ||
| 636 | - children: [ | ||
| 637 | - OnboardingTitleText(l10n.onboardingMemberTitle), | ||
| 638 | - const SizedBox(height: 12), | ||
| 639 | - OnboardingBodyText( | ||
| 640 | - l10n.onboardingMemberBody, | ||
| 641 | - fontSize: 14, | ||
| 642 | - ), | ||
| 643 | - ], | ||
| 644 | - ), | ||
| 645 | - ), | ||
| 646 | - const SizedBox(height: 12), | ||
| 647 | - const GiftIllustration(), | ||
| 648 | - const SizedBox(height: 4), | ||
| 649 | - Text( | ||
| 650 | - l10n.onboardingMemberOriginalPrice, | ||
| 651 | - textAlign: TextAlign.center, | ||
| 652 | - style: const TextStyle( | ||
| 653 | - color: Color(0xFFB0B0B6), | ||
| 654 | - fontSize: 16, | ||
| 655 | - decoration: TextDecoration.lineThrough, | ||
| 656 | - decorationColor: Color(0xFFB0B0B6), | ||
| 657 | - letterSpacing: 0, | ||
| 658 | - ), | ||
| 659 | - ), | ||
| 660 | - const SizedBox(height: 6), | ||
| 661 | - Text( | ||
| 662 | - l10n.onboardingMemberCurrentPrice, | ||
| 663 | - textAlign: TextAlign.center, | ||
| 664 | - style: TextStyle( | ||
| 665 | - color: context.colors.primary, | ||
| 666 | - fontSize: 28, | ||
| 667 | - fontWeight: FontWeight.w600, | ||
| 668 | - letterSpacing: 0, | ||
| 669 | - ), | ||
| 670 | - ), | ||
| 671 | - const SizedBox(height: 6), | ||
| 672 | - Text( | ||
| 673 | - l10n.onboardingMemberMonthlyPrice, | ||
| 674 | - textAlign: TextAlign.center, | ||
| 675 | - style: const TextStyle( | ||
| 676 | - color: Color(0xFFB0B0B6), | ||
| 677 | - fontSize: 12, | ||
| 678 | - letterSpacing: 0, | ||
| 679 | - ), | ||
| 680 | - ), | ||
| 681 | - const SizedBox(height: 70), | ||
| 682 | - Text( | ||
| 683 | - l10n.onboardingMemberAllOptions, | ||
| 684 | - textAlign: TextAlign.center, | ||
| 685 | - style: TextStyle( | ||
| 686 | - color: context.colors.textPrimary, | ||
| 687 | - fontSize: 12, | ||
| 688 | - decoration: TextDecoration.underline, | ||
| 689 | - decorationColor: context.colors.textPrimary, | ||
| 690 | - letterSpacing: 0, | ||
| 691 | - ), | ||
| 692 | - ), | ||
| 693 | - ], | ||
| 694 | - ), | ||
| 695 | - ); | ||
| 696 | - } | ||
| 697 | -} | ||
| 698 | - | ||
| 699 | -class _BindSuccessPage extends StatelessWidget { | ||
| 700 | - const _BindSuccessPage(); | ||
| 701 | - | ||
| 702 | - @override | ||
| 703 | - Widget build(BuildContext context) { | ||
| 704 | - final l10n = context.l10n; | ||
| 705 | - | ||
| 706 | - return OnboardingPageScrollBody( | ||
| 707 | - horizontalPadding: 0, | ||
| 708 | - topPadding: 0, | ||
| 709 | - child: Column( | ||
| 710 | - mainAxisAlignment: MainAxisAlignment.start, | ||
| 711 | - mainAxisSize: MainAxisSize.min, | ||
| 712 | - children: [ | ||
| 713 | - Container( | ||
| 714 | - height: 509, | ||
| 715 | - decoration: | ||
| 716 | - BoxDecoration(color: const Color(0xFFFF0000).withAlpha(120)), | ||
| 717 | - ), | ||
| 718 | - const SizedBox(height: 16), | ||
| 719 | - OnboardingTitleText( | ||
| 720 | - context.l10n.healthCompanionIsNowAvailable, | ||
| 721 | - maxWidth: 310, | ||
| 722 | - ), | ||
| 723 | - const SizedBox(height: 8), | ||
| 724 | - Padding( | ||
| 725 | - padding: const EdgeInsets.symmetric(horizontal: 16), | ||
| 726 | - child: Text( | ||
| 727 | - l10n.youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired, | ||
| 728 | - textAlign: TextAlign.center, | ||
| 729 | - style: TextStyle( | ||
| 730 | - color: Colors.black, | ||
| 731 | - fontSize: 12, | ||
| 732 | - fontWeight: FontWeight.w400, | ||
| 733 | - ), | ||
| 734 | - ), | ||
| 735 | - ) | ||
| 736 | - ], | ||
| 737 | - ), | ||
| 738 | - ); | ||
| 739 | - } | ||
| 740 | -} |
| @@ -33,6 +33,8 @@ import '../modules/feedback/submit_feedback/bindings/submit_feedback_binding.dar | @@ -33,6 +33,8 @@ import '../modules/feedback/submit_feedback/bindings/submit_feedback_binding.dar | ||
| 33 | import '../modules/feedback/submit_feedback/views/submit_feedback_view.dart'; | 33 | import '../modules/feedback/submit_feedback/views/submit_feedback_view.dart'; |
| 34 | import '../modules/user_onboarding/bindings/user_onboarding_binding.dart'; | 34 | import '../modules/user_onboarding/bindings/user_onboarding_binding.dart'; |
| 35 | import '../modules/user_onboarding/views/user_onboarding_view.dart'; | 35 | import '../modules/user_onboarding/views/user_onboarding_view.dart'; |
| 36 | +import '../modules/membership_offer/bindings/membership_offer_binding.dart'; | ||
| 37 | +import '../modules/membership_offer/views/membership_offer_view.dart'; | ||
| 36 | import '../modules/watch_theme/bindings/watch_theme_binding.dart'; | 38 | import '../modules/watch_theme/bindings/watch_theme_binding.dart'; |
| 37 | import '../modules/watch_theme/views/custom_watch_theme_preview_view.dart'; | 39 | import '../modules/watch_theme/views/custom_watch_theme_preview_view.dart'; |
| 38 | import '../modules/watch_theme/views/create_watch_theme_view.dart'; | 40 | import '../modules/watch_theme/views/create_watch_theme_view.dart'; |
| @@ -100,6 +102,11 @@ abstract final class AppPages { | @@ -100,6 +102,11 @@ abstract final class AppPages { | ||
| 100 | binding: UserOnboardingBinding(), | 102 | binding: UserOnboardingBinding(), |
| 101 | ), | 103 | ), |
| 102 | GetPage( | 104 | GetPage( |
| 105 | + name: Routes.MEMBERSHIP_OFFER, | ||
| 106 | + page: () => const MembershipOfferView(), | ||
| 107 | + binding: MembershipOfferBinding(), | ||
| 108 | + ), | ||
| 109 | + GetPage( | ||
| 103 | name: AppRoutes.bindPartner, | 110 | name: AppRoutes.bindPartner, |
| 104 | page: () => const BindPartnerView(), | 111 | page: () => const BindPartnerView(), |
| 105 | binding: BindPartnerBinding(), | 112 | binding: BindPartnerBinding(), |
| @@ -4,6 +4,7 @@ part of 'app_pages.dart'; | @@ -4,6 +4,7 @@ part of 'app_pages.dart'; | ||
| 4 | abstract class Routes { | 4 | abstract class Routes { |
| 5 | Routes._(); | 5 | Routes._(); |
| 6 | static const USER_ONBOARDING = _Paths.USER_ONBOARDING; | 6 | static const USER_ONBOARDING = _Paths.USER_ONBOARDING; |
| 7 | + static const MEMBERSHIP_OFFER = _Paths.MEMBERSHIP_OFFER; | ||
| 7 | static const LOGIN = _Paths.LOGIN; | 8 | static const LOGIN = _Paths.LOGIN; |
| 8 | static const ROUTE_LIST = _Paths.ROUTE_LIST; | 9 | static const ROUTE_LIST = _Paths.ROUTE_LIST; |
| 9 | static const PURCHASE = _Paths.PURCHASE; | 10 | static const PURCHASE = _Paths.PURCHASE; |
| @@ -26,6 +27,7 @@ abstract class Routes { | @@ -26,6 +27,7 @@ abstract class Routes { | ||
| 26 | abstract class _Paths { | 27 | abstract class _Paths { |
| 27 | _Paths._(); | 28 | _Paths._(); |
| 28 | static const USER_ONBOARDING = '/user-onboarding'; | 29 | static const USER_ONBOARDING = '/user-onboarding'; |
| 30 | + static const MEMBERSHIP_OFFER = '/membership-offer'; | ||
| 29 | static const LOGIN = '/login'; | 31 | static const LOGIN = '/login'; |
| 30 | static const ROUTE_LIST = '/route-list'; | 32 | static const ROUTE_LIST = '/route-list'; |
| 31 | static const PURCHASE = '/purchase'; | 33 | static const PURCHASE = '/purchase'; |
| @@ -62,7 +62,8 @@ import 'app_localizations_zh.dart'; | @@ -62,7 +62,8 @@ import 'app_localizations_zh.dart'; | ||
| 62 | /// be consistent with the languages listed in the AppLocalizations.supportedLocales | 62 | /// be consistent with the languages listed in the AppLocalizations.supportedLocales |
| 63 | /// property. | 63 | /// property. |
| 64 | abstract class AppLocalizations { | 64 | abstract class AppLocalizations { |
| 65 | - AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString()); | 65 | + AppLocalizations(String locale) |
| 66 | + : localeName = intl.Intl.canonicalizedLocale(locale.toString()); | ||
| 66 | 67 | ||
| 67 | final String localeName; | 68 | final String localeName; |
| 68 | 69 | ||
| @@ -70,7 +71,8 @@ abstract class AppLocalizations { | @@ -70,7 +71,8 @@ abstract class AppLocalizations { | ||
| 70 | return Localizations.of<AppLocalizations>(context, AppLocalizations); | 71 | return Localizations.of<AppLocalizations>(context, AppLocalizations); |
| 71 | } | 72 | } |
| 72 | 73 | ||
| 73 | - static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate(); | 74 | + static const LocalizationsDelegate<AppLocalizations> delegate = |
| 75 | + _AppLocalizationsDelegate(); | ||
| 74 | 76 | ||
| 75 | /// A list of this localizations delegate along with the default localizations | 77 | /// A list of this localizations delegate along with the default localizations |
| 76 | /// delegates. | 78 | /// delegates. |
| @@ -82,7 +84,8 @@ abstract class AppLocalizations { | @@ -82,7 +84,8 @@ abstract class AppLocalizations { | ||
| 82 | /// Additional delegates can be added by appending to this list in | 84 | /// Additional delegates can be added by appending to this list in |
| 83 | /// MaterialApp. This list does not have to be used at all if a custom list | 85 | /// MaterialApp. This list does not have to be used at all if a custom list |
| 84 | /// of delegates is preferred or required. | 86 | /// of delegates is preferred or required. |
| 85 | - static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[ | 87 | + static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = |
| 88 | + <LocalizationsDelegate<dynamic>>[ | ||
| 86 | delegate, | 89 | delegate, |
| 87 | GlobalMaterialLocalizations.delegate, | 90 | GlobalMaterialLocalizations.delegate, |
| 88 | GlobalCupertinoLocalizations.delegate, | 91 | GlobalCupertinoLocalizations.delegate, |
| @@ -525,7 +528,8 @@ abstract class AppLocalizations { | @@ -525,7 +528,8 @@ abstract class AppLocalizations { | ||
| 525 | /// | 528 | /// |
| 526 | /// In zh, this message translates to: | 529 | /// In zh, this message translates to: |
| 527 | /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'** | 530 | /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'** |
| 528 | - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired; | 531 | + String |
| 532 | + get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired; | ||
| 529 | 533 | ||
| 530 | /// No description provided for @bindPartnerTitle. | 534 | /// No description provided for @bindPartnerTitle. |
| 531 | /// | 535 | /// |
| @@ -3078,7 +3082,8 @@ abstract class AppLocalizations { | @@ -3078,7 +3082,8 @@ abstract class AppLocalizations { | ||
| 3078 | String get appReviewIllustrationPlaceholder; | 3082 | String get appReviewIllustrationPlaceholder; |
| 3079 | } | 3083 | } |
| 3080 | 3084 | ||
| 3081 | -class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> { | 3085 | +class _AppLocalizationsDelegate |
| 3086 | + extends LocalizationsDelegate<AppLocalizations> { | ||
| 3082 | const _AppLocalizationsDelegate(); | 3087 | const _AppLocalizationsDelegate(); |
| 3083 | 3088 | ||
| 3084 | @override | 3089 | @override |
| @@ -3087,25 +3092,25 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> | @@ -3087,25 +3092,25 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> | ||
| 3087 | } | 3092 | } |
| 3088 | 3093 | ||
| 3089 | @override | 3094 | @override |
| 3090 | - bool isSupported(Locale locale) => <String>['en', 'zh'].contains(locale.languageCode); | 3095 | + bool isSupported(Locale locale) => |
| 3096 | + <String>['en', 'zh'].contains(locale.languageCode); | ||
| 3091 | 3097 | ||
| 3092 | @override | 3098 | @override |
| 3093 | bool shouldReload(_AppLocalizationsDelegate old) => false; | 3099 | bool shouldReload(_AppLocalizationsDelegate old) => false; |
| 3094 | } | 3100 | } |
| 3095 | 3101 | ||
| 3096 | AppLocalizations lookupAppLocalizations(Locale locale) { | 3102 | AppLocalizations lookupAppLocalizations(Locale locale) { |
| 3097 | - | ||
| 3098 | - | ||
| 3099 | // Lookup logic when only language code is specified. | 3103 | // Lookup logic when only language code is specified. |
| 3100 | switch (locale.languageCode) { | 3104 | switch (locale.languageCode) { |
| 3101 | - case 'en': return AppLocalizationsEn(); | ||
| 3102 | - case 'zh': return AppLocalizationsZh(); | 3105 | + case 'en': |
| 3106 | + return AppLocalizationsEn(); | ||
| 3107 | + case 'zh': | ||
| 3108 | + return AppLocalizationsZh(); | ||
| 3103 | } | 3109 | } |
| 3104 | 3110 | ||
| 3105 | throw FlutterError( | 3111 | throw FlutterError( |
| 3106 | - 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' | ||
| 3107 | - 'an issue with the localizations generation tool. Please file an issue ' | ||
| 3108 | - 'on GitHub with a reproducible sample app and the gen-l10n configuration ' | ||
| 3109 | - 'that was used.' | ||
| 3110 | - ); | 3112 | + 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' |
| 3113 | + 'an issue with the localizations generation tool. Please file an issue ' | ||
| 3114 | + 'on GitHub with a reproducible sample app and the gen-l10n configuration ' | ||
| 3115 | + 'that was used.'); | ||
| 3111 | } | 3116 | } |
| 1 | +// ignore: unused_import | ||
| 2 | +import 'package:intl/intl.dart' as intl; | ||
| 1 | import 'app_localizations.dart'; | 3 | import 'app_localizations.dart'; |
| 2 | 4 | ||
| 3 | // ignore_for_file: type=lint | 5 | // ignore_for_file: type=lint |
| @@ -67,10 +69,12 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -67,10 +69,12 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 67 | String get settings => 'Settings'; | 69 | String get settings => 'Settings'; |
| 68 | 70 | ||
| 69 | @override | 71 | @override |
| 70 | - String get onboardingIntroTitle => 'DoubleFeel is a health companion app built for Apple Watch'; | 72 | + String get onboardingIntroTitle => |
| 73 | + 'DoubleFeel is a health companion app built for Apple Watch'; | ||
| 71 | 74 | ||
| 72 | @override | 75 | @override |
| 73 | - String get onboardingIntroBody => 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>'; | 76 | + String get onboardingIntroBody => |
| 77 | + 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>'; | ||
| 74 | 78 | ||
| 75 | @override | 79 | @override |
| 76 | String get onboardingStateQuestion => 'Which of these often happens to you?'; | 80 | String get onboardingStateQuestion => 'Which of these often happens to you?'; |
| @@ -82,16 +86,19 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -82,16 +86,19 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 82 | String get onboardingStateTired => 'I get tired easily'; | 86 | String get onboardingStateTired => 'I get tired easily'; |
| 83 | 87 | ||
| 84 | @override | 88 | @override |
| 85 | - String get onboardingStatePoorRest => 'I wake up but still do not feel rested'; | 89 | + String get onboardingStatePoorRest => |
| 90 | + 'I wake up but still do not feel rested'; | ||
| 86 | 91 | ||
| 87 | @override | 92 | @override |
| 88 | - String get onboardingStateNeedStimulants => 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert'; | 93 | + String get onboardingStateNeedStimulants => |
| 94 | + 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert'; | ||
| 89 | 95 | ||
| 90 | @override | 96 | @override |
| 91 | String get onboardingStateNone => 'None of the above'; | 97 | String get onboardingStateNone => 'None of the above'; |
| 92 | 98 | ||
| 93 | @override | 99 | @override |
| 94 | - String get onboardingStressGoalQuestion => 'What do you want to learn by understanding stress?'; | 100 | + String get onboardingStressGoalQuestion => |
| 101 | + 'What do you want to learn by understanding stress?'; | ||
| 95 | 102 | ||
| 96 | @override | 103 | @override |
| 97 | String get onboardingStressGoalSource => 'Understand where stress comes from'; | 104 | String get onboardingStressGoalSource => 'Understand where stress comes from'; |
| @@ -100,7 +107,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -100,7 +107,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 100 | String get onboardingStressGoalReminder => 'Get reminded when stress appears'; | 107 | String get onboardingStressGoalReminder => 'Get reminded when stress appears'; |
| 101 | 108 | ||
| 102 | @override | 109 | @override |
| 103 | - String get onboardingStressGoalLovedOnes => 'Let people who care about me know my stress state'; | 110 | + String get onboardingStressGoalLovedOnes => |
| 111 | + 'Let people who care about me know my stress state'; | ||
| 104 | 112 | ||
| 105 | @override | 113 | @override |
| 106 | String get onboardingStressGoalRelax => 'Understand stress and feel lighter'; | 114 | String get onboardingStressGoalRelax => 'Understand stress and feel lighter'; |
| @@ -109,7 +117,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -109,7 +117,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 109 | String get onboardingStressGoalBodyTalk => 'Communicate better with my body'; | 117 | String get onboardingStressGoalBodyTalk => 'Communicate better with my body'; |
| 110 | 118 | ||
| 111 | @override | 119 | @override |
| 112 | - String get onboardingReliefQuestion => 'Which methods do you think can ease stress?'; | 120 | + String get onboardingReliefQuestion => |
| 121 | + 'Which methods do you think can ease stress?'; | ||
| 113 | 122 | ||
| 114 | @override | 123 | @override |
| 115 | String get onboardingReliefSleep => 'Regular sleep'; | 124 | String get onboardingReliefSleep => 'Regular sleep'; |
| @@ -133,7 +142,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -133,7 +142,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 133 | String get onboardingKeyDataTitle => 'Did you know?'; | 142 | String get onboardingKeyDataTitle => 'Did you know?'; |
| 134 | 143 | ||
| 135 | @override | 144 | @override |
| 136 | - String get onboardingKeyDataSubtitle => 'Everyone has a magical and important body metric that can help us:'; | 145 | + String get onboardingKeyDataSubtitle => |
| 146 | + 'Everyone has a magical and important body metric that can help us:'; | ||
| 137 | 147 | ||
| 138 | @override | 148 | @override |
| 139 | String get onboardingKeyDataStress => 'Monitor stress'; | 149 | String get onboardingKeyDataStress => 'Monitor stress'; |
| @@ -148,7 +158,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -148,7 +158,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 148 | String get onboardingKeyDataHabits => 'Build healthy habits'; | 158 | String get onboardingKeyDataHabits => 'Build healthy habits'; |
| 149 | 159 | ||
| 150 | @override | 160 | @override |
| 151 | - String get onboardingKeyDataLovedOnes => 'Help important people care about your state in time'; | 161 | + String get onboardingKeyDataLovedOnes => |
| 162 | + 'Help important people care about your state in time'; | ||
| 152 | 163 | ||
| 153 | @override | 164 | @override |
| 154 | String get onboardingTellMeWhatItIs => 'Tell me what it is!'; | 165 | String get onboardingTellMeWhatItIs => 'Tell me what it is!'; |
| @@ -157,16 +168,19 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -157,16 +168,19 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 157 | String get onboardingHrvTitle => 'It is HRV, heart rate variability'; | 168 | String get onboardingHrvTitle => 'It is HRV, heart rate variability'; |
| 158 | 169 | ||
| 159 | @override | 170 | @override |
| 160 | - String get onboardingHrvSubtitle => 'It helps us measure overall stress and health'; | 171 | + String get onboardingHrvSubtitle => |
| 172 | + 'It helps us measure overall stress and health'; | ||
| 161 | 173 | ||
| 162 | @override | 174 | @override |
| 163 | - String get onboardingHrvDescription => 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.'; | 175 | + String get onboardingHrvDescription => |
| 176 | + 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.'; | ||
| 164 | 177 | ||
| 165 | @override | 178 | @override |
| 166 | String get onboardingTellMeMore => 'Tell me more'; | 179 | String get onboardingTellMeMore => 'Tell me more'; |
| 167 | 180 | ||
| 168 | @override | 181 | @override |
| 169 | - String get onboardingResearchTitle => 'Many studies show that HRV changes are closely related to how our body and mind feel'; | 182 | + String get onboardingResearchTitle => |
| 183 | + 'Many studies show that HRV changes are closely related to how our body and mind feel'; | ||
| 170 | 184 | ||
| 171 | @override | 185 | @override |
| 172 | String get onboardingResearchFatigue => 'Physical fatigue'; | 186 | String get onboardingResearchFatigue => 'Physical fatigue'; |
| @@ -184,25 +198,30 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -184,25 +198,30 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 184 | String get onboardingHealthPermissionTitle => 'Allow health data access'; | 198 | String get onboardingHealthPermissionTitle => 'Allow health data access'; |
| 185 | 199 | ||
| 186 | @override | 200 | @override |
| 187 | - String get onboardingHealthPermissionBody => 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.'; | 201 | + String get onboardingHealthPermissionBody => |
| 202 | + 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.'; | ||
| 188 | 203 | ||
| 189 | @override | 204 | @override |
| 190 | - String get onboardingHealthPermissionPrivacy => 'Your health data is stored locally. We do not upload any related data.'; | 205 | + String get onboardingHealthPermissionPrivacy => |
| 206 | + 'Your health data is stored locally. We do not upload any related data.'; | ||
| 191 | 207 | ||
| 192 | @override | 208 | @override |
| 193 | String get onboardingNotificationTitle => 'Turn on notifications'; | 209 | String get onboardingNotificationTitle => 'Turn on notifications'; |
| 194 | 210 | ||
| 195 | @override | 211 | @override |
| 196 | - String get onboardingNotificationSubtitle => 'Learn about every body change in time'; | 212 | + String get onboardingNotificationSubtitle => |
| 213 | + 'Learn about every body change in time'; | ||
| 197 | 214 | ||
| 198 | @override | 215 | @override |
| 199 | - String get onboardingNotificationBody => 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.'; | 216 | + String get onboardingNotificationBody => |
| 217 | + 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.'; | ||
| 200 | 218 | ||
| 201 | @override | 219 | @override |
| 202 | String get onboardingMemberTitle => 'Get an annual membership offer'; | 220 | String get onboardingMemberTitle => 'Get an annual membership offer'; |
| 203 | 221 | ||
| 204 | @override | 222 | @override |
| 205 | - String get onboardingMemberBody => 'Start your pressure alert and health companion journey, so love and care are always present.'; | 223 | + String get onboardingMemberBody => |
| 224 | + 'Start your pressure alert and health companion journey, so love and care are always present.'; | ||
| 206 | 225 | ||
| 207 | @override | 226 | @override |
| 208 | String get onboardingMemberOriginalPrice => 'Original ¥72.00/year'; | 227 | String get onboardingMemberOriginalPrice => 'Original ¥72.00/year'; |
| @@ -217,13 +236,16 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -217,13 +236,16 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 217 | String get onboardingMemberAllOptions => 'View all purchase options'; | 236 | String get onboardingMemberAllOptions => 'View all purchase options'; |
| 218 | 237 | ||
| 219 | @override | 238 | @override |
| 220 | - String get healthCompanionIsNowAvailable => 'Health Companion is now available'; | 239 | + String get healthCompanionIsNowAvailable => |
| 240 | + 'Health Companion is now available'; | ||
| 221 | 241 | ||
| 222 | @override | 242 | @override |
| 223 | - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.'; | 243 | + String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => |
| 244 | + 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.'; | ||
| 224 | 245 | ||
| 225 | @override | 246 | @override |
| 226 | - String get bindPartnerTitle => 'Add a Close Contact\nOne more person to care about your health'; | 247 | + String get bindPartnerTitle => |
| 248 | + 'Add a Close Contact\nOne more person to care about your health'; | ||
| 227 | 249 | ||
| 228 | @override | 250 | @override |
| 229 | String get bindPartnerMyId => 'My ID'; | 251 | String get bindPartnerMyId => 'My ID'; |
| @@ -262,7 +284,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -262,7 +284,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 262 | String get onboardingResearchGoodSleep => 'Good Sleep'; | 284 | String get onboardingResearchGoodSleep => 'Good Sleep'; |
| 263 | 285 | ||
| 264 | @override | 286 | @override |
| 265 | - String get loginSlogan => 'Start your pressure alert and health companion journey\nso love and care are always present'; | 287 | + String get loginSlogan => |
| 288 | + 'Start your pressure alert and health companion journey\nso love and care are always present'; | ||
| 266 | 289 | ||
| 267 | @override | 290 | @override |
| 268 | String get loginWithPhone => 'Sign in with Phone'; | 291 | String get loginWithPhone => 'Sign in with Phone'; |
| @@ -312,13 +335,15 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -312,13 +335,15 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 312 | String get phoneLoginCodeHint => 'Enter verification code'; | 335 | String get phoneLoginCodeHint => 'Enter verification code'; |
| 313 | 336 | ||
| 314 | @override | 337 | @override |
| 315 | - String get phoneLoginAutoRegisterHint => 'Unregistered numbers will be registered automatically'; | 338 | + String get phoneLoginAutoRegisterHint => |
| 339 | + 'Unregistered numbers will be registered automatically'; | ||
| 316 | 340 | ||
| 317 | @override | 341 | @override |
| 318 | String get phoneLoginLoggingIn => 'Signing in...'; | 342 | String get phoneLoginLoggingIn => 'Signing in...'; |
| 319 | 343 | ||
| 320 | @override | 344 | @override |
| 321 | - String get loginAgreeToTermsToast => 'Please read and agree to the Terms of Service and Privacy Policy first'; | 345 | + String get loginAgreeToTermsToast => |
| 346 | + 'Please read and agree to the Terms of Service and Privacy Policy first'; | ||
| 322 | 347 | ||
| 323 | @override | 348 | @override |
| 324 | String get phoneLoginInvalidPhone => 'Invalid phone number'; | 349 | String get phoneLoginInvalidPhone => 'Invalid phone number'; |
| @@ -330,10 +355,12 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -330,10 +355,12 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 330 | String get phoneLoginInvalidCode => 'Invalid verification code'; | 355 | String get phoneLoginInvalidCode => 'Invalid verification code'; |
| 331 | 356 | ||
| 332 | @override | 357 | @override |
| 333 | - String get todayHealthDataAuthTitle => 'Unable to access heart rate health data'; | 358 | + String get todayHealthDataAuthTitle => |
| 359 | + 'Unable to access heart rate health data'; | ||
| 334 | 360 | ||
| 335 | @override | 361 | @override |
| 336 | - String get todayHealthDataAuthDescription => 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.'; | 362 | + String get todayHealthDataAuthDescription => |
| 363 | + 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.'; | ||
| 337 | 364 | ||
| 338 | @override | 365 | @override |
| 339 | String get todayHealthDataAuthAction => 'Authorize health data access'; | 366 | String get todayHealthDataAuthAction => 'Authorize health data access'; |
| @@ -354,19 +381,24 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -354,19 +381,24 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 354 | String get todayFaqLinkNoData => 'What if the app or watch face has no data?'; | 381 | String get todayFaqLinkNoData => 'What if the app or watch face has no data?'; |
| 355 | 382 | ||
| 356 | @override | 383 | @override |
| 357 | - String get todayFaqLinkHrvRealtimeUpdate => 'How can HRV data update in real time?'; | 384 | + String get todayFaqLinkHrvRealtimeUpdate => |
| 385 | + 'How can HRV data update in real time?'; | ||
| 358 | 386 | ||
| 359 | @override | 387 | @override |
| 360 | - String get todayFaqLinkWatchNoStatusNotification => 'Why can\'t my watch receive status notifications?'; | 388 | + String get todayFaqLinkWatchNoStatusNotification => |
| 389 | + 'Why can\'t my watch receive status notifications?'; | ||
| 361 | 390 | ||
| 362 | @override | 391 | @override |
| 363 | - String get todayFaqLinkWatchNoStatusAndInteractionNotification => 'Why can\'t my watch receive status and interaction notifications?'; | 392 | + String get todayFaqLinkWatchNoStatusAndInteractionNotification => |
| 393 | + 'Why can\'t my watch receive status and interaction notifications?'; | ||
| 364 | 394 | ||
| 365 | @override | 395 | @override |
| 366 | - String get todayFaqLinkWatchFaceDataDelay => 'Why is watch face data delayed or not updating?'; | 396 | + String get todayFaqLinkWatchFaceDataDelay => |
| 397 | + 'Why is watch face data delayed or not updating?'; | ||
| 367 | 398 | ||
| 368 | @override | 399 | @override |
| 369 | - String get todayFaqLinkWatchFaceBlackScreen => 'Why does the watch face turn black?'; | 400 | + String get todayFaqLinkWatchFaceBlackScreen => |
| 401 | + 'Why does the watch face turn black?'; | ||
| 370 | 402 | ||
| 371 | @override | 403 | @override |
| 372 | String get todayStressStatusTitle => 'Overall stress status'; | 404 | String get todayStressStatusTitle => 'Overall stress status'; |
| @@ -393,136 +425,176 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -393,136 +425,176 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 393 | String get todayStressStatusInsufficientData => 'Insufficient data'; | 425 | String get todayStressStatusInsufficientData => 'Insufficient data'; |
| 394 | 426 | ||
| 395 | @override | 427 | @override |
| 396 | - String get todayStressStatusOverloadDescription => 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.'; | 428 | + String get todayStressStatusOverloadDescription => |
| 429 | + 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.'; | ||
| 397 | 430 | ||
| 398 | @override | 431 | @override |
| 399 | - String get todayStressStatusCautionDescription => 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.'; | 432 | + String get todayStressStatusCautionDescription => |
| 433 | + 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.'; | ||
| 400 | 434 | ||
| 401 | @override | 435 | @override |
| 402 | - String get todayStressStatusNormalDescription => 'Your current body state is within your normal fluctuation range.'; | 436 | + String get todayStressStatusNormalDescription => |
| 437 | + 'Your current body state is within your normal fluctuation range.'; | ||
| 403 | 438 | ||
| 404 | @override | 439 | @override |
| 405 | - String get todayStressStatusExcellentDescription => 'Your current HRV is higher than your recent average, indicating better recovery and overall state.'; | 440 | + String get todayStressStatusExcellentDescription => |
| 441 | + 'Your current HRV is higher than your recent average, indicating better recovery and overall state.'; | ||
| 406 | 442 | ||
| 407 | @override | 443 | @override |
| 408 | - String get todayStressStatusInsufficientDataDescription => 'There is not enough available data to accurately assess your stress state yet.'; | 444 | + String get todayStressStatusInsufficientDataDescription => |
| 445 | + 'There is not enough available data to accurately assess your stress state yet.'; | ||
| 409 | 446 | ||
| 410 | @override | 447 | @override |
| 411 | - String get todayHrvMeasurementIntro => 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:'; | 448 | + String get todayHrvMeasurementIntro => |
| 449 | + 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:'; | ||
| 412 | 450 | ||
| 413 | @override | 451 | @override |
| 414 | - String get todayHrvMeasurementStep1 => '1. Wear your Apple Watch snugly, sit down, and stay calm'; | 452 | + String get todayHrvMeasurementStep1 => |
| 453 | + '1. Wear your Apple Watch snugly, sit down, and stay calm'; | ||
| 415 | 454 | ||
| 416 | @override | 455 | @override |
| 417 | - String get todayHrvMeasurementStep2 => '2. Open Mindfulness on Apple Watch and start Breathe'; | 456 | + String get todayHrvMeasurementStep2 => |
| 457 | + '2. Open Mindfulness on Apple Watch and start Breathe'; | ||
| 418 | 458 | ||
| 419 | @override | 459 | @override |
| 420 | - String get todayHrvMeasurementStep3 => '3. Keep breathing steadily and wait 1-3 minutes'; | 460 | + String get todayHrvMeasurementStep3 => |
| 461 | + '3. Keep breathing steadily and wait 1-3 minutes'; | ||
| 421 | 462 | ||
| 422 | @override | 463 | @override |
| 423 | - String get todayHrvMeasurementStep4 => '4. After breathing is complete, lock and unlock your iPhone once'; | 464 | + String get todayHrvMeasurementStep4 => |
| 465 | + '4. After breathing is complete, lock and unlock your iPhone once'; | ||
| 424 | 466 | ||
| 425 | @override | 467 | @override |
| 426 | - String get todayHrvMeasurementStep5 => '5. Wait about one minute. StressWatch will receive and display your data'; | 468 | + String get todayHrvMeasurementStep5 => |
| 469 | + '5. Wait about one minute. StressWatch will receive and display your data'; | ||
| 427 | 470 | ||
| 428 | @override | 471 | @override |
| 429 | - String get todayHrvMeasurementHint => 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.'; | 472 | + String get todayHrvMeasurementHint => |
| 473 | + 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.'; | ||
| 430 | 474 | ||
| 431 | @override | 475 | @override |
| 432 | - String get todayHrvMeasurementWarning => 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.'; | 476 | + String get todayHrvMeasurementWarning => |
| 477 | + 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.'; | ||
| 433 | 478 | ||
| 434 | @override | 479 | @override |
| 435 | String get todayStressStatusWhatTitle => 'What is overall stress status?'; | 480 | String get todayStressStatusWhatTitle => 'What is overall stress status?'; |
| 436 | 481 | ||
| 437 | @override | 482 | @override |
| 438 | - String get todayStressStatusWhatDescription1 => 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.'; | 483 | + String get todayStressStatusWhatDescription1 => |
| 484 | + 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.'; | ||
| 439 | 485 | ||
| 440 | @override | 486 | @override |
| 441 | - String get todayStressStatusWhatDescription2 => 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.'; | 487 | + String get todayStressStatusWhatDescription2 => |
| 488 | + 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.'; | ||
| 442 | 489 | ||
| 443 | @override | 490 | @override |
| 444 | - String get todayStressStatusWhyHrvTitle => 'Why use HRV (heart rate variability)?'; | 491 | + String get todayStressStatusWhyHrvTitle => |
| 492 | + 'Why use HRV (heart rate variability)?'; | ||
| 445 | 493 | ||
| 446 | @override | 494 | @override |
| 447 | - String get todayStressStatusWhyHrvDescription => 'HRV is an important metric for measuring body stress and recovery capacity.'; | 495 | + String get todayStressStatusWhyHrvDescription => |
| 496 | + 'HRV is an important metric for measuring body stress and recovery capacity.'; | ||
| 448 | 497 | ||
| 449 | @override | 498 | @override |
| 450 | String get todayStressStatusUsually => 'In general:'; | 499 | String get todayStressStatusUsually => 'In general:'; |
| 451 | 500 | ||
| 452 | @override | 501 | @override |
| 453 | - String get todayStressStatusHrvHigher => '· Higher HRV usually means better recovery'; | 502 | + String get todayStressStatusHrvHigher => |
| 503 | + '· Higher HRV usually means better recovery'; | ||
| 454 | 504 | ||
| 455 | @override | 505 | @override |
| 456 | - String get todayStressStatusHrvLower => '· Lower HRV may indicate fatigue, stress, or insufficient sleep'; | 506 | + String get todayStressStatusHrvLower => |
| 507 | + '· Lower HRV may indicate fatigue, stress, or insufficient sleep'; | ||
| 457 | 508 | ||
| 458 | @override | 509 | @override |
| 459 | - String get todayStressStatusHrvChangesFast => '· HRV changes quickly, making it useful for short-term body-state changes.'; | 510 | + String get todayStressStatusHrvChangesFast => |
| 511 | + '· HRV changes quickly, making it useful for short-term body-state changes.'; | ||
| 460 | 512 | ||
| 461 | @override | 513 | @override |
| 462 | - String get todayStressStatusAppWatchDifferenceTitle => 'How are stress statuses on the phone app and Apple Watch different?'; | 514 | + String get todayStressStatusAppWatchDifferenceTitle => |
| 515 | + 'How are stress statuses on the phone app and Apple Watch different?'; | ||
| 463 | 516 | ||
| 464 | @override | 517 | @override |
| 465 | - String get todayStressStatusAppWatchDifferenceApp => 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.'; | 518 | + String get todayStressStatusAppWatchDifferenceApp => |
| 519 | + 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.'; | ||
| 466 | 520 | ||
| 467 | @override | 521 | @override |
| 468 | - String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.'; | 522 | + String get todayStressStatusAppWatchDifferenceWatch => |
| 523 | + 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.'; | ||
| 469 | 524 | ||
| 470 | @override | 525 | @override |
| 471 | - String get todayStressStatusWaitingDataTitle => 'Why does Waiting for data appear?'; | 526 | + String get todayStressStatusWaitingDataTitle => |
| 527 | + 'Why does Waiting for data appear?'; | ||
| 472 | 528 | ||
| 473 | @override | 529 | @override |
| 474 | - String get todayStressStatusWaitingDataDescription1 => 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.'; | 530 | + String get todayStressStatusWaitingDataDescription1 => |
| 531 | + 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.'; | ||
| 475 | 532 | ||
| 476 | @override | 533 | @override |
| 477 | - String get todayStressStatusWaitingDataDescription2 => 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.'; | 534 | + String get todayStressStatusWaitingDataDescription2 => |
| 535 | + 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.'; | ||
| 478 | 536 | ||
| 479 | @override | 537 | @override |
| 480 | - String get todayStressStatusWaitingDataReasonsIntro => 'Possible reasons include:'; | 538 | + String get todayStressStatusWaitingDataReasonsIntro => |
| 539 | + 'Possible reasons include:'; | ||
| 481 | 540 | ||
| 482 | @override | 541 | @override |
| 483 | String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples'; | 542 | String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples'; |
| 484 | 543 | ||
| 485 | @override | 544 | @override |
| 486 | - String get todayStressStatusWaitingDataReason2 => '2. Missing resting heart rate data'; | 545 | + String get todayStressStatusWaitingDataReason2 => |
| 546 | + '2. Missing resting heart rate data'; | ||
| 487 | 547 | ||
| 488 | @override | 548 | @override |
| 489 | - String get todayStressStatusWaitingDataReason3 => '3. Apple Watch has not been worn long enough'; | 549 | + String get todayStressStatusWaitingDataReason3 => |
| 550 | + '3. Apple Watch has not been worn long enough'; | ||
| 490 | 551 | ||
| 491 | @override | 552 | @override |
| 492 | - String get todayStressStatusWaitingDataReason4 => '4. Apple Health permissions are not enabled'; | 553 | + String get todayStressStatusWaitingDataReason4 => |
| 554 | + '4. Apple Health permissions are not enabled'; | ||
| 493 | 555 | ||
| 494 | @override | 556 | @override |
| 495 | - String get todayHrvPrincipleHowMeasureTitle => 'How does DoubleFeel measure stress status?'; | 557 | + String get todayHrvPrincipleHowMeasureTitle => |
| 558 | + 'How does DoubleFeel measure stress status?'; | ||
| 496 | 559 | ||
| 497 | @override | 560 | @override |
| 498 | - String get todayHrvPrincipleHowMeasureDescription1 => 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.'; | 561 | + String get todayHrvPrincipleHowMeasureDescription1 => |
| 562 | + 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.'; | ||
| 499 | 563 | ||
| 500 | @override | 564 | @override |
| 501 | - String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.'; | 565 | + String get todayHrvPrincipleHowMeasureDescription2 => |
| 566 | + 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.'; | ||
| 502 | 567 | ||
| 503 | @override | 568 | @override |
| 504 | - String get todayHrvPrincipleHowMeasureDescription3 => 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.'; | 569 | + String get todayHrvPrincipleHowMeasureDescription3 => |
| 570 | + 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.'; | ||
| 505 | 571 | ||
| 506 | @override | 572 | @override |
| 507 | - String get todayHrvPrincipleHowMeasureDescription4 => 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.'; | 573 | + String get todayHrvPrincipleHowMeasureDescription4 => |
| 574 | + 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.'; | ||
| 508 | 575 | ||
| 509 | @override | 576 | @override |
| 510 | String get todayRealtimeStressWhatTitle => 'What is real-time stress?'; | 577 | String get todayRealtimeStressWhatTitle => 'What is real-time stress?'; |
| 511 | 578 | ||
| 512 | @override | 579 | @override |
| 513 | - String get todayRealtimeStressWhatDescription1 => 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.'; | 580 | + String get todayRealtimeStressWhatDescription1 => |
| 581 | + 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.'; | ||
| 514 | 582 | ||
| 515 | @override | 583 | @override |
| 516 | - String get todayRealtimeStressWhatDescription2 => 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.'; | 584 | + String get todayRealtimeStressWhatDescription2 => |
| 585 | + 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.'; | ||
| 517 | 586 | ||
| 518 | @override | 587 | @override |
| 519 | - String get todayRealtimeStressWhatDescription3 => 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.'; | 588 | + String get todayRealtimeStressWhatDescription3 => |
| 589 | + 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.'; | ||
| 520 | 590 | ||
| 521 | @override | 591 | @override |
| 522 | - String get todayRealtimeStressDivisionTitle => 'How is real-time stress divided?'; | 592 | + String get todayRealtimeStressDivisionTitle => |
| 593 | + 'How is real-time stress divided?'; | ||
| 523 | 594 | ||
| 524 | @override | 595 | @override |
| 525 | - String get todayRealtimeStressDivisionIntro => 'Real-time stress is shown as a percentage:'; | 596 | + String get todayRealtimeStressDivisionIntro => |
| 597 | + 'Real-time stress is shown as a percentage:'; | ||
| 526 | 598 | ||
| 527 | @override | 599 | @override |
| 528 | String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%'; | 600 | String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%'; |
| @@ -537,79 +609,103 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -537,79 +609,103 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 537 | String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%'; | 609 | String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%'; |
| 538 | 610 | ||
| 539 | @override | 611 | @override |
| 540 | - String get todayRealtimeStressExcellentDescription => 'Your recovery state is good and you are generally relaxed.'; | 612 | + String get todayRealtimeStressExcellentDescription => |
| 613 | + 'Your recovery state is good and you are generally relaxed.'; | ||
| 541 | 614 | ||
| 542 | @override | 615 | @override |
| 543 | - String get todayRealtimeStressNormalDescription => 'Your body is within the normal fluctuation range.'; | 616 | + String get todayRealtimeStressNormalDescription => |
| 617 | + 'Your body is within the normal fluctuation range.'; | ||
| 544 | 618 | ||
| 545 | @override | 619 | @override |
| 546 | - String get todayRealtimeStressCautionDescription => 'Your body may be accumulating stress and needs proper rest and recovery.'; | 620 | + String get todayRealtimeStressCautionDescription => |
| 621 | + 'Your body may be accumulating stress and needs proper rest and recovery.'; | ||
| 547 | 622 | ||
| 548 | @override | 623 | @override |
| 549 | - String get todayRealtimeStressOverloadDescription => 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.'; | 624 | + String get todayRealtimeStressOverloadDescription => |
| 625 | + 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.'; | ||
| 550 | 626 | ||
| 551 | @override | 627 | @override |
| 552 | - String get todayRealtimeStressDivisionBaseline => 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.'; | 628 | + String get todayRealtimeStressDivisionBaseline => |
| 629 | + 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.'; | ||
| 553 | 630 | ||
| 554 | @override | 631 | @override |
| 555 | - String get todayRealtimeStressDivisionAwake => 'Real-time stress mainly reflects body stress changes while awake.'; | 632 | + String get todayRealtimeStressDivisionAwake => |
| 633 | + 'Real-time stress mainly reflects body stress changes while awake.'; | ||
| 556 | 634 | ||
| 557 | @override | 635 | @override |
| 558 | - String get todayRealtimeStressLowBetterTitle => 'Is lower real-time stress always better?'; | 636 | + String get todayRealtimeStressLowBetterTitle => |
| 637 | + 'Is lower real-time stress always better?'; | ||
| 559 | 638 | ||
| 560 | @override | 639 | @override |
| 561 | String get todayRealtimeStressLowBetterNo => 'Not necessarily.'; | 640 | String get todayRealtimeStressLowBetterNo => 'Not necessarily.'; |
| 562 | 641 | ||
| 563 | @override | 642 | @override |
| 564 | - String get todayRealtimeStressLowBetterType => 'Body stress can be normal or abnormal.'; | 643 | + String get todayRealtimeStressLowBetterType => |
| 644 | + 'Body stress can be normal or abnormal.'; | ||
| 565 | 645 | ||
| 566 | @override | 646 | @override |
| 567 | - String get todayRealtimeStressLowBetterExample => 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.'; | 647 | + String get todayRealtimeStressLowBetterExample => |
| 648 | + 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.'; | ||
| 568 | 649 | ||
| 569 | @override | 650 | @override |
| 570 | - String get todayRealtimeStressLowBetterHighStress => 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.'; | 651 | + String get todayRealtimeStressLowBetterHighStress => |
| 652 | + 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.'; | ||
| 571 | 653 | ||
| 572 | @override | 654 | @override |
| 573 | - String get todayRealtimeStressLowBetterTrend => 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.'; | 655 | + String get todayRealtimeStressLowBetterTrend => |
| 656 | + 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.'; | ||
| 574 | 657 | ||
| 575 | @override | 658 | @override |
| 576 | - String get todayRealtimeStressScenarioTitle => 'When should HRV and real-time stress be used?'; | 659 | + String get todayRealtimeStressScenarioTitle => |
| 660 | + 'When should HRV and real-time stress be used?'; | ||
| 577 | 661 | ||
| 578 | @override | 662 | @override |
| 579 | - String get todayRealtimeStressScenarioHrvDefault => 'With Apple Watch default settings, HRV updates every 2-5 hours.'; | 663 | + String get todayRealtimeStressScenarioHrvDefault => |
| 664 | + 'With Apple Watch default settings, HRV updates every 2-5 hours.'; | ||
| 580 | 665 | ||
| 581 | @override | 666 | @override |
| 582 | - String get todayRealtimeStressScenarioRegionLimit => 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.'; | 667 | + String get todayRealtimeStressScenarioRegionLimit => |
| 668 | + 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.'; | ||
| 583 | 669 | ||
| 584 | @override | 670 | @override |
| 585 | - String get todayRealtimeStressScenarioIntro => 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:'; | 671 | + String get todayRealtimeStressScenarioIntro => |
| 672 | + 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:'; | ||
| 586 | 673 | ||
| 587 | @override | 674 | @override |
| 588 | - String get todayRealtimeStressScenarioUpdateEvery6Min => '· Real-time stress updates every 6 minutes'; | 675 | + String get todayRealtimeStressScenarioUpdateEvery6Min => |
| 676 | + '· Real-time stress updates every 6 minutes'; | ||
| 589 | 677 | ||
| 590 | @override | 678 | @override |
| 591 | - String get todayRealtimeStressScenarioTimely => '· It can reflect body-state changes more promptly'; | 679 | + String get todayRealtimeStressScenarioTimely => |
| 680 | + '· It can reflect body-state changes more promptly'; | ||
| 592 | 681 | ||
| 593 | @override | 682 | @override |
| 594 | - String get todayRealtimeStressScenarioConsistentTrend => '· In most cases, the real-time stress trend is consistent with the HRV trend'; | 683 | + String get todayRealtimeStressScenarioConsistentTrend => |
| 684 | + '· In most cases, the real-time stress trend is consistent with the HRV trend'; | ||
| 595 | 685 | ||
| 596 | @override | 686 | @override |
| 597 | - String get todayRealtimeStressScenarioSummary => 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.'; | 687 | + String get todayRealtimeStressScenarioSummary => |
| 688 | + 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.'; | ||
| 598 | 689 | ||
| 599 | @override | 690 | @override |
| 600 | - String get todayFaqNoDataTitle => 'What if the app or watch face has no data?'; | 691 | + String get todayFaqNoDataTitle => |
| 692 | + 'What if the app or watch face has no data?'; | ||
| 601 | 693 | ||
| 602 | @override | 694 | @override |
| 603 | - String get todayFaqNoDataDescription1 => '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.'; | 695 | + String get todayFaqNoDataDescription1 => |
| 696 | + '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.'; | ||
| 604 | 697 | ||
| 605 | @override | 698 | @override |
| 606 | - String get todayFaqNoDataDescription2 => '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.'; | 699 | + String get todayFaqNoDataDescription2 => |
| 700 | + '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.'; | ||
| 607 | 701 | ||
| 608 | @override | 702 | @override |
| 609 | - String get todayFaqNoDataDescription3 => '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.'; | 703 | + String get todayFaqNoDataDescription3 => |
| 704 | + '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.'; | ||
| 610 | 705 | ||
| 611 | @override | 706 | @override |
| 612 | - String get todayFaqContactPrefix => 'If everything above is correct, you can '; | 707 | + String get todayFaqContactPrefix => |
| 708 | + 'If everything above is correct, you can '; | ||
| 613 | 709 | ||
| 614 | @override | 710 | @override |
| 615 | String get todayFaqContactAction => 'contact us'; | 711 | String get todayFaqContactAction => 'contact us'; |
| @@ -618,70 +714,90 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -618,70 +714,90 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 618 | String get todayFaqContactSuffix => '.'; | 714 | String get todayFaqContactSuffix => '.'; |
| 619 | 715 | ||
| 620 | @override | 716 | @override |
| 621 | - String get todayFaqWatchNoNotificationTitle => 'Watch cannot receive status notifications?'; | 717 | + String get todayFaqWatchNoNotificationTitle => |
| 718 | + 'Watch cannot receive status notifications?'; | ||
| 622 | 719 | ||
| 623 | @override | 720 | @override |
| 624 | - String get todayFaqWatchNoNotificationDescription1 => 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.'; | 721 | + String get todayFaqWatchNoNotificationDescription1 => |
| 722 | + 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.'; | ||
| 625 | 723 | ||
| 626 | @override | 724 | @override |
| 627 | - String get todayFaqWatchNoNotificationDescription2 => 'If stress data displays and updates normally but your watch does not receive notifications, try the following:'; | 725 | + String get todayFaqWatchNoNotificationDescription2 => |
| 726 | + 'If stress data displays and updates normally but your watch does not receive notifications, try the following:'; | ||
| 628 | 727 | ||
| 629 | @override | 728 | @override |
| 630 | - String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).'; | 729 | + String get todayFaqWatchNoNotificationCheckPhoneNotification => |
| 730 | + '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).'; | ||
| 631 | 731 | ||
| 632 | @override | 732 | @override |
| 633 | - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).'; | 733 | + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => |
| 734 | + '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).'; | ||
| 634 | 735 | ||
| 635 | @override | 736 | @override |
| 636 | - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).'; | 737 | + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => |
| 738 | + '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).'; | ||
| 637 | 739 | ||
| 638 | @override | 740 | @override |
| 639 | - String get todayFaqWatchNoNotificationCheckModes => '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.'; | 741 | + String get todayFaqWatchNoNotificationCheckModes => |
| 742 | + '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.'; | ||
| 640 | 743 | ||
| 641 | @override | 744 | @override |
| 642 | - String get todayFaqWatchNoNotificationReinstall => '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.'; | 745 | + String get todayFaqWatchNoNotificationReinstall => |
| 746 | + '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.'; | ||
| 643 | 747 | ||
| 644 | @override | 748 | @override |
| 645 | - String get todayFaqWatchFaceDelayTitle => 'Watch face data not updating or delayed?'; | 749 | + String get todayFaqWatchFaceDelayTitle => |
| 750 | + 'Watch face data not updating or delayed?'; | ||
| 646 | 751 | ||
| 647 | @override | 752 | @override |
| 648 | - String get todayFaqWatchFaceDelayDescription1 => 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.'; | 753 | + String get todayFaqWatchFaceDelayDescription1 => |
| 754 | + 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.'; | ||
| 649 | 755 | ||
| 650 | @override | 756 | @override |
| 651 | - String get todayFaqWatchFaceDelayIfOverOneHour => 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:'; | 757 | + String get todayFaqWatchFaceDelayIfOverOneHour => |
| 758 | + 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:'; | ||
| 652 | 759 | ||
| 653 | @override | 760 | @override |
| 654 | - String get todayFaqWatchFaceDelayOpenWatchApp => 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.'; | 761 | + String get todayFaqWatchFaceDelayOpenWatchApp => |
| 762 | + 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.'; | ||
| 655 | 763 | ||
| 656 | @override | 764 | @override |
| 657 | String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:'; | 765 | String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:'; |
| 658 | 766 | ||
| 659 | @override | 767 | @override |
| 660 | - String get todayFaqWatchFaceDelayRestartApp => 'Close the DoubleFeel background process and restart it.'; | 768 | + String get todayFaqWatchFaceDelayRestartApp => |
| 769 | + 'Close the DoubleFeel background process and restart it.'; | ||
| 661 | 770 | ||
| 662 | @override | 771 | @override |
| 663 | - String get todayFaqWatchFaceDelayCheckIntro => 'If it still does not work, check:'; | 772 | + String get todayFaqWatchFaceDelayCheckIntro => |
| 773 | + 'If it still does not work, check:'; | ||
| 664 | 774 | ||
| 665 | @override | 775 | @override |
| 666 | - String get todayFaqWatchFaceDelayCheckData => '· Whether both phone and watch apps can show HRV data normally.'; | 776 | + String get todayFaqWatchFaceDelayCheckData => |
| 777 | + '· Whether both phone and watch apps can show HRV data normally.'; | ||
| 667 | 778 | ||
| 668 | @override | 779 | @override |
| 669 | - String get todayFaqWatchFaceDelayCheckPhoneHealth => '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.'; | 780 | + String get todayFaqWatchFaceDelayCheckPhoneHealth => |
| 781 | + '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.'; | ||
| 670 | 782 | ||
| 671 | @override | 783 | @override |
| 672 | - String get todayFaqWatchFaceDelayCheckWatchHealth => '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.'; | 784 | + String get todayFaqWatchFaceDelayCheckWatchHealth => |
| 785 | + '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.'; | ||
| 673 | 786 | ||
| 674 | @override | 787 | @override |
| 675 | - String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.'; | 788 | + String get todayFaqWatchFaceDelayCheckBackgroundRefresh => |
| 789 | + '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.'; | ||
| 676 | 790 | ||
| 677 | @override | 791 | @override |
| 678 | - String get todayFaqWatchFaceDelayRestartWatch => '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.'; | 792 | + String get todayFaqWatchFaceDelayRestartWatch => |
| 793 | + '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.'; | ||
| 679 | 794 | ||
| 680 | @override | 795 | @override |
| 681 | String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?'; | 796 | String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?'; |
| 682 | 797 | ||
| 683 | @override | 798 | @override |
| 684 | - String get todayFaqWatchFaceBlackScreenDescription => 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.'; | 799 | + String get todayFaqWatchFaceBlackScreenDescription => |
| 800 | + 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.'; | ||
| 685 | 801 | ||
| 686 | @override | 802 | @override |
| 687 | String get today => 'Today'; | 803 | String get today => 'Today'; |
| @@ -699,16 +815,19 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -699,16 +815,19 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 699 | String get allPlans => 'All Plans'; | 815 | String get allPlans => 'All Plans'; |
| 700 | 816 | ||
| 701 | @override | 817 | @override |
| 702 | - String get clickToAddTheHrvThemedWatchFace => 'Click to add the HRV-themed watch face'; | 818 | + String get clickToAddTheHrvThemedWatchFace => |
| 819 | + 'Click to add the HRV-themed watch face'; | ||
| 703 | 820 | ||
| 704 | @override | 821 | @override |
| 705 | - String get stayOnTopOfYourHealthFluctuations => 'Stay on top of your health fluctuations'; | 822 | + String get stayOnTopOfYourHealthFluctuations => |
| 823 | + 'Stay on top of your health fluctuations'; | ||
| 706 | 824 | ||
| 707 | @override | 825 | @override |
| 708 | String get addACloseContact => 'Add a close contact'; | 826 | String get addACloseContact => 'Add a close contact'; |
| 709 | 827 | ||
| 710 | @override | 828 | @override |
| 711 | - String get oneMorePersonLookingOutForYourHealth => 'One more person looking out for your health'; | 829 | + String get oneMorePersonLookingOutForYourHealth => |
| 830 | + 'One more person looking out for your health'; | ||
| 712 | 831 | ||
| 713 | @override | 832 | @override |
| 714 | String get addAFriend => 'Add a friend'; | 833 | String get addAFriend => 'Add a friend'; |
| @@ -765,7 +884,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -765,7 +884,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 765 | String get questionsAndFeedback => 'Questions and Feedback'; | 884 | String get questionsAndFeedback => 'Questions and Feedback'; |
| 766 | 885 | ||
| 767 | @override | 886 | @override |
| 768 | - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => 'If you would like us to reply, please provide your email address'; | 887 | + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => |
| 888 | + 'If you would like us to reply, please provide your email address'; | ||
| 769 | 889 | ||
| 770 | @override | 890 | @override |
| 771 | String get uploadProof => 'Upload Proof'; | 891 | String get uploadProof => 'Upload Proof'; |
| @@ -774,7 +894,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -774,7 +894,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 774 | String get frequentlyAskedQuestions => 'Frequently Asked Questions'; | 894 | String get frequentlyAskedQuestions => 'Frequently Asked Questions'; |
| 775 | 895 | ||
| 776 | @override | 896 | @override |
| 777 | - String get areYouSureYouWantToDeleteYourAccount => 'Are you sure you want to delete your account?'; | 897 | + String get areYouSureYouWantToDeleteYourAccount => |
| 898 | + 'Are you sure you want to delete your account?'; | ||
| 778 | 899 | ||
| 779 | @override | 900 | @override |
| 780 | String get accountSettings => 'Account Settings'; | 901 | String get accountSettings => 'Account Settings'; |
| @@ -1165,7 +1286,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1165,7 +1286,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1165 | String get sleepLowest => 'Lowest'; | 1286 | String get sleepLowest => 'Lowest'; |
| 1166 | 1287 | ||
| 1167 | @override | 1288 | @override |
| 1168 | - String get sleepQualityDescription => 'DoubleFeel calculates your daily sleep quality score from sleep duration, sleep stages, deep sleep and recovery, nighttime heart rate, and HRV changes.\nThis score helps you understand your recovery and sleep performance more clearly.'; | 1289 | + String get sleepQualityDescription => |
| 1290 | + 'DoubleFeel calculates your daily sleep quality score from sleep duration, sleep stages, deep sleep and recovery, nighttime heart rate, and HRV changes.\nThis score helps you understand your recovery and sleep performance more clearly.'; | ||
| 1169 | 1291 | ||
| 1170 | @override | 1292 | @override |
| 1171 | String get sleepQualityAttentionRange => '<60 pts'; | 1293 | String get sleepQualityAttentionRange => '<60 pts'; |
| @@ -1177,7 +1299,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1177,7 +1299,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1177 | String get sleepQualityExcellentRange => '>85 pts'; | 1299 | String get sleepQualityExcellentRange => '>85 pts'; |
| 1178 | 1300 | ||
| 1179 | @override | 1301 | @override |
| 1180 | - String get friendsAddCloseContactDescription => 'Add a close contact so someone else can look out for your health'; | 1302 | + String get friendsAddCloseContactDescription => |
| 1303 | + 'Add a close contact so someone else can look out for your health'; | ||
| 1181 | 1304 | ||
| 1182 | @override | 1305 | @override |
| 1183 | String get friendsLimitReached => 'Friend limit reached'; | 1306 | String get friendsLimitReached => 'Friend limit reached'; |
| @@ -1279,10 +1402,12 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1279,10 +1402,12 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1279 | String get friendsPromptSelfIdTitle => 'You can\'t add yourself'; | 1402 | String get friendsPromptSelfIdTitle => 'You can\'t add yourself'; |
| 1280 | 1403 | ||
| 1281 | @override | 1404 | @override |
| 1282 | - String get friendsPromptIdNotFoundMessage => 'This ID doesn\'t exist. Check it and try again.'; | 1405 | + String get friendsPromptIdNotFoundMessage => |
| 1406 | + 'This ID doesn\'t exist. Check it and try again.'; | ||
| 1283 | 1407 | ||
| 1284 | @override | 1408 | @override |
| 1285 | - String get friendsPromptAlreadyFriendMessage => 'You\'re already close contacts.'; | 1409 | + String get friendsPromptAlreadyFriendMessage => |
| 1410 | + 'You\'re already close contacts.'; | ||
| 1286 | 1411 | ||
| 1287 | @override | 1412 | @override |
| 1288 | String get friendsPromptSelfIdMessage => 'Enter your close contact\'s ID.'; | 1413 | String get friendsPromptSelfIdMessage => 'Enter your close contact\'s ID.'; |
| @@ -1302,7 +1427,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1302,7 +1427,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1302 | } | 1427 | } |
| 1303 | 1428 | ||
| 1304 | @override | 1429 | @override |
| 1305 | - String get friendsDeleteConfirmMessage => 'You will no longer be able to view their mood or health status.'; | 1430 | + String get friendsDeleteConfirmMessage => |
| 1431 | + 'You will no longer be able to view their mood or health status.'; | ||
| 1306 | 1432 | ||
| 1307 | @override | 1433 | @override |
| 1308 | String get friendsDeleteConfirmAction => 'Remove'; | 1434 | String get friendsDeleteConfirmAction => 'Remove'; |
| @@ -1311,13 +1437,15 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1311,13 +1437,15 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1311 | String get privacySettingsTitle => 'Privacy Settings'; | 1437 | String get privacySettingsTitle => 'Privacy Settings'; |
| 1312 | 1438 | ||
| 1313 | @override | 1439 | @override |
| 1314 | - String get privacySettingsDisableAddById => 'Don\'t allow others to add me by ID'; | 1440 | + String get privacySettingsDisableAddById => |
| 1441 | + 'Don\'t allow others to add me by ID'; | ||
| 1315 | 1442 | ||
| 1316 | @override | 1443 | @override |
| 1317 | String get premiumActivatedTitle => 'DoubleFeel Pro is now active'; | 1444 | String get premiumActivatedTitle => 'DoubleFeel Pro is now active'; |
| 1318 | 1445 | ||
| 1319 | @override | 1446 | @override |
| 1320 | - String get premiumActivatedDescription => 'You can now monitor stress, sleep, and HRV in real time, build healthier habits, and share health updates with close contacts so the people who matter can stay informed.'; | 1447 | + String get premiumActivatedDescription => |
| 1448 | + 'You can now monitor stress, sleep, and HRV in real time, build healthier habits, and share health updates with close contacts so the people who matter can stay informed.'; | ||
| 1321 | 1449 | ||
| 1322 | @override | 1450 | @override |
| 1323 | String get premiumActivatedContinue => 'Continue'; | 1451 | String get premiumActivatedContinue => 'Continue'; |
| @@ -1362,10 +1490,12 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1362,10 +1490,12 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1362 | String get purchaseCurrencySymbol => '¥'; | 1490 | String get purchaseCurrencySymbol => '¥'; |
| 1363 | 1491 | ||
| 1364 | @override | 1492 | @override |
| 1365 | - String get purchaseProductInfoUnavailable => 'Product information is unavailable. Please try again later.'; | 1493 | + String get purchaseProductInfoUnavailable => |
| 1494 | + 'Product information is unavailable. Please try again later.'; | ||
| 1366 | 1495 | ||
| 1367 | @override | 1496 | @override |
| 1368 | - String get purchaseOrderInfoUnavailable => 'Order information is unavailable. Please try again later.'; | 1497 | + String get purchaseOrderInfoUnavailable => |
| 1498 | + 'Order information is unavailable. Please try again later.'; | ||
| 1369 | 1499 | ||
| 1370 | @override | 1500 | @override |
| 1371 | String purchaseMonthlyUnitPrice(String unitPrice) { | 1501 | String purchaseMonthlyUnitPrice(String unitPrice) { |
| @@ -1376,13 +1506,15 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1376,13 +1506,15 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1376 | String get purchaseApplePaymentInvalidOrder => 'Invalid UUID format.'; | 1506 | String get purchaseApplePaymentInvalidOrder => 'Invalid UUID format.'; |
| 1377 | 1507 | ||
| 1378 | @override | 1508 | @override |
| 1379 | - String get purchaseApplePaymentProductNotFound => 'Failed to find product by product ID.'; | 1509 | + String get purchaseApplePaymentProductNotFound => |
| 1510 | + 'Failed to find product by product ID.'; | ||
| 1380 | 1511 | ||
| 1381 | @override | 1512 | @override |
| 1382 | String get purchaseApplePaymentCancelled => 'The user cancelled the payment.'; | 1513 | String get purchaseApplePaymentCancelled => 'The user cancelled the payment.'; |
| 1383 | 1514 | ||
| 1384 | @override | 1515 | @override |
| 1385 | - String get purchaseApplePaymentVerificationFailed => 'Payment verification failed.'; | 1516 | + String get purchaseApplePaymentVerificationFailed => |
| 1517 | + 'Payment verification failed.'; | ||
| 1386 | 1518 | ||
| 1387 | @override | 1519 | @override |
| 1388 | String get purchaseApplePaymentFailed => 'Unknown error.'; | 1520 | String get purchaseApplePaymentFailed => 'Unknown error.'; |
| @@ -1391,19 +1523,23 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1391,19 +1523,23 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1391 | String get purchaseBenefitRealtimeStress => 'Real-time stress monitoring'; | 1523 | String get purchaseBenefitRealtimeStress => 'Real-time stress monitoring'; |
| 1392 | 1524 | ||
| 1393 | @override | 1525 | @override |
| 1394 | - String get purchaseBenefitStressTrends => 'Weekly, monthly, and yearly stress trends'; | 1526 | + String get purchaseBenefitStressTrends => |
| 1527 | + 'Weekly, monthly, and yearly stress trends'; | ||
| 1395 | 1528 | ||
| 1396 | @override | 1529 | @override |
| 1397 | - String get purchaseBenefitActivityTrends => 'Weekly, monthly, and yearly activity trends'; | 1530 | + String get purchaseBenefitActivityTrends => |
| 1531 | + 'Weekly, monthly, and yearly activity trends'; | ||
| 1398 | 1532 | ||
| 1399 | @override | 1533 | @override |
| 1400 | - String get purchaseBenefitSleepReports => 'Weekly, monthly, and yearly sleep reports'; | 1534 | + String get purchaseBenefitSleepReports => |
| 1535 | + 'Weekly, monthly, and yearly sleep reports'; | ||
| 1401 | 1536 | ||
| 1402 | @override | 1537 | @override |
| 1403 | String get purchaseBenefitHealthSync => 'Real-time health data sync'; | 1538 | String get purchaseBenefitHealthSync => 'Real-time health data sync'; |
| 1404 | 1539 | ||
| 1405 | @override | 1540 | @override |
| 1406 | - String get purchaseBenefitContactNotifications => 'Real-time health updates for close contacts'; | 1541 | + String get purchaseBenefitContactNotifications => |
| 1542 | + 'Real-time health updates for close contacts'; | ||
| 1407 | 1543 | ||
| 1408 | @override | 1544 | @override |
| 1409 | String get purchaseBenefitCustomWatchFace => 'Exclusive custom watch faces'; | 1545 | String get purchaseBenefitCustomWatchFace => 'Exclusive custom watch faces'; |
| @@ -1412,19 +1548,23 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1412,19 +1548,23 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1412 | String get purchaseBenefitSleepAnalysis => 'Sleep analysis'; | 1548 | String get purchaseBenefitSleepAnalysis => 'Sleep analysis'; |
| 1413 | 1549 | ||
| 1414 | @override | 1550 | @override |
| 1415 | - String get purchaseBenefitFutureFeatures => 'Free access to future premium features'; | 1551 | + String get purchaseBenefitFutureFeatures => |
| 1552 | + 'Free access to future premium features'; | ||
| 1416 | 1553 | ||
| 1417 | @override | 1554 | @override |
| 1418 | String get purchaseNotesTitle => 'Notes'; | 1555 | String get purchaseNotesTitle => 'Notes'; |
| 1419 | 1556 | ||
| 1420 | @override | 1557 | @override |
| 1421 | - String get purchaseNoteSubscription => 'After you confirm and pay, the subscription will renew automatically through your iTunes account. Your Apple account will be charged within 24 hours before the current period ends, and the subscription will renew for another period. To cancel, turn off auto-renewal in your iTunes/Apple ID subscription settings at least 24 hours before the current period ends.\n\nDoubleFeel Pro is a virtual product. Purchases are non-refundable except through the App Store refund process. Tap Learn More for additional information.'; | 1558 | + String get purchaseNoteSubscription => |
| 1559 | + 'After you confirm and pay, the subscription will renew automatically through your iTunes account. Your Apple account will be charged within 24 hours before the current period ends, and the subscription will renew for another period. To cancel, turn off auto-renewal in your iTunes/Apple ID subscription settings at least 24 hours before the current period ends.\n\nDoubleFeel Pro is a virtual product. Purchases are non-refundable except through the App Store refund process. Tap Learn More for additional information.'; | ||
| 1422 | 1560 | ||
| 1423 | @override | 1561 | @override |
| 1424 | - String get purchaseNoteRestore => 'If your purchase does not take effect, tap Restore Purchases.'; | 1562 | + String get purchaseNoteRestore => |
| 1563 | + 'If your purchase does not take effect, tap Restore Purchases.'; | ||
| 1425 | 1564 | ||
| 1426 | @override | 1565 | @override |
| 1427 | - String get purchaseNoteContact => 'Contact us if you have any other questions.'; | 1566 | + String get purchaseNoteContact => |
| 1567 | + 'Contact us if you have any other questions.'; | ||
| 1428 | 1568 | ||
| 1429 | @override | 1569 | @override |
| 1430 | String get reportBottomSlogan => 'FEEL MORE, STRESS LESS'; | 1570 | String get reportBottomSlogan => 'FEEL MORE, STRESS LESS'; |
| @@ -1433,91 +1573,114 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1433,91 +1573,114 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1433 | String get refundExplanationTitle => 'Refund Information'; | 1573 | String get refundExplanationTitle => 'Refund Information'; |
| 1434 | 1574 | ||
| 1435 | @override | 1575 | @override |
| 1436 | - String get refundAppStoreReviewTitle => 'Refunds are reviewed by the App Store'; | 1576 | + String get refundAppStoreReviewTitle => |
| 1577 | + 'Refunds are reviewed by the App Store'; | ||
| 1437 | 1578 | ||
| 1438 | @override | 1579 | @override |
| 1439 | - String get refundAppStoreReviewDescription => 'All subscriptions and virtual products are purchased through the official App Store payment system. DoubleFeel cannot directly process payments or refunds.'; | 1580 | + String get refundAppStoreReviewDescription => |
| 1581 | + 'All subscriptions and virtual products are purchased through the official App Store payment system. DoubleFeel cannot directly process payments or refunds.'; | ||
| 1440 | 1582 | ||
| 1441 | @override | 1583 | @override |
| 1442 | String get refundAppleRulesIntroduction => 'Under Apple\'s platform rules:'; | 1584 | String get refundAppleRulesIntroduction => 'Under Apple\'s platform rules:'; |
| 1443 | 1585 | ||
| 1444 | @override | 1586 | @override |
| 1445 | - String get refundAppleCollectsPayments => ' · All payments are collected by the App Store'; | 1587 | + String get refundAppleCollectsPayments => |
| 1588 | + ' · All payments are collected by the App Store'; | ||
| 1446 | 1589 | ||
| 1447 | @override | 1590 | @override |
| 1448 | - String get refundAppleReviewsRequests => ' · All refund requests are reviewed by Apple'; | 1591 | + String get refundAppleReviewsRequests => |
| 1592 | + ' · All refund requests are reviewed by Apple'; | ||
| 1449 | 1593 | ||
| 1450 | @override | 1594 | @override |
| 1451 | - String get refundDeveloperCannotSubmit => ' · Developers cannot submit requests for users'; | 1595 | + String get refundDeveloperCannotSubmit => |
| 1596 | + ' · Developers cannot submit requests for users'; | ||
| 1452 | 1597 | ||
| 1453 | @override | 1598 | @override |
| 1454 | - String get refundDeveloperCannotIntervene => ' · Developers cannot influence Apple\'s decision'; | 1599 | + String get refundDeveloperCannotIntervene => |
| 1600 | + ' · Developers cannot influence Apple\'s decision'; | ||
| 1455 | 1601 | ||
| 1456 | @override | 1602 | @override |
| 1457 | - String get refundAppStoreFinalDecision => 'Your refund request will therefore be decided by the App Store.'; | 1603 | + String get refundAppStoreFinalDecision => |
| 1604 | + 'Your refund request will therefore be decided by the App Store.'; | ||
| 1458 | 1605 | ||
| 1459 | @override | 1606 | @override |
| 1460 | String get refundMayBeRejectedTitle => 'The App Store may reject a refund'; | 1607 | String get refundMayBeRejectedTitle => 'The App Store may reject a refund'; |
| 1461 | 1608 | ||
| 1462 | @override | 1609 | @override |
| 1463 | - String get refundNoUnconditionalRefunds => 'Apple\'s refund policy does not provide unconditional refunds in every situation.'; | 1610 | + String get refundNoUnconditionalRefunds => |
| 1611 | + 'Apple\'s refund policy does not provide unconditional refunds in every situation.'; | ||
| 1464 | 1612 | ||
| 1465 | @override | 1613 | @override |
| 1466 | - String get refundAppleTermsDescription => 'By using the App Store, you agree to Apple\'s terms of service and refund rules. https://www.apple.com/legal/internet-services/itunes/'; | 1614 | + String get refundAppleTermsDescription => |
| 1615 | + 'By using the App Store, you agree to Apple\'s terms of service and refund rules. https://www.apple.com/legal/internet-services/itunes/'; | ||
| 1467 | 1616 | ||
| 1468 | @override | 1617 | @override |
| 1469 | - String get refundAppleReviewsCircumstances => 'Apple reviews the order, account history, and actual usage when deciding whether to approve a refund.'; | 1618 | + String get refundAppleReviewsCircumstances => |
| 1619 | + 'Apple reviews the order, account history, and actual usage when deciding whether to approve a refund.'; | ||
| 1470 | 1620 | ||
| 1471 | @override | 1621 | @override |
| 1472 | String get refundRejectionReasonsTitle => 'Why might a refund be rejected?'; | 1622 | String get refundRejectionReasonsTitle => 'Why might a refund be rejected?'; |
| 1473 | 1623 | ||
| 1474 | @override | 1624 | @override |
| 1475 | - String get refundRejectionReasonsIntroduction => 'The App Store may reject a request for reasons including, but not limited to:'; | 1625 | + String get refundRejectionReasonsIntroduction => |
| 1626 | + 'The App Store may reject a request for reasons including, but not limited to:'; | ||
| 1476 | 1627 | ||
| 1477 | @override | 1628 | @override |
| 1478 | - String get refundReasonPurchaseTooOld => ' · Too much time has passed since purchase'; | 1629 | + String get refundReasonPurchaseTooOld => |
| 1630 | + ' · Too much time has passed since purchase'; | ||
| 1479 | 1631 | ||
| 1480 | @override | 1632 | @override |
| 1481 | - String get refundReasonFrequentRequests => ' · Frequent requests from the same account'; | 1633 | + String get refundReasonFrequentRequests => |
| 1634 | + ' · Frequent requests from the same account'; | ||
| 1482 | 1635 | ||
| 1483 | @override | 1636 | @override |
| 1484 | - String get refundReasonAbnormalHistory => ' · A history of unusual refund activity'; | 1637 | + String get refundReasonAbnormalHistory => |
| 1638 | + ' · A history of unusual refund activity'; | ||
| 1485 | 1639 | ||
| 1486 | @override | 1640 | @override |
| 1487 | String get refundReasonInsufficient => ' · An insufficient refund reason'; | 1641 | String get refundReasonInsufficient => ' · An insufficient refund reason'; |
| 1488 | 1642 | ||
| 1489 | @override | 1643 | @override |
| 1490 | - String get refundReasonLongTermUse => ' · Extended normal use of membership features'; | 1644 | + String get refundReasonLongTermUse => |
| 1645 | + ' · Extended normal use of membership features'; | ||
| 1491 | 1646 | ||
| 1492 | @override | 1647 | @override |
| 1493 | - String get refundReasonPriceChange => ' · Promotions, discounts, or price changes'; | 1648 | + String get refundReasonPriceChange => |
| 1649 | + ' · Promotions, discounts, or price changes'; | ||
| 1494 | 1650 | ||
| 1495 | @override | 1651 | @override |
| 1496 | - String get refundReasonNoReceipt => ' · No valid order receipt can be provided'; | 1652 | + String get refundReasonNoReceipt => |
| 1653 | + ' · No valid order receipt can be provided'; | ||
| 1497 | 1654 | ||
| 1498 | @override | 1655 | @override |
| 1499 | - String get refundOfficialDecision => 'The App Store\'s final decision applies.'; | 1656 | + String get refundOfficialDecision => |
| 1657 | + 'The App Store\'s final decision applies.'; | ||
| 1500 | 1658 | ||
| 1501 | @override | 1659 | @override |
| 1502 | String get refundRejectedNextStepsTitle => 'What if my request is rejected?'; | 1660 | String get refundRejectedNextStepsTitle => 'What if my request is rejected?'; |
| 1503 | 1661 | ||
| 1504 | @override | 1662 | @override |
| 1505 | - String get refundTryAgain => 'If your refund request is rejected, you can try submitting it to the App Store again.'; | 1663 | + String get refundTryAgain => |
| 1664 | + 'If your refund request is rejected, you can try submitting it to the App Store again.'; | ||
| 1506 | 1665 | ||
| 1507 | @override | 1666 | @override |
| 1508 | - String get refundFinalReview => 'If it is rejected again, the App Store has completed its final review. Neither DoubleFeel nor Apple Support can change the result.'; | 1667 | + String get refundFinalReview => |
| 1668 | + 'If it is rejected again, the App Store has completed its final review. Neither DoubleFeel nor Apple Support can change the result.'; | ||
| 1509 | 1669 | ||
| 1510 | @override | 1670 | @override |
| 1511 | - String get refundNoAlternativeChannel => 'DoubleFeel cannot process refund requests outside the App Store system.'; | 1671 | + String get refundNoAlternativeChannel => |
| 1672 | + 'DoubleFeel cannot process refund requests outside the App Store system.'; | ||
| 1512 | 1673 | ||
| 1513 | @override | 1674 | @override |
| 1514 | - String get refundMembershipCancellation => 'After a successful refund, your DoubleFeel Pro benefits will also be canceled.'; | 1675 | + String get refundMembershipCancellation => |
| 1676 | + 'After a successful refund, your DoubleFeel Pro benefits will also be canceled.'; | ||
| 1515 | 1677 | ||
| 1516 | @override | 1678 | @override |
| 1517 | String get refundHelpTitle => 'Need help?'; | 1679 | String get refundHelpTitle => 'Need help?'; |
| 1518 | 1680 | ||
| 1519 | @override | 1681 | @override |
| 1520 | - String get refundHelpDescription => 'If you have questions about refunds or experience payment errors, duplicate charges, or a missing order, contact DoubleFeel Support and we will do our best to assist.'; | 1682 | + String get refundHelpDescription => |
| 1683 | + 'If you have questions about refunds or experience payment errors, duplicate charges, or a missing order, contact DoubleFeel Support and we will do our best to assist.'; | ||
| 1521 | 1684 | ||
| 1522 | @override | 1685 | @override |
| 1523 | String get refundFaqTitle => 'DoubleFeel FAQs'; | 1686 | String get refundFaqTitle => 'DoubleFeel FAQs'; |
| @@ -1526,7 +1689,8 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1526,7 +1689,8 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1526 | String get appReviewPromptTitle => 'Enjoying DoubleFeel?'; | 1689 | String get appReviewPromptTitle => 'Enjoying DoubleFeel?'; |
| 1527 | 1690 | ||
| 1528 | @override | 1691 | @override |
| 1529 | - String get appReviewPromptMessage => 'Hi! Is DoubleFeel helping you better understand\nyour stress and sleep? 💜'; | 1692 | + String get appReviewPromptMessage => |
| 1693 | + 'Hi! Is DoubleFeel helping you better understand\nyour stress and sleep? 💜'; | ||
| 1530 | 1694 | ||
| 1531 | @override | 1695 | @override |
| 1532 | String get appReviewPromptLikeAction => '😍 Love it'; | 1696 | String get appReviewPromptLikeAction => '😍 Love it'; |
| @@ -1535,10 +1699,12 @@ class AppLocalizationsEn extends AppLocalizations { | @@ -1535,10 +1699,12 @@ class AppLocalizationsEn extends AppLocalizations { | ||
| 1535 | String get appReviewPromptFeedbackAction => 'I have feedback'; | 1699 | String get appReviewPromptFeedbackAction => 'I have feedback'; |
| 1536 | 1700 | ||
| 1537 | @override | 1701 | @override |
| 1538 | - String get appReviewFeedbackTitle => 'We\'re sorry DoubleFeel didn\'t give you\na good experience'; | 1702 | + String get appReviewFeedbackTitle => |
| 1703 | + 'We\'re sorry DoubleFeel didn\'t give you\na good experience'; | ||
| 1539 | 1704 | ||
| 1540 | @override | 1705 | @override |
| 1541 | - String get appReviewFeedbackMessage => 'Would you tell us what went wrong?\nYour feedback helps us improve the stress and health experience. 💜'; | 1706 | + String get appReviewFeedbackMessage => |
| 1707 | + 'Would you tell us what went wrong?\nYour feedback helps us improve the stress and health experience. 💜'; | ||
| 1542 | 1708 | ||
| 1543 | @override | 1709 | @override |
| 1544 | String get appReviewFeedbackSendAction => 'Send Feedback'; | 1710 | String get appReviewFeedbackSendAction => 'Send Feedback'; |
| 1 | +// ignore: unused_import | ||
| 2 | +import 'package:intl/intl.dart' as intl; | ||
| 1 | import 'app_localizations.dart'; | 3 | import 'app_localizations.dart'; |
| 2 | 4 | ||
| 3 | // ignore_for_file: type=lint | 5 | // ignore_for_file: type=lint |
| @@ -70,7 +72,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -70,7 +72,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 70 | String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app'; | 72 | String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app'; |
| 71 | 73 | ||
| 72 | @override | 74 | @override |
| 73 | - String get onboardingIntroBody => '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>'; | 75 | + String get onboardingIntroBody => |
| 76 | + '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>'; | ||
| 74 | 77 | ||
| 75 | @override | 78 | @override |
| 76 | String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?'; | 79 | String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?'; |
| @@ -160,7 +163,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -160,7 +163,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 160 | String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态'; | 163 | String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态'; |
| 161 | 164 | ||
| 162 | @override | 165 | @override |
| 163 | - String get onboardingHrvDescription => '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力'; | 166 | + String get onboardingHrvDescription => |
| 167 | + '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力'; | ||
| 164 | 168 | ||
| 165 | @override | 169 | @override |
| 166 | String get onboardingTellMeMore => '展开说说'; | 170 | String get onboardingTellMeMore => '展开说说'; |
| @@ -184,10 +188,12 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -184,10 +188,12 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 184 | String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力'; | 188 | String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力'; |
| 185 | 189 | ||
| 186 | @override | 190 | @override |
| 187 | - String get onboardingHealthPermissionBody => 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。'; | 191 | + String get onboardingHealthPermissionBody => |
| 192 | + 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。'; | ||
| 188 | 193 | ||
| 189 | @override | 194 | @override |
| 190 | - String get onboardingHealthPermissionPrivacy => '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。'; | 195 | + String get onboardingHealthPermissionPrivacy => |
| 196 | + '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。'; | ||
| 191 | 197 | ||
| 192 | @override | 198 | @override |
| 193 | String get onboardingNotificationTitle => '开启通知'; | 199 | String get onboardingNotificationTitle => '开启通知'; |
| @@ -196,7 +202,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -196,7 +202,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 196 | String get onboardingNotificationSubtitle => '及时了解身体每一次异动'; | 202 | String get onboardingNotificationSubtitle => '及时了解身体每一次异动'; |
| 197 | 203 | ||
| 198 | @override | 204 | @override |
| 199 | - String get onboardingNotificationBody => 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态'; | 205 | + String get onboardingNotificationBody => |
| 206 | + 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态'; | ||
| 200 | 207 | ||
| 201 | @override | 208 | @override |
| 202 | String get onboardingMemberTitle => '获得年度会员优惠'; | 209 | String get onboardingMemberTitle => '获得年度会员优惠'; |
| @@ -220,7 +227,9 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -220,7 +227,9 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 220 | String get healthCompanionIsNowAvailable => '健康陪伴已开启'; | 227 | String get healthCompanionIsNowAvailable => '健康陪伴已开启'; |
| 221 | 228 | ||
| 222 | @override | 229 | @override |
| 223 | - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'; | 230 | + String |
| 231 | + get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => | ||
| 232 | + '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'; | ||
| 224 | 233 | ||
| 225 | @override | 234 | @override |
| 226 | String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康'; | 235 | String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康'; |
| @@ -333,7 +342,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -333,7 +342,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 333 | String get todayHealthDataAuthTitle => '无法获取心率健康数据'; | 342 | String get todayHealthDataAuthTitle => '无法获取心率健康数据'; |
| 334 | 343 | ||
| 335 | @override | 344 | @override |
| 336 | - String get todayHealthDataAuthDescription => 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。'; | 345 | + String get todayHealthDataAuthDescription => |
| 346 | + 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。'; | ||
| 337 | 347 | ||
| 338 | @override | 348 | @override |
| 339 | String get todayHealthDataAuthAction => '授权访问健康数据'; | 349 | String get todayHealthDataAuthAction => '授权访问健康数据'; |
| @@ -360,7 +370,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -360,7 +370,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 360 | String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?'; | 370 | String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?'; |
| 361 | 371 | ||
| 362 | @override | 372 | @override |
| 363 | - String get todayFaqLinkWatchNoStatusAndInteractionNotification => '手表为什么无法收到状态和互动通知?'; | 373 | + String get todayFaqLinkWatchNoStatusAndInteractionNotification => |
| 374 | + '手表为什么无法收到状态和互动通知?'; | ||
| 364 | 375 | ||
| 365 | @override | 376 | @override |
| 366 | String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?'; | 377 | String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?'; |
| @@ -393,22 +404,27 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -393,22 +404,27 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 393 | String get todayStressStatusInsufficientData => '数据不足'; | 404 | String get todayStressStatusInsufficientData => '数据不足'; |
| 394 | 405 | ||
| 395 | @override | 406 | @override |
| 396 | - String get todayStressStatusOverloadDescription => '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。'; | 407 | + String get todayStressStatusOverloadDescription => |
| 408 | + '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。'; | ||
| 397 | 409 | ||
| 398 | @override | 410 | @override |
| 399 | - String get todayStressStatusCautionDescription => '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。'; | 411 | + String get todayStressStatusCautionDescription => |
| 412 | + '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。'; | ||
| 400 | 413 | ||
| 401 | @override | 414 | @override |
| 402 | String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。'; | 415 | String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。'; |
| 403 | 416 | ||
| 404 | @override | 417 | @override |
| 405 | - String get todayStressStatusExcellentDescription => '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。'; | 418 | + String get todayStressStatusExcellentDescription => |
| 419 | + '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。'; | ||
| 406 | 420 | ||
| 407 | @override | 421 | @override |
| 408 | - String get todayStressStatusInsufficientDataDescription => '当前可用数据不足,暂时无法准确判断压力状态。'; | 422 | + String get todayStressStatusInsufficientDataDescription => |
| 423 | + '当前可用数据不足,暂时无法准确判断压力状态。'; | ||
| 409 | 424 | ||
| 410 | @override | 425 | @override |
| 411 | - String get todayHrvMeasurementIntro => 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:'; | 426 | + String get todayHrvMeasurementIntro => |
| 427 | + 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:'; | ||
| 412 | 428 | ||
| 413 | @override | 429 | @override |
| 414 | String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和'; | 430 | String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和'; |
| @@ -426,7 +442,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -426,7 +442,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 426 | String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示'; | 442 | String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示'; |
| 427 | 443 | ||
| 428 | @override | 444 | @override |
| 429 | - String get todayHrvMeasurementHint => '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。'; | 445 | + String get todayHrvMeasurementHint => |
| 446 | + '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。'; | ||
| 430 | 447 | ||
| 431 | @override | 448 | @override |
| 432 | String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。'; | 449 | String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。'; |
| @@ -435,10 +452,12 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -435,10 +452,12 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 435 | String get todayStressStatusWhatTitle => '什么是综合压力状态?'; | 452 | String get todayStressStatusWhatTitle => '什么是综合压力状态?'; |
| 436 | 453 | ||
| 437 | @override | 454 | @override |
| 438 | - String get todayStressStatusWhatDescription1 => 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。'; | 455 | + String get todayStressStatusWhatDescription1 => |
| 456 | + 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。'; | ||
| 439 | 457 | ||
| 440 | @override | 458 | @override |
| 441 | - String get todayStressStatusWhatDescription2 => '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。'; | 459 | + String get todayStressStatusWhatDescription2 => |
| 460 | + '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。'; | ||
| 442 | 461 | ||
| 443 | @override | 462 | @override |
| 444 | String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?'; | 463 | String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?'; |
| @@ -459,22 +478,27 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -459,22 +478,27 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 459 | String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。'; | 478 | String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。'; |
| 460 | 479 | ||
| 461 | @override | 480 | @override |
| 462 | - String get todayStressStatusAppWatchDifferenceTitle => '手机 App 与 Apple Watch 显示的压力状态有什么区别?'; | 481 | + String get todayStressStatusAppWatchDifferenceTitle => |
| 482 | + '手机 App 与 Apple Watch 显示的压力状态有什么区别?'; | ||
| 463 | 483 | ||
| 464 | @override | 484 | @override |
| 465 | - String get todayStressStatusAppWatchDifferenceApp => '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。'; | 485 | + String get todayStressStatusAppWatchDifferenceApp => |
| 486 | + '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。'; | ||
| 466 | 487 | ||
| 467 | @override | 488 | @override |
| 468 | - String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。'; | 489 | + String get todayStressStatusAppWatchDifferenceWatch => |
| 490 | + 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。'; | ||
| 469 | 491 | ||
| 470 | @override | 492 | @override |
| 471 | String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?'; | 493 | String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?'; |
| 472 | 494 | ||
| 473 | @override | 495 | @override |
| 474 | - String get todayStressStatusWaitingDataDescription1 => '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。'; | 496 | + String get todayStressStatusWaitingDataDescription1 => |
| 497 | + '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。'; | ||
| 475 | 498 | ||
| 476 | @override | 499 | @override |
| 477 | - String get todayStressStatusWaitingDataDescription2 => '请继续佩戴 Apple Watch,等待系统自动采集数据。'; | 500 | + String get todayStressStatusWaitingDataDescription2 => |
| 501 | + '请继续佩戴 Apple Watch,等待系统自动采集数据。'; | ||
| 478 | 502 | ||
| 479 | @override | 503 | @override |
| 480 | String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:'; | 504 | String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:'; |
| @@ -495,28 +519,35 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -495,28 +519,35 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 495 | String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?'; | 519 | String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?'; |
| 496 | 520 | ||
| 497 | @override | 521 | @override |
| 498 | - String get todayHrvPrincipleHowMeasureDescription1 => '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。'; | 522 | + String get todayHrvPrincipleHowMeasureDescription1 => |
| 523 | + '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。'; | ||
| 499 | 524 | ||
| 500 | @override | 525 | @override |
| 501 | - String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。'; | 526 | + String get todayHrvPrincipleHowMeasureDescription2 => |
| 527 | + 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。'; | ||
| 502 | 528 | ||
| 503 | @override | 529 | @override |
| 504 | - String get todayHrvPrincipleHowMeasureDescription3 => 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。'; | 530 | + String get todayHrvPrincipleHowMeasureDescription3 => |
| 531 | + 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。'; | ||
| 505 | 532 | ||
| 506 | @override | 533 | @override |
| 507 | - String get todayHrvPrincipleHowMeasureDescription4 => '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。'; | 534 | + String get todayHrvPrincipleHowMeasureDescription4 => |
| 535 | + '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。'; | ||
| 508 | 536 | ||
| 509 | @override | 537 | @override |
| 510 | String get todayRealtimeStressWhatTitle => '什么是实时压力?'; | 538 | String get todayRealtimeStressWhatTitle => '什么是实时压力?'; |
| 511 | 539 | ||
| 512 | @override | 540 | @override |
| 513 | - String get todayRealtimeStressWhatDescription1 => '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。'; | 541 | + String get todayRealtimeStressWhatDescription1 => |
| 542 | + '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。'; | ||
| 514 | 543 | ||
| 515 | @override | 544 | @override |
| 516 | - String get todayRealtimeStressWhatDescription2 => '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。'; | 545 | + String get todayRealtimeStressWhatDescription2 => |
| 546 | + '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。'; | ||
| 517 | 547 | ||
| 518 | @override | 548 | @override |
| 519 | - String get todayRealtimeStressWhatDescription3 => '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。'; | 549 | + String get todayRealtimeStressWhatDescription3 => |
| 550 | + '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。'; | ||
| 520 | 551 | ||
| 521 | @override | 552 | @override |
| 522 | String get todayRealtimeStressDivisionTitle => '实时压力如何划分?'; | 553 | String get todayRealtimeStressDivisionTitle => '实时压力如何划分?'; |
| @@ -546,10 +577,12 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -546,10 +577,12 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 546 | String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。'; | 577 | String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。'; |
| 547 | 578 | ||
| 548 | @override | 579 | @override |
| 549 | - String get todayRealtimeStressOverloadDescription => '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。'; | 580 | + String get todayRealtimeStressOverloadDescription => |
| 581 | + '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。'; | ||
| 550 | 582 | ||
| 551 | @override | 583 | @override |
| 552 | - String get todayRealtimeStressDivisionBaseline => '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。'; | 584 | + String get todayRealtimeStressDivisionBaseline => |
| 585 | + '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。'; | ||
| 553 | 586 | ||
| 554 | @override | 587 | @override |
| 555 | String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。'; | 588 | String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。'; |
| @@ -564,25 +597,31 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -564,25 +597,31 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 564 | String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。'; | 597 | String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。'; |
| 565 | 598 | ||
| 566 | @override | 599 | @override |
| 567 | - String get todayRealtimeStressLowBetterExample => '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。'; | 600 | + String get todayRealtimeStressLowBetterExample => |
| 601 | + '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。'; | ||
| 568 | 602 | ||
| 569 | @override | 603 | @override |
| 570 | - String get todayRealtimeStressLowBetterHighStress => '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。'; | 604 | + String get todayRealtimeStressLowBetterHighStress => |
| 605 | + '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。'; | ||
| 571 | 606 | ||
| 572 | @override | 607 | @override |
| 573 | - String get todayRealtimeStressLowBetterTrend => 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。'; | 608 | + String get todayRealtimeStressLowBetterTrend => |
| 609 | + 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。'; | ||
| 574 | 610 | ||
| 575 | @override | 611 | @override |
| 576 | String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?'; | 612 | String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?'; |
| 577 | 613 | ||
| 578 | @override | 614 | @override |
| 579 | - String get todayRealtimeStressScenarioHrvDefault => '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。'; | 615 | + String get todayRealtimeStressScenarioHrvDefault => |
| 616 | + '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。'; | ||
| 580 | 617 | ||
| 581 | @override | 618 | @override |
| 582 | - String get todayRealtimeStressScenarioRegionLimit => '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。'; | 619 | + String get todayRealtimeStressScenarioRegionLimit => |
| 620 | + '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。'; | ||
| 583 | 621 | ||
| 584 | @override | 622 | @override |
| 585 | - String get todayRealtimeStressScenarioIntro => '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:'; | 623 | + String get todayRealtimeStressScenarioIntro => |
| 624 | + '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:'; | ||
| 586 | 625 | ||
| 587 | @override | 626 | @override |
| 588 | String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次'; | 627 | String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次'; |
| @@ -591,22 +630,27 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -591,22 +630,27 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 591 | String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化'; | 630 | String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化'; |
| 592 | 631 | ||
| 593 | @override | 632 | @override |
| 594 | - String get todayRealtimeStressScenarioConsistentTrend => '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的'; | 633 | + String get todayRealtimeStressScenarioConsistentTrend => |
| 634 | + '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的'; | ||
| 595 | 635 | ||
| 596 | @override | 636 | @override |
| 597 | - String get todayRealtimeStressScenarioSummary => '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。'; | 637 | + String get todayRealtimeStressScenarioSummary => |
| 638 | + '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。'; | ||
| 598 | 639 | ||
| 599 | @override | 640 | @override |
| 600 | String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?'; | 641 | String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?'; |
| 601 | 642 | ||
| 602 | @override | 643 | @override |
| 603 | - String get todayFaqNoDataDescription1 => '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。'; | 644 | + String get todayFaqNoDataDescription1 => |
| 645 | + '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。'; | ||
| 604 | 646 | ||
| 605 | @override | 647 | @override |
| 606 | - String get todayFaqNoDataDescription2 => '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。'; | 648 | + String get todayFaqNoDataDescription2 => |
| 649 | + '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。'; | ||
| 607 | 650 | ||
| 608 | @override | 651 | @override |
| 609 | - String get todayFaqNoDataDescription3 => '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。'; | 652 | + String get todayFaqNoDataDescription3 => |
| 653 | + '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。'; | ||
| 610 | 654 | ||
| 611 | @override | 655 | @override |
| 612 | String get todayFaqContactPrefix => '如以上均检查无问题,可以'; | 656 | String get todayFaqContactPrefix => '如以上均检查无问题,可以'; |
| @@ -621,37 +665,46 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -621,37 +665,46 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 621 | String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?'; | 665 | String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?'; |
| 622 | 666 | ||
| 623 | @override | 667 | @override |
| 624 | - String get todayFaqWatchNoNotificationDescription1 => '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。'; | 668 | + String get todayFaqWatchNoNotificationDescription1 => |
| 669 | + '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。'; | ||
| 625 | 670 | ||
| 626 | @override | 671 | @override |
| 627 | - String get todayFaqWatchNoNotificationDescription2 => '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:'; | 672 | + String get todayFaqWatchNoNotificationDescription2 => |
| 673 | + '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:'; | ||
| 628 | 674 | ||
| 629 | @override | 675 | @override |
| 630 | - String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。'; | 676 | + String get todayFaqWatchNoNotificationCheckPhoneNotification => |
| 677 | + '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。'; | ||
| 631 | 678 | ||
| 632 | @override | 679 | @override |
| 633 | - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。'; | 680 | + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => |
| 681 | + '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。'; | ||
| 634 | 682 | ||
| 635 | @override | 683 | @override |
| 636 | - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。'; | 684 | + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => |
| 685 | + '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。'; | ||
| 637 | 686 | ||
| 638 | @override | 687 | @override |
| 639 | - String get todayFaqWatchNoNotificationCheckModes => '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。'; | 688 | + String get todayFaqWatchNoNotificationCheckModes => |
| 689 | + '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。'; | ||
| 640 | 690 | ||
| 641 | @override | 691 | @override |
| 642 | - String get todayFaqWatchNoNotificationReinstall => '5. 重装DoubleFeel 并重启AppleWatch与iPhone。'; | 692 | + String get todayFaqWatchNoNotificationReinstall => |
| 693 | + '5. 重装DoubleFeel 并重启AppleWatch与iPhone。'; | ||
| 643 | 694 | ||
| 644 | @override | 695 | @override |
| 645 | String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?'; | 696 | String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?'; |
| 646 | 697 | ||
| 647 | @override | 698 | @override |
| 648 | - String get todayFaqWatchFaceDelayDescription1 => '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。'; | 699 | + String get todayFaqWatchFaceDelayDescription1 => |
| 700 | + '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。'; | ||
| 649 | 701 | ||
| 650 | @override | 702 | @override |
| 651 | String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:'; | 703 | String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:'; |
| 652 | 704 | ||
| 653 | @override | 705 | @override |
| 654 | - String get todayFaqWatchFaceDelayOpenWatchApp => '请在手表上手动打开DoubleFeel,等待约1分钟。'; | 706 | + String get todayFaqWatchFaceDelayOpenWatchApp => |
| 707 | + '请在手表上手动打开DoubleFeel,等待约1分钟。'; | ||
| 655 | 708 | ||
| 656 | @override | 709 | @override |
| 657 | String get todayFaqWatchFaceDelayIfStill => '若仍未更新:'; | 710 | String get todayFaqWatchFaceDelayIfStill => '若仍未更新:'; |
| @@ -666,22 +719,27 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -666,22 +719,27 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 666 | String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。'; | 719 | String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。'; |
| 667 | 720 | ||
| 668 | @override | 721 | @override |
| 669 | - String get todayFaqWatchFaceDelayCheckPhoneHealth => '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。'; | 722 | + String get todayFaqWatchFaceDelayCheckPhoneHealth => |
| 723 | + '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。'; | ||
| 670 | 724 | ||
| 671 | @override | 725 | @override |
| 672 | - String get todayFaqWatchFaceDelayCheckWatchHealth => '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。'; | 726 | + String get todayFaqWatchFaceDelayCheckWatchHealth => |
| 727 | + '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。'; | ||
| 673 | 728 | ||
| 674 | @override | 729 | @override |
| 675 | - String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。'; | 730 | + String get todayFaqWatchFaceDelayCheckBackgroundRefresh => |
| 731 | + '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。'; | ||
| 676 | 732 | ||
| 677 | @override | 733 | @override |
| 678 | - String get todayFaqWatchFaceDelayRestartWatch => '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。'; | 734 | + String get todayFaqWatchFaceDelayRestartWatch => |
| 735 | + '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。'; | ||
| 679 | 736 | ||
| 680 | @override | 737 | @override |
| 681 | String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?'; | 738 | String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?'; |
| 682 | 739 | ||
| 683 | @override | 740 | @override |
| 684 | - String get todayFaqWatchFaceBlackScreenDescription => '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。'; | 741 | + String get todayFaqWatchFaceBlackScreenDescription => |
| 742 | + '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。'; | ||
| 685 | 743 | ||
| 686 | @override | 744 | @override |
| 687 | String get today => '今天'; | 745 | String get today => '今天'; |
| @@ -765,7 +823,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -765,7 +823,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 765 | String get questionsAndFeedback => '问题和反馈'; | 823 | String get questionsAndFeedback => '问题和反馈'; |
| 766 | 824 | ||
| 767 | @override | 825 | @override |
| 768 | - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => '如果需要我们回复,请填写联系邮箱'; | 826 | + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => |
| 827 | + '如果需要我们回复,请填写联系邮箱'; | ||
| 769 | 828 | ||
| 770 | @override | 829 | @override |
| 771 | String get uploadProof => '上传凭证'; | 830 | String get uploadProof => '上传凭证'; |
| @@ -1165,7 +1224,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1165,7 +1224,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1165 | String get sleepLowest => '最低'; | 1224 | String get sleepLowest => '最低'; |
| 1166 | 1225 | ||
| 1167 | @override | 1226 | @override |
| 1168 | - String get sleepQualityDescription => 'DoubleFeel 会根据你的睡眠时长、睡眠阶段、深度睡眠与恢复状态、夜间心率与 HRV 变化等综合生成当天的睡眠质量评分。\n该评分能够帮助你更直观地了解身体恢复状态与睡眠表现。'; | 1227 | + String get sleepQualityDescription => |
| 1228 | + 'DoubleFeel 会根据你的睡眠时长、睡眠阶段、深度睡眠与恢复状态、夜间心率与 HRV 变化等综合生成当天的睡眠质量评分。\n该评分能够帮助你更直观地了解身体恢复状态与睡眠表现。'; | ||
| 1169 | 1229 | ||
| 1170 | @override | 1230 | @override |
| 1171 | String get sleepQualityAttentionRange => '<60分'; | 1231 | String get sleepQualityAttentionRange => '<60分'; |
| @@ -1317,7 +1377,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1317,7 +1377,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1317 | String get premiumActivatedTitle => '恭喜你已开通 DoubleFeel Pro'; | 1377 | String get premiumActivatedTitle => '恭喜你已开通 DoubleFeel Pro'; |
| 1318 | 1378 | ||
| 1319 | @override | 1379 | @override |
| 1320 | - String get premiumActivatedDescription => '你现在可以实时监测压力、睡眠与 HRV,养成健康生活习惯,同时把关心分享给亲密联系人,让重要的人及时了解你的状态。'; | 1380 | + String get premiumActivatedDescription => |
| 1381 | + '你现在可以实时监测压力、睡眠与 HRV,养成健康生活习惯,同时把关心分享给亲密联系人,让重要的人及时了解你的状态。'; | ||
| 1321 | 1382 | ||
| 1322 | @override | 1383 | @override |
| 1323 | String get premiumActivatedContinue => '继续'; | 1384 | String get premiumActivatedContinue => '继续'; |
| @@ -1418,7 +1479,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1418,7 +1479,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1418 | String get purchaseNotesTitle => '说明'; | 1479 | String get purchaseNotesTitle => '说明'; |
| 1419 | 1480 | ||
| 1420 | @override | 1481 | @override |
| 1421 | - String get purchaseNoteSubscription => '确认购买并支付后,将通过您的 iTunes 账号自动续订。苹果 iTunes 账户会在到期前24小时内扣费,扣费成功后订阅周期顺延一个订阅周期。如需取消续订,请在当前订阅周期到期前24小时以前,手动在 iTunes/Apple ID 设置管理中关闭自动续费功能。本服务由您自主选择是否取消,若您选择不取消,将为您开通下个计费周期的续费服务。\n\nDoubleFeel Pro 会员属于虚拟物品,购买后,除 App Store 渠道退款外,不支持其他形式退款。如有需要,可以点击了解更多。'; | 1482 | + String get purchaseNoteSubscription => |
| 1483 | + '确认购买并支付后,将通过您的 iTunes 账号自动续订。苹果 iTunes 账户会在到期前24小时内扣费,扣费成功后订阅周期顺延一个订阅周期。如需取消续订,请在当前订阅周期到期前24小时以前,手动在 iTunes/Apple ID 设置管理中关闭自动续费功能。本服务由您自主选择是否取消,若您选择不取消,将为您开通下个计费周期的续费服务。\n\nDoubleFeel Pro 会员属于虚拟物品,购买后,除 App Store 渠道退款外,不支持其他形式退款。如有需要,可以点击了解更多。'; | ||
| 1422 | 1484 | ||
| 1423 | @override | 1485 | @override |
| 1424 | String get purchaseNoteRestore => '如果购买后未生效,请点击恢复购买。'; | 1486 | String get purchaseNoteRestore => '如果购买后未生效,请点击恢复购买。'; |
| @@ -1436,7 +1498,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1436,7 +1498,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1436 | String get refundAppStoreReviewTitle => '退款由 App Store 审核处理'; | 1498 | String get refundAppStoreReviewTitle => '退款由 App Store 审核处理'; |
| 1437 | 1499 | ||
| 1438 | @override | 1500 | @override |
| 1439 | - String get refundAppStoreReviewDescription => '所有订阅与虚拟商品均通过 App Store 官方支付系统完成,DoubleFeel 无法直接处理付款或退款。'; | 1501 | + String get refundAppStoreReviewDescription => |
| 1502 | + '所有订阅与虚拟商品均通过 App Store 官方支付系统完成,DoubleFeel 无法直接处理付款或退款。'; | ||
| 1440 | 1503 | ||
| 1441 | @override | 1504 | @override |
| 1442 | String get refundAppleRulesIntroduction => '根据 Apple 的平台规则:'; | 1505 | String get refundAppleRulesIntroduction => '根据 Apple 的平台规则:'; |
| @@ -1460,19 +1523,23 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1460,19 +1523,23 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1460 | String get refundMayBeRejectedTitle => 'App Store 可能拒绝退款申请'; | 1523 | String get refundMayBeRejectedTitle => 'App Store 可能拒绝退款申请'; |
| 1461 | 1524 | ||
| 1462 | @override | 1525 | @override |
| 1463 | - String get refundNoUnconditionalRefunds => '根据 Apple 的退款政策,App Store 并不支持所有情况下的无条件退款。'; | 1526 | + String get refundNoUnconditionalRefunds => |
| 1527 | + '根据 Apple 的退款政策,App Store 并不支持所有情况下的无条件退款。'; | ||
| 1464 | 1528 | ||
| 1465 | @override | 1529 | @override |
| 1466 | - String get refundAppleTermsDescription => '你在使用 App Store 时,已经同意 Apple 的相关服务条款与退款规则。https://www.apple.com/cn/legal/internet-services/itunes/'; | 1530 | + String get refundAppleTermsDescription => |
| 1531 | + '你在使用 App Store 时,已经同意 Apple 的相关服务条款与退款规则。https://www.apple.com/cn/legal/internet-services/itunes/'; | ||
| 1467 | 1532 | ||
| 1468 | @override | 1533 | @override |
| 1469 | - String get refundAppleReviewsCircumstances => '退款是否通过,将由 Apple 根据订单情况、账号记录与实际使用情况综合审核。'; | 1534 | + String get refundAppleReviewsCircumstances => |
| 1535 | + '退款是否通过,将由 Apple 根据订单情况、账号记录与实际使用情况综合审核。'; | ||
| 1470 | 1536 | ||
| 1471 | @override | 1537 | @override |
| 1472 | String get refundRejectionReasonsTitle => '哪些情况下可能被拒绝退款?'; | 1538 | String get refundRejectionReasonsTitle => '哪些情况下可能被拒绝退款?'; |
| 1473 | 1539 | ||
| 1474 | @override | 1540 | @override |
| 1475 | - String get refundRejectionReasonsIntroduction => 'App Store 可能会根据以下情况拒绝退款申请,包括但不限于:'; | 1541 | + String get refundRejectionReasonsIntroduction => |
| 1542 | + 'App Store 可能会根据以下情况拒绝退款申请,包括但不限于:'; | ||
| 1476 | 1543 | ||
| 1477 | @override | 1544 | @override |
| 1478 | String get refundReasonPurchaseTooOld => ' · 订单距离购买时间过久'; | 1545 | String get refundReasonPurchaseTooOld => ' · 订单距离购买时间过久'; |
| @@ -1505,19 +1572,23 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1505,19 +1572,23 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1505 | String get refundTryAgain => '如果你的退款申请被拒绝,可以尝试再次向 App Store 提交申请。'; | 1572 | String get refundTryAgain => '如果你的退款申请被拒绝,可以尝试再次向 App Store 提交申请。'; |
| 1506 | 1573 | ||
| 1507 | @override | 1574 | @override |
| 1508 | - String get refundFinalReview => '若再次被拒绝,则代表 App Store 已完成最终审核,我们与 Apple 客服均无法修改该结果。'; | 1575 | + String get refundFinalReview => |
| 1576 | + '若再次被拒绝,则代表 App Store 已完成最终审核,我们与 Apple 客服均无法修改该结果。'; | ||
| 1509 | 1577 | ||
| 1510 | @override | 1578 | @override |
| 1511 | - String get refundNoAlternativeChannel => 'DoubleFeel 也无法处理任何绕过 App Store 系统的退款请求。'; | 1579 | + String get refundNoAlternativeChannel => |
| 1580 | + 'DoubleFeel 也无法处理任何绕过 App Store 系统的退款请求。'; | ||
| 1512 | 1581 | ||
| 1513 | @override | 1582 | @override |
| 1514 | - String get refundMembershipCancellation => '退款成功后,你的 DoubleFeel Pro 会员权益也会同步取消。'; | 1583 | + String get refundMembershipCancellation => |
| 1584 | + '退款成功后,你的 DoubleFeel Pro 会员权益也会同步取消。'; | ||
| 1515 | 1585 | ||
| 1516 | @override | 1586 | @override |
| 1517 | String get refundHelpTitle => '如需帮助'; | 1587 | String get refundHelpTitle => '如需帮助'; |
| 1518 | 1588 | ||
| 1519 | @override | 1589 | @override |
| 1520 | - String get refundHelpDescription => '如果你对退款规则存在疑问,或遇到支付异常、重复扣费、订单未到账等问题,可以联系 DoubleFeel 支持团队,我们会尽力协助你处理。'; | 1590 | + String get refundHelpDescription => |
| 1591 | + '如果你对退款规则存在疑问,或遇到支付异常、重复扣费、订单未到账等问题,可以联系 DoubleFeel 支持团队,我们会尽力协助你处理。'; | ||
| 1521 | 1592 | ||
| 1522 | @override | 1593 | @override |
| 1523 | String get refundFaqTitle => 'DoubleFeel 常见问题'; | 1594 | String get refundFaqTitle => 'DoubleFeel 常见问题'; |
| @@ -1526,7 +1597,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1526,7 +1597,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1526 | String get appReviewPromptTitle => '喜欢 DoubleFeel 吗?'; | 1597 | String get appReviewPromptTitle => '喜欢 DoubleFeel 吗?'; |
| 1527 | 1598 | ||
| 1528 | @override | 1599 | @override |
| 1529 | - String get appReviewPromptMessage => '嗨~想知道 DoubleFeel 是否正在帮助你\n更了解自己的压力与睡眠状态 💜'; | 1600 | + String get appReviewPromptMessage => |
| 1601 | + '嗨~想知道 DoubleFeel 是否正在帮助你\n更了解自己的压力与睡眠状态 💜'; | ||
| 1530 | 1602 | ||
| 1531 | @override | 1603 | @override |
| 1532 | String get appReviewPromptLikeAction => '😍 很喜欢'; | 1604 | String get appReviewPromptLikeAction => '😍 很喜欢'; |
| @@ -1538,7 +1610,8 @@ class AppLocalizationsZh extends AppLocalizations { | @@ -1538,7 +1610,8 @@ class AppLocalizationsZh extends AppLocalizations { | ||
| 1538 | String get appReviewFeedbackTitle => '很抱歉 DoubleFeel 没有带\n给你好的体验'; | 1610 | String get appReviewFeedbackTitle => '很抱歉 DoubleFeel 没有带\n给你好的体验'; |
| 1539 | 1611 | ||
| 1540 | @override | 1612 | @override |
| 1541 | - String get appReviewFeedbackMessage => '愿意告诉我们遇到了什么问题吗?\n你的反馈可以帮助我们持续改进压力与健康体验 💜'; | 1613 | + String get appReviewFeedbackMessage => |
| 1614 | + '愿意告诉我们遇到了什么问题吗?\n你的反馈可以帮助我们持续改进压力与健康体验 💜'; | ||
| 1542 | 1615 | ||
| 1543 | @override | 1616 | @override |
| 1544 | String get appReviewFeedbackSendAction => '发送反馈'; | 1617 | String get appReviewFeedbackSendAction => '发送反馈'; |
| @@ -133,10 +133,10 @@ packages: | @@ -133,10 +133,10 @@ packages: | ||
| 133 | dependency: transitive | 133 | dependency: transitive |
| 134 | description: | 134 | description: |
| 135 | name: characters | 135 | name: characters |
| 136 | - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" | 136 | + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 |
| 137 | url: "https://pub.dev" | 137 | url: "https://pub.dev" |
| 138 | source: hosted | 138 | source: hosted |
| 139 | - version: "1.3.0" | 139 | + version: "1.4.0" |
| 140 | checked_yaml: | 140 | checked_yaml: |
| 141 | dependency: transitive | 141 | dependency: transitive |
| 142 | description: | 142 | description: |
| @@ -149,10 +149,10 @@ packages: | @@ -149,10 +149,10 @@ packages: | ||
| 149 | dependency: transitive | 149 | dependency: transitive |
| 150 | description: | 150 | description: |
| 151 | name: clock | 151 | name: clock |
| 152 | - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf | 152 | + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b |
| 153 | url: "https://pub.dev" | 153 | url: "https://pub.dev" |
| 154 | source: hosted | 154 | source: hosted |
| 155 | - version: "1.1.1" | 155 | + version: "1.1.2" |
| 156 | code_builder: | 156 | code_builder: |
| 157 | dependency: transitive | 157 | dependency: transitive |
| 158 | description: | 158 | description: |
| @@ -165,10 +165,10 @@ packages: | @@ -165,10 +165,10 @@ packages: | ||
| 165 | dependency: transitive | 165 | dependency: transitive |
| 166 | description: | 166 | description: |
| 167 | name: collection | 167 | name: collection |
| 168 | - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf | 168 | + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" |
| 169 | url: "https://pub.dev" | 169 | url: "https://pub.dev" |
| 170 | source: hosted | 170 | source: hosted |
| 171 | - version: "1.19.0" | 171 | + version: "1.19.1" |
| 172 | convert: | 172 | convert: |
| 173 | dependency: transitive | 173 | dependency: transitive |
| 174 | description: | 174 | description: |
| @@ -237,10 +237,10 @@ packages: | @@ -237,10 +237,10 @@ packages: | ||
| 237 | dependency: transitive | 237 | dependency: transitive |
| 238 | description: | 238 | description: |
| 239 | name: fake_async | 239 | name: fake_async |
| 240 | - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" | 240 | + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" |
| 241 | url: "https://pub.dev" | 241 | url: "https://pub.dev" |
| 242 | source: hosted | 242 | source: hosted |
| 243 | - version: "1.3.1" | 243 | + version: "1.3.3" |
| 244 | ffi: | 244 | ffi: |
| 245 | dependency: transitive | 245 | dependency: transitive |
| 246 | description: | 246 | description: |
| @@ -416,30 +416,27 @@ packages: | @@ -416,30 +416,27 @@ packages: | ||
| 416 | image_cropper: | 416 | image_cropper: |
| 417 | dependency: "direct main" | 417 | dependency: "direct main" |
| 418 | description: | 418 | description: |
| 419 | - path: image_cropper | ||
| 420 | - ref: "br_v9.1.0_ohos" | ||
| 421 | - resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb" | ||
| 422 | - url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" | ||
| 423 | - source: git | 419 | + name: image_cropper |
| 420 | + sha256: "4e9c96c029eb5a23798da1b6af39787f964da6ffc78fd8447c140542a9f7c6fc" | ||
| 421 | + url: "https://pub.dev" | ||
| 422 | + source: hosted | ||
| 424 | version: "9.1.0" | 423 | version: "9.1.0" |
| 425 | image_cropper_for_web: | 424 | image_cropper_for_web: |
| 426 | dependency: transitive | 425 | dependency: transitive |
| 427 | description: | 426 | description: |
| 428 | - path: image_cropper_for_web | ||
| 429 | - ref: "br_v9.1.0_ohos" | ||
| 430 | - resolved-ref: b1b45b1a5333571095569d53d01720c505fff983 | ||
| 431 | - url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" | ||
| 432 | - source: git | 427 | + name: image_cropper_for_web |
| 428 | + sha256: fd81ebe36f636576094377aab32673c4e5d1609b32dec16fad98d2b71f1250a9 | ||
| 429 | + url: "https://pub.dev" | ||
| 430 | + source: hosted | ||
| 433 | version: "6.1.0" | 431 | version: "6.1.0" |
| 434 | image_cropper_platform_interface: | 432 | image_cropper_platform_interface: |
| 435 | dependency: transitive | 433 | dependency: transitive |
| 436 | description: | 434 | description: |
| 437 | - path: image_cropper_platform_interface | ||
| 438 | - ref: "br_v9.1.0_ohos" | ||
| 439 | - resolved-ref: b1b45b1a5333571095569d53d01720c505fff983 | ||
| 440 | - url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" | ||
| 441 | - source: git | ||
| 442 | - version: "7.1.0" | 435 | + name: image_cropper_platform_interface |
| 436 | + sha256: "2d8db8f4b638e448fa89a1e77cd8f053b4547472bd3ae073169e86626d03afef" | ||
| 437 | + url: "https://pub.dev" | ||
| 438 | + source: hosted | ||
| 439 | + version: "7.2.0" | ||
| 443 | image_picker: | 440 | image_picker: |
| 444 | dependency: "direct main" | 441 | dependency: "direct main" |
| 445 | description: | 442 | description: |
| @@ -517,10 +514,10 @@ packages: | @@ -517,10 +514,10 @@ packages: | ||
| 517 | dependency: "direct main" | 514 | dependency: "direct main" |
| 518 | description: | 515 | description: |
| 519 | name: intl | 516 | name: intl |
| 520 | - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf | 517 | + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" |
| 521 | url: "https://pub.dev" | 518 | url: "https://pub.dev" |
| 522 | source: hosted | 519 | source: hosted |
| 523 | - version: "0.19.0" | 520 | + version: "0.20.2" |
| 524 | io: | 521 | io: |
| 525 | dependency: transitive | 522 | dependency: transitive |
| 526 | description: | 523 | description: |
| @@ -549,26 +546,26 @@ packages: | @@ -549,26 +546,26 @@ packages: | ||
| 549 | dependency: transitive | 546 | dependency: transitive |
| 550 | description: | 547 | description: |
| 551 | name: leak_tracker | 548 | name: leak_tracker |
| 552 | - sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" | 549 | + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" |
| 553 | url: "https://pub.dev" | 550 | url: "https://pub.dev" |
| 554 | source: hosted | 551 | source: hosted |
| 555 | - version: "10.0.7" | 552 | + version: "11.0.2" |
| 556 | leak_tracker_flutter_testing: | 553 | leak_tracker_flutter_testing: |
| 557 | dependency: transitive | 554 | dependency: transitive |
| 558 | description: | 555 | description: |
| 559 | name: leak_tracker_flutter_testing | 556 | name: leak_tracker_flutter_testing |
| 560 | - sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" | 557 | + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" |
| 561 | url: "https://pub.dev" | 558 | url: "https://pub.dev" |
| 562 | source: hosted | 559 | source: hosted |
| 563 | - version: "3.0.8" | 560 | + version: "3.0.10" |
| 564 | leak_tracker_testing: | 561 | leak_tracker_testing: |
| 565 | dependency: transitive | 562 | dependency: transitive |
| 566 | description: | 563 | description: |
| 567 | name: leak_tracker_testing | 564 | name: leak_tracker_testing |
| 568 | - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" | 565 | + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" |
| 569 | url: "https://pub.dev" | 566 | url: "https://pub.dev" |
| 570 | source: hosted | 567 | source: hosted |
| 571 | - version: "3.0.1" | 568 | + version: "3.0.2" |
| 572 | lints: | 569 | lints: |
| 573 | dependency: transitive | 570 | dependency: transitive |
| 574 | description: | 571 | description: |
| @@ -597,10 +594,10 @@ packages: | @@ -597,10 +594,10 @@ packages: | ||
| 597 | dependency: transitive | 594 | dependency: transitive |
| 598 | description: | 595 | description: |
| 599 | name: matcher | 596 | name: matcher |
| 600 | - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb | 597 | + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 |
| 601 | url: "https://pub.dev" | 598 | url: "https://pub.dev" |
| 602 | source: hosted | 599 | source: hosted |
| 603 | - version: "0.12.16+1" | 600 | + version: "0.12.17" |
| 604 | material_color_utilities: | 601 | material_color_utilities: |
| 605 | dependency: transitive | 602 | dependency: transitive |
| 606 | description: | 603 | description: |
| @@ -613,10 +610,10 @@ packages: | @@ -613,10 +610,10 @@ packages: | ||
| 613 | dependency: transitive | 610 | dependency: transitive |
| 614 | description: | 611 | description: |
| 615 | name: meta | 612 | name: meta |
| 616 | - sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 | 613 | + sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" |
| 617 | url: "https://pub.dev" | 614 | url: "https://pub.dev" |
| 618 | source: hosted | 615 | source: hosted |
| 619 | - version: "1.15.0" | 616 | + version: "1.17.0" |
| 620 | mime: | 617 | mime: |
| 621 | dependency: transitive | 618 | dependency: transitive |
| 622 | description: | 619 | description: |
| @@ -645,10 +642,10 @@ packages: | @@ -645,10 +642,10 @@ packages: | ||
| 645 | dependency: transitive | 642 | dependency: transitive |
| 646 | description: | 643 | description: |
| 647 | name: path | 644 | name: path |
| 648 | - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" | 645 | + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" |
| 649 | url: "https://pub.dev" | 646 | url: "https://pub.dev" |
| 650 | source: hosted | 647 | source: hosted |
| 651 | - version: "1.9.0" | 648 | + version: "1.9.1" |
| 652 | path_provider: | 649 | path_provider: |
| 653 | dependency: "direct overridden" | 650 | dependency: "direct overridden" |
| 654 | description: | 651 | description: |
| @@ -832,7 +829,7 @@ packages: | @@ -832,7 +829,7 @@ packages: | ||
| 832 | dependency: transitive | 829 | dependency: transitive |
| 833 | description: | 830 | description: |
| 834 | path: "packages/share_plus/share_plus_platform_interface" | 831 | path: "packages/share_plus/share_plus_platform_interface" |
| 835 | - ref: "br_share_plus-v10.1.1_ohos" | 832 | + ref: "55de300a8627c55cd45ac86e6a26bcae8e0ca4cf" |
| 836 | resolved-ref: "55de300a8627c55cd45ac86e6a26bcae8e0ca4cf" | 833 | resolved-ref: "55de300a8627c55cd45ac86e6a26bcae8e0ca4cf" |
| 837 | url: "https://gitcode.com/CPF-Flutter/flutter_plus_plugins.git" | 834 | url: "https://gitcode.com/CPF-Flutter/flutter_plus_plugins.git" |
| 838 | source: git | 835 | source: git |
| @@ -984,18 +981,18 @@ packages: | @@ -984,18 +981,18 @@ packages: | ||
| 984 | dependency: transitive | 981 | dependency: transitive |
| 985 | description: | 982 | description: |
| 986 | name: stack_trace | 983 | name: stack_trace |
| 987 | - sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" | 984 | + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" |
| 988 | url: "https://pub.dev" | 985 | url: "https://pub.dev" |
| 989 | source: hosted | 986 | source: hosted |
| 990 | - version: "1.12.0" | 987 | + version: "1.12.1" |
| 991 | stream_channel: | 988 | stream_channel: |
| 992 | dependency: transitive | 989 | dependency: transitive |
| 993 | description: | 990 | description: |
| 994 | name: stream_channel | 991 | name: stream_channel |
| 995 | - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 | 992 | + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" |
| 996 | url: "https://pub.dev" | 993 | url: "https://pub.dev" |
| 997 | source: hosted | 994 | source: hosted |
| 998 | - version: "2.1.2" | 995 | + version: "2.1.4" |
| 999 | stream_transform: | 996 | stream_transform: |
| 1000 | dependency: transitive | 997 | dependency: transitive |
| 1001 | description: | 998 | description: |
| @@ -1024,10 +1021,10 @@ packages: | @@ -1024,10 +1021,10 @@ packages: | ||
| 1024 | dependency: "direct main" | 1021 | dependency: "direct main" |
| 1025 | description: | 1022 | description: |
| 1026 | name: table_calendar | 1023 | name: table_calendar |
| 1027 | - sha256: b2896b7c86adf3a4d9c911d860120fe3dbe03c85db43b22fd61f14ee78cdbb63 | 1024 | + sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982" |
| 1028 | url: "https://pub.dev" | 1025 | url: "https://pub.dev" |
| 1029 | source: hosted | 1026 | source: hosted |
| 1030 | - version: "3.1.3" | 1027 | + version: "3.2.0" |
| 1031 | term_glyph: | 1028 | term_glyph: |
| 1032 | dependency: transitive | 1029 | dependency: transitive |
| 1033 | description: | 1030 | description: |
| @@ -1040,10 +1037,10 @@ packages: | @@ -1040,10 +1037,10 @@ packages: | ||
| 1040 | dependency: transitive | 1037 | dependency: transitive |
| 1041 | description: | 1038 | description: |
| 1042 | name: test_api | 1039 | name: test_api |
| 1043 | - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" | 1040 | + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 |
| 1044 | url: "https://pub.dev" | 1041 | url: "https://pub.dev" |
| 1045 | source: hosted | 1042 | source: hosted |
| 1046 | - version: "0.7.3" | 1043 | + version: "0.7.7" |
| 1047 | timing: | 1044 | timing: |
| 1048 | dependency: transitive | 1045 | dependency: transitive |
| 1049 | description: | 1046 | description: |
| @@ -1104,10 +1101,18 @@ packages: | @@ -1104,10 +1101,18 @@ packages: | ||
| 1104 | dependency: transitive | 1101 | dependency: transitive |
| 1105 | description: | 1102 | description: |
| 1106 | name: vector_math | 1103 | name: vector_math |
| 1107 | - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" | 1104 | + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b |
| 1108 | url: "https://pub.dev" | 1105 | url: "https://pub.dev" |
| 1109 | source: hosted | 1106 | source: hosted |
| 1110 | - version: "2.1.4" | 1107 | + version: "2.2.0" |
| 1108 | + video_thumbnail: | ||
| 1109 | + dependency: "direct main" | ||
| 1110 | + description: | ||
| 1111 | + name: video_thumbnail | ||
| 1112 | + sha256: "181a0c205b353918954a881f53a3441476b9e301641688a581e0c13f00dc588b" | ||
| 1113 | + url: "https://pub.dev" | ||
| 1114 | + source: hosted | ||
| 1115 | + version: "0.5.6" | ||
| 1111 | vm_service: | 1116 | vm_service: |
| 1112 | dependency: transitive | 1117 | dependency: transitive |
| 1113 | description: | 1118 | description: |
| @@ -1161,8 +1166,8 @@ packages: | @@ -1161,8 +1166,8 @@ packages: | ||
| 1161 | dependency: transitive | 1166 | dependency: transitive |
| 1162 | description: | 1167 | description: |
| 1163 | path: "packages/webview_flutter/webview_flutter_android" | 1168 | path: "packages/webview_flutter/webview_flutter_android" |
| 1164 | - ref: "br_webview_flutter-v4.13.0_ohos" | ||
| 1165 | - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 | 1169 | + ref: de942e79c9057b32ad31106508bd87c0d60aef83 |
| 1170 | + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 | ||
| 1166 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" | 1171 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" |
| 1167 | source: git | 1172 | source: git |
| 1168 | version: "4.7.0" | 1173 | version: "4.7.0" |
| @@ -1170,8 +1175,8 @@ packages: | @@ -1170,8 +1175,8 @@ packages: | ||
| 1170 | dependency: transitive | 1175 | dependency: transitive |
| 1171 | description: | 1176 | description: |
| 1172 | path: "packages/webview_flutter/webview_flutter_ohos" | 1177 | path: "packages/webview_flutter/webview_flutter_ohos" |
| 1173 | - ref: "br_webview_flutter-v4.13.0_ohos" | ||
| 1174 | - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 | 1178 | + ref: de942e79c9057b32ad31106508bd87c0d60aef83 |
| 1179 | + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 | ||
| 1175 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" | 1180 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" |
| 1176 | source: git | 1181 | source: git |
| 1177 | version: "4.7.0" | 1182 | version: "4.7.0" |
| @@ -1179,8 +1184,8 @@ packages: | @@ -1179,8 +1184,8 @@ packages: | ||
| 1179 | dependency: transitive | 1184 | dependency: transitive |
| 1180 | description: | 1185 | description: |
| 1181 | path: "packages/webview_flutter/webview_flutter_platform_interface" | 1186 | path: "packages/webview_flutter/webview_flutter_platform_interface" |
| 1182 | - ref: "br_webview_flutter-v4.13.0_ohos" | ||
| 1183 | - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 | 1187 | + ref: de942e79c9057b32ad31106508bd87c0d60aef83 |
| 1188 | + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 | ||
| 1184 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" | 1189 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" |
| 1185 | source: git | 1190 | source: git |
| 1186 | version: "2.13.1" | 1191 | version: "2.13.1" |
| @@ -1188,8 +1193,8 @@ packages: | @@ -1188,8 +1193,8 @@ packages: | ||
| 1188 | dependency: transitive | 1193 | dependency: transitive |
| 1189 | description: | 1194 | description: |
| 1190 | path: "packages/webview_flutter/webview_flutter_wkwebview" | 1195 | path: "packages/webview_flutter/webview_flutter_wkwebview" |
| 1191 | - ref: "br_webview_flutter-v4.13.0_ohos" | ||
| 1192 | - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 | 1196 | + ref: de942e79c9057b32ad31106508bd87c0d60aef83 |
| 1197 | + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 | ||
| 1193 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" | 1198 | url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" |
| 1194 | source: git | 1199 | source: git |
| 1195 | version: "3.22.0" | 1200 | version: "3.22.0" |
| @@ -1218,5 +1223,5 @@ packages: | @@ -1218,5 +1223,5 @@ packages: | ||
| 1218 | source: hosted | 1223 | source: hosted |
| 1219 | version: "3.1.3" | 1224 | version: "3.1.3" |
| 1220 | sdks: | 1225 | sdks: |
| 1221 | - dart: ">=3.6.2 <4.0.0" | 1226 | + dart: ">=3.8.0-0 <4.0.0" |
| 1222 | flutter: ">=3.27.0" | 1227 | flutter: ">=3.27.0" |
| @@ -31,11 +31,12 @@ dependencies: | @@ -31,11 +31,12 @@ dependencies: | ||
| 31 | git: | 31 | git: |
| 32 | url: https://gitcode.com/openharmony-sig/flutter_packages.git | 32 | url: https://gitcode.com/openharmony-sig/flutter_packages.git |
| 33 | path: packages/image_picker/image_picker_ohos | 33 | path: packages/image_picker/image_picker_ohos |
| 34 | - image_cropper: | ||
| 35 | - git: | ||
| 36 | - url: https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git | ||
| 37 | - path: ./image_cropper | ||
| 38 | - ref: br_v9.1.0_ohos | 34 | + image_cropper: 9.1.0 |
| 35 | + # image_cropper: | ||
| 36 | + # git: | ||
| 37 | + # url: https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git | ||
| 38 | + # path: ./image_cropper | ||
| 39 | + # ref: br_v9.1.0_ohos | ||
| 39 | permission_handler: ^11.3.1 | 40 | permission_handler: ^11.3.1 |
| 40 | permission_handler_ohos: | 41 | permission_handler_ohos: |
| 41 | git: | 42 | git: |
| @@ -47,6 +48,7 @@ dependencies: | @@ -47,6 +48,7 @@ dependencies: | ||
| 47 | url: https://gitcode.com/CPF-Flutter/flutter_plus_plugins.git | 48 | url: https://gitcode.com/CPF-Flutter/flutter_plus_plugins.git |
| 48 | path: packages/share_plus/share_plus | 49 | path: packages/share_plus/share_plus |
| 49 | ref: br_share_plus-v10.1.1_ohos | 50 | ref: br_share_plus-v10.1.1_ohos |
| 51 | + video_thumbnail: ^0.5.3 | ||
| 50 | table_calendar: ^3.1.3 | 52 | table_calendar: ^3.1.3 |
| 51 | fluttertoast: ^8.2.2 | 53 | fluttertoast: ^8.2.2 |
| 52 | flutter_localizations: | 54 | flutter_localizations: |
| @@ -83,3 +85,4 @@ flutter: | @@ -83,3 +85,4 @@ flutter: | ||
| 83 | - assets/images/my/ | 85 | - assets/images/my/ |
| 84 | - assets/images/permission/ | 86 | - assets/images/permission/ |
| 85 | - assets/images/watch_theme/ | 87 | - assets/images/watch_theme/ |
| 88 | + - assets/images/user_onboarding/ |
-
Please register or login to post a comment