89 changed files with 1621 additions and 509 deletions
-
6android/app/src/main/AndroidManifest.xml
-
BINassets/audios/incorrect_answers/ar_1.mp3
-
BINassets/audios/incorrect_answers/ar_2.mp3
-
BINassets/audios/incorrect_answers/ar_3.mp3
-
BINassets/audios/incorrect_answers/ar_4.mp3
-
BINassets/audios/incorrect_answers/ar_5.mp3
-
BINassets/audios/incorrect_answers/en_1.mp3
-
BINassets/audios/incorrect_answers/en_2.mp3
-
BINassets/audios/incorrect_answers/en_3.mp3
-
BINassets/audios/incorrect_answers/en_4.mp3
-
BINassets/audios/incorrect_answers/fa_1.mp3
-
BINassets/audios/incorrect_answers/fa_2.mp3
-
BINassets/audios/incorrect_answers/fa_3.mp3
-
BINassets/audios/incorrect_answers/fa_4.mp3
-
BINassets/audios/incorrect_answers/fa_5.mp3
-
BINassets/audios/incorrect_answers/fa_6.mp3
-
BINassets/audios/incorrect_answers/incorrect_answer.mp3
-
BINassets/fonts/NotoSansArabic.ttf
-
26assets/svg/button_3.5.svg
-
219assets/svg/lock.svg
-
2lib/common_ui/resources/my_assets.dart
-
43lib/common_ui/resources/my_audios.dart
-
135lib/common_ui/resources/my_text_style.dart
-
10lib/core/middlewares/my_middlewares.dart
-
3lib/core/network/interceptors/logging_interceptor.dart
-
5lib/core/params/level_params.dart
-
3lib/core/routers/my_routes.dart
-
7lib/core/services/audio_service.dart
-
3lib/core/utils/app_life_cycle.dart
-
18lib/core/utils/my_device.dart
-
16lib/core/utils/screen_size.dart
-
4lib/core/widgets/animations/fade_anim.dart
-
4lib/core/widgets/animations/fade_anim_delayed.dart
-
8lib/core/widgets/animations/slide_anim.dart
-
4lib/core/widgets/animations/slide_down_fade.dart
-
4lib/core/widgets/animations/slide_up_fade.dart
-
4lib/core/widgets/answer_box/answer_box.dart
-
19lib/core/widgets/answer_box/answer_box_show.dart
-
11lib/core/widgets/answer_box/styles/text_box.dart
-
13lib/core/widgets/button/my_blue_button.dart
-
4lib/core/widgets/button/my_white_button.dart
-
48lib/core/widgets/dialog/hadith_dialog.dart
-
25lib/core/widgets/dialog/reward_dialog.dart
-
11lib/core/widgets/error/error_state.dart
-
28lib/core/widgets/page_transition/my_page_transition.dart
-
42lib/core/widgets/video/my_video_player.dart
-
14lib/features/download/presentation/ui/download_page.dart
-
13lib/features/guider/presentation/ui/guider_page.dart
-
107lib/features/home/presentation/ui/home_page.dart
-
75lib/features/home/presentation/ui/widgets/payment_dialog.dart
-
8lib/features/language/data/repository_impl/language_repository_impl.dart
-
137lib/features/language/presentation/ui/language_page.dart
-
56lib/features/level/data/datasource/level_datasource.dart
-
5lib/features/level/domain/entity/node_entity.dart
-
5lib/features/level/domain/entity/node_entity.g.dart
-
52lib/features/level/presentation/bloc/level_bloc.dart
-
37lib/features/level/presentation/ui/level_page.dart
-
41lib/features/level/presentation/ui/widgets/coming_soon_level.dart
-
2lib/features/level/presentation/ui/widgets/level_path.dart
-
44lib/features/level/presentation/ui/widgets/node_widget.dart
-
16lib/features/level/presentation/ui/widgets/play_button.dart
-
2lib/features/question/data/model/hadith_model.dart
-
7lib/features/question/domain/entity/answer_entity.g.dart
-
3lib/features/question/domain/entity/hadith_entity.dart
-
2lib/features/question/domain/entity/question_entity.dart
-
7lib/features/question/domain/entity/question_entity.g.dart
-
77lib/features/question/presentation/bloc/question_bloc.dart
-
26lib/features/question/presentation/ui/question_page.dart
-
1lib/features/question/presentation/ui/screens/answer_screen.dart
-
14lib/features/question/presentation/ui/screens/diamond_screen.dart
-
56lib/features/question/presentation/ui/screens/question_screen.dart
-
2lib/features/splash/presentation/bloc/splash_bloc.dart
-
23lib/features/splash/presentation/ui/splash_page.dart
-
107lib/init_bindings.dart
-
3lib/l10n/app_ar.arb
-
3lib/l10n/app_de.arb
-
4lib/l10n/app_en.arb
-
3lib/l10n/app_fr.arb
-
12lib/l10n/app_localizations.dart
-
6lib/l10n/app_localizations_ar.dart
-
6lib/l10n/app_localizations_de.dart
-
6lib/l10n/app_localizations_en.dart
-
6lib/l10n/app_localizations_fr.dart
-
6lib/l10n/app_localizations_ru.dart
-
6lib/l10n/app_localizations_tr.dart
-
3lib/l10n/app_ru.arb
-
3lib/l10n/app_tr.arb
-
7pubspec.yaml
@ -0,0 +1,26 @@ |
|||
<svg width="167" height="93" viewBox="0 0 167 93" fill="none" xmlns="http://www.w3.org/2000/svg"> |
|||
<g filter="url(#filter0_d_138_2505)"> |
|||
<path d="M158.295 75.4722C158.141 75.6483 157.976 75.812 157.8 75.9622C143.895 88.3956 23.2313 87.9564 6.39091 76.7899C5.65757 76.3688 5.04727 75.7307 4.62962 74.9486C-1.3186 61.4339 1.91044 20.586 11.3658 11.7508C21.5319 2.29052 142.876 -2.00037 155.421 10.0614C164.675 18.8628 169.063 63.1064 158.295 75.4722Z" fill="url(#paint0_linear_138_2505)"/> |
|||
</g> |
|||
<path d="M4.67588 72.2628C10.4233 85.3551 146.444 86.4025 158.295 72.8034C169.11 60.4375 164.675 16.1771 155.467 7.35883C142.922 -4.66919 21.5781 -0.395189 11.4275 9.04816C1.95668 17.8665 -1.27235 58.7144 4.67588 72.2628Z" fill="url(#paint1_linear_138_2505)"/> |
|||
<defs> |
|||
<filter id="filter0_d_138_2505" x="-0.00141752" y="2.68311" width="166.237" height="90.2875" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> |
|||
<feFlood flood-opacity="0" result="BackgroundImageFix"/> |
|||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/> |
|||
<feOffset dy="6.11371"/> |
|||
<feGaussianBlur stdDeviation="0.815162"/> |
|||
<feComposite in2="hardAlpha" operator="out"/> |
|||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/> |
|||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_138_2505"/> |
|||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_138_2505" result="shape"/> |
|||
</filter> |
|||
<linearGradient id="paint0_linear_138_2505" x1="83.1462" y1="85.2366" x2="83.1462" y2="2.67907" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#8B9AD1"/> |
|||
<stop offset="1" stop-color="#CEE0FF"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint1_linear_138_2505" x1="83.1461" y1="82.5509" x2="83.1461" y2="-0.00664309" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#CADCFF"/> |
|||
<stop offset="1" stop-color="white"/> |
|||
</linearGradient> |
|||
</defs> |
|||
</svg> |
|||
@ -0,0 +1,219 @@ |
|||
<svg width="79" height="92" viewBox="0 0 79 92" fill="none" xmlns="http://www.w3.org/2000/svg"> |
|||
<g clip-path="url(#clip0_1_21189)"> |
|||
<path d="M68.8871 37.8113C68.8871 37.8113 62.2779 37.7755 57.504 37.9663C52.1068 38.8674 46.8138 40.309 41.705 42.2693C41.705 42.2693 41.0258 47.7374 35.7553 49.4767L34.1695 45.5591C34.1695 45.5591 29.3646 45.7743 23.5978 46.3813C23.5978 46.3813 14.3602 50.3415 9.93615 52.9584L14.1665 57.3415L61.2053 46.8176L68.8871 37.8113Z" fill="#8B6ED1"/> |
|||
<path d="M16.5965 51.9352C16.2293 52.0658 11.2738 52.6591 11.0024 52.5067C10.731 52.3542 20.8189 47.7855 22.9143 47.1222C24.7959 46.5215 30.516 45.9002 31.5872 45.9563C32.0762 45.9807 17.9202 51.4733 16.5965 51.9352Z" fill="#B6D3FF"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M25.0028 47.4523C26.1584 47.0033 28.5951 46.6935 22.8118 49.3797C18.7798 51.2589 14.3425 52.2656 13.8586 52.1003C13.1408 51.8424 21.8006 48.7071 25.0028 47.4523Z" fill="#912790"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M59.7212 38.0698C61.8301 37.8372 62.9853 37.8868 62.2849 38.2139C61.5844 38.541 49.6974 40.6967 49.5738 40.2152C49.4501 39.7337 57.097 38.3602 59.7212 38.0698Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M19.2982 53.7255L10.9023 54.1846C10.9023 54.1846 21.6445 76.2677 24.9676 79.366C28.2908 82.4643 39.656 83.0431 40.7587 82.9567C43.8613 82.7312 52.8156 82.2351 52.8156 82.2351L43.7869 57.023L19.2982 53.7255Z" fill="url(#paint0_linear_1_21189)"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M31.5612 77.278C31.7622 78.0283 24.7814 78.8266 24.1502 78.1915C23.519 77.5565 14.6906 61.335 14.7349 60.46C14.7792 59.5849 21.1157 59.7635 21.5597 60.6203C22.0037 61.477 31.3457 76.494 31.5612 77.278Z" fill="#6E5066"/> |
|||
</g> |
|||
<path d="M19.2981 53.7251L32.8659 47.3179C36.4967 52.7248 43.6725 52.3943 43.6725 52.3943L45.1331 52.0029C45.1331 52.0029 51.4662 48.5475 51.7342 42.0048L67.0156 40.3119C67.7031 42.1972 69.3051 66.0432 67.9701 68.5239C66.6351 71.0046 55.1836 81.2087 53.0023 82.2114L52.8222 82.2596C50.4217 82.4847 35.3495 79.4358 33.0118 78.0143C30.674 76.5927 19.7014 55.6703 19.2981 53.7251Z" fill="url(#paint1_linear_1_21189)"/> |
|||
<path d="M64.6999 68.1995C63.6256 69.4524 54.0314 78.7246 51.3653 79.4389C50.0598 79.7887 35.9425 76.9022 33.8625 74.8219C31.7825 72.7415 26.0562 60.6746 26.324 60.3134C26.5917 59.9521 63.9523 49.743 64.7482 50.3125C65.5441 50.8819 65.3864 67.4205 64.6999 68.1995Z" fill="url(#paint2_linear_1_21189)"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M62.1069 66.5297C61.5228 68.9915 33.5702 71.2542 32.394 70.406C31.2178 69.5578 27.7736 63.3665 28.5412 62.0296C29.3088 60.6927 57.6065 48.0333 60.4502 50.2629C63.294 52.4924 62.5969 64.5167 62.1069 66.5297Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M62.8623 68.7027C61.8853 69.8384 53.7003 78.1272 49.964 79.3695C50.438 79.418 50.9144 79.4389 51.3908 79.4322C54.0519 78.7192 63.6461 69.447 64.7203 68.1941C65.3869 67.4204 65.628 50.9132 64.7536 50.3111C64.1701 49.8939 43.6897 55.3333 32.8975 58.3537C43.9915 55.2792 62.3514 50.4294 62.9086 50.8484C63.7763 51.4254 63.5539 67.9223 62.8623 68.7027Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M40.1705 82.9916C37.9683 80.5151 34.7739 78.4975 33.1846 78.9287C31.5953 79.3599 28.4821 80.0065 26.7172 79.702C24.9522 79.3976 17.7117 66.1013 17.6863 65.7864C17.6609 65.4715 24.3348 66.589 25.1781 66.615C25.4696 66.6227 28.8836 66.2387 28.8836 66.2387L29.4788 67.4195C29.4788 67.4195 34.2652 66.2549 34.5809 66.0524C35.1441 65.6334 35.251 60.19 44.5221 56.8748C50.6506 54.6966 57.8413 59.8841 57.8413 59.8841C57.8413 59.8841 61.5841 59.6264 63.4543 58.6428C63.7269 58.5001 65.1071 56.3879 65.3798 56.2451L68.2611 54.7332L68.0778 51.8284C68.0778 51.8284 53.9025 50.9463 44.6803 53.5836C35.4581 56.2209 15.4798 63.3539 15.4798 63.3539C15.4798 63.3539 22.4934 77.4241 25.1602 79.5938C27.8271 81.7635 30.5451 81.8233 33.9588 82.5384C36.0003 82.9628 38.089 83.1152 40.1705 82.9916Z" fill="#6E5066"/> |
|||
</g> |
|||
<path d="M59.8543 57.0335L57.0758 56.6683C57.0758 56.6683 53.6487 54.7827 48.5264 55.3939C40.5785 56.3441 36.0843 60.8401 36.0843 60.8401C36.0843 60.8401 38.7677 53.4678 48.5091 53.4685C58.3459 53.4651 59.8543 57.0335 59.8543 57.0335Z" fill="url(#paint3_linear_1_21189)"/> |
|||
<path d="M34.1985 45.5506C40.2394 51.829 44.1769 50.077 44.1769 50.077C44.1769 50.077 48.4673 49.5224 50.3448 40.983C50.3448 40.983 60.7916 38.4143 68.9061 37.8055L70.0521 52.767C70.0521 52.767 63.6647 55.9796 59.8512 57.0336C59.8512 57.0336 54.5584 52.8869 45.6726 55.359C36.7868 57.8311 34.5532 64.0213 34.5532 64.0213C30.8197 65.0538 23.8666 65.5551 23.8666 65.5551L17.1314 52.4237C24.1535 48.7783 34.1985 45.5506 34.1985 45.5506Z" fill="url(#paint4_linear_1_21189)"/> |
|||
<path d="M9.96875 52.9502L17.16 52.4172L23.8952 65.5487C23.8952 65.5487 17.6404 64.9944 14.1852 64.1242L9.96875 52.9502Z" fill="url(#paint5_linear_1_21189)"/> |
|||
<path d="M16.2766 51.168C16.2766 51.168 22.84 49.7524 25.7047 47.4784C24.8186 43.8244 24.3989 40.0729 24.4554 36.3134C24.6216 30.511 26.3677 24.2424 32.7063 22.3081C36.6731 21.1058 39.9257 22.4002 42.5213 24.7445C48.1031 29.7894 50.6331 39.6515 50.6331 39.6515C54.0809 39.934 60.2308 38.0556 60.2308 38.0556C60.1104 37.1063 59.9419 36.1637 59.726 35.2315C58.8098 31.0916 56.3381 23.1278 50.115 16.2496C40.2041 5.27179 28.9732 7.97551 28.9732 7.97551C28.9732 7.97551 17.9839 11.9012 14.6629 26.9981C14.2033 29.0916 13.8981 31.2162 13.7498 33.3544C13.0461 43.7935 16.2766 51.168 16.2766 51.168Z" fill="url(#paint6_linear_1_21189)"/> |
|||
<path d="M54.3117 74.2747L49.9712 65.8788C50.5937 65.2262 51.0366 64.4236 51.257 63.5491C51.4774 62.6746 51.4677 61.758 51.2288 60.8883C50.4214 58.215 47.7941 57.0533 44.4153 57.889L44.0401 57.9895C42.9974 58.2423 42.0112 58.6883 41.1329 59.3046C40.3513 59.8171 39.7475 60.5591 39.4045 61.4285C39.0616 62.298 38.9962 63.2523 39.2173 64.1604C39.446 65.085 39.9251 65.9285 40.6021 66.5984C41.2791 67.2683 42.1277 67.7384 43.0547 67.9572C43.0547 67.9572 44.5007 77.1555 44.7631 77.2943C45.3849 77.5941 54.3117 74.2747 54.3117 74.2747Z" fill="#513752"/> |
|||
<path d="M54.3149 74.2748C54.3149 74.2748 51.2904 65.6282 51.3156 65.482C51.3408 65.3359 53.1551 62.6034 52.5126 60.5453C51.6905 57.8974 49.0808 56.7417 45.744 57.5339L45.3689 57.6345C44.3385 57.8819 43.3652 58.3247 42.5017 58.9388C41.7373 59.4479 41.1493 60.181 40.8182 61.0377C40.4872 61.8943 40.4294 62.8324 40.6528 63.7232C40.8856 64.6412 41.3657 65.4777 42.0408 66.1419C42.716 66.806 43.5603 67.2723 44.482 67.49C44.482 67.49 46.2072 76.6295 46.3191 76.7068C46.4309 76.784 54.1615 74.5625 54.3149 74.2748Z" fill="url(#paint7_linear_1_21189)"/> |
|||
<path d="M42.0998 63.3459C41.2767 59.894 45.9367 58.9778 45.9367 58.9778C45.9367 58.9778 49.9978 58.5276 50.9311 61.0707C51.7805 63.4004 49.635 64.817 49.6689 64.9633C49.7319 65.1984 52.4256 72.7704 52.3926 73.1277C52.3597 73.485 47.4706 74.6663 47.3493 74.5541C47.1386 74.3478 45.8017 66.3373 45.7337 66.1036C45.6657 65.8698 42.7063 65.8693 42.0998 63.3459Z" fill="#513752"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M45.0559 59.3475C47.9157 58.4955 49.2672 60.6584 49.4854 62.0528C49.7035 63.4472 48.5363 65.3737 46.2541 65.76C43.9719 66.1464 42.3348 64.4781 42.1729 63.594C42.0111 62.7099 41.7287 60.3355 45.0559 59.3475Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M46.2687 66.2054C46.8115 65.9903 48.0779 66.3747 48.5542 67.4319C49.0305 68.4891 51.0844 73.0533 50.8776 73.3821C50.6709 73.7109 47.4783 74.3412 47.4042 74.0448C47.3302 73.7483 45.4838 66.5176 46.2687 66.2054Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M44.4933 67.497L43.0471 67.9221C43.0471 67.9221 40.0944 66.9065 39.5901 65.2242C39.0857 63.5419 39.9933 63.5078 40.4016 64.0311C40.8605 64.7584 41.3863 65.4414 41.9721 66.071C42.6255 66.8197 43.515 67.3229 44.4933 67.497Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M54.3123 74.2748C52.85 75.4367 51.2311 76.3866 49.5036 77.0966C48.7733 77.2923 44.753 77.2544 44.753 77.2544L46.3278 76.7091L54.3123 74.2748Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.2" style="mix-blend-mode:multiply"> |
|||
<path d="M52.5342 61.445C52.617 62.034 51.3572 61.294 51.1377 61.015C50.2534 59.8956 49.8073 58.6909 46.4547 58.844C44.4114 58.9412 42.4077 60.427 41.8877 61.5475C41.6684 62.0297 40.8712 62.3559 40.8197 61.9837C40.5827 60.1387 43.3829 57.5441 46.7907 57.537C50.1985 57.53 52.1144 58.5177 52.5342 61.445Z" fill="#7F6593"/> |
|||
</g> |
|||
<path d="M51.6485 58.9319C51.6485 58.9319 48.397 54.9406 41.5976 58.9766C41.5976 58.9766 47.1247 55.7747 51.6485 58.9319Z" fill="#EED6DD"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M50.0708 41.0572C50.1819 40.4913 43.1293 41.802 42.0833 42.4201C41.6206 42.6942 41.5654 45.6093 37.7245 48.5417C37.7245 48.5417 42.197 51.8681 45.6675 49.0136C48.0734 47.0011 49.6432 44.1645 50.0708 41.0572Z" fill="#912790"/> |
|||
</g> |
|||
<g opacity="0.3" style="mix-blend-mode:soft-light"> |
|||
<path d="M23.5667 63.2876C24.1694 63.7963 36.2719 60.4837 37.3201 59.4738C39.875 57.0039 40.1186 53.7112 48.0165 52.174C55.7016 50.6831 58.9373 52.9148 59.873 53.2056C60.8087 53.4963 67.0741 51.1688 67.8907 50.3549C68.7073 49.541 68.5684 41.0594 68.4192 38.7619C68.3679 37.95 50.9879 41.0147 50.6751 42.1279C50.0257 44.4463 48.4648 50.2257 43.0262 50.777C38.7023 51.2064 35.4188 46.9556 34.2744 46.5063C33.8864 46.4682 33.4948 46.5181 33.1288 46.6525C33.2676 47.5106 33.2016 48.445 32.3794 48.7779C31.5572 49.1108 30.501 48.4503 29.7883 47.7513C25.5124 49.3205 19.6685 51.8407 18.8928 52.2469C17.7024 52.8661 22.964 62.779 23.5667 63.2876Z" fill="white"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M68.0038 39.731C69.1589 42.2414 68.6404 49.9503 67.891 50.3548C67.1416 50.7593 51.0503 42.6867 52.5241 41.8844C53.9979 41.082 67.5004 38.6328 68.0038 39.731Z" fill="#8F52BE"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M35.0735 60.6176C35.6337 60.4675 35.182 62.6633 33.6483 63.5622C32.1146 64.461 24.7637 65.6586 24.228 64.88C22.9947 63.0982 34.637 60.7292 35.0735 60.6176Z" fill="#BE81A9"/> |
|||
</g> |
|||
<g opacity="0.2" style="mix-blend-mode:screen"> |
|||
<path d="M33.204 78.923C33.0709 79.7468 29.8917 80.3467 29.2082 80.3368C26.8807 80.2742 25.573 78.7751 26.0772 78.656C27.2471 78.3801 33.309 78.2944 33.204 78.923Z" fill="#FFB311"/> |
|||
</g> |
|||
<path d="M67.9649 68.5036C64.2845 72.6153 54.3512 81.142 52.7243 81.653C51.0974 82.164 37.7824 82.3918 33.428 81.9073C31.0846 81.6874 28.774 81.2003 26.5412 80.4555C26.5412 80.4555 31.4494 82.9467 40.1478 82.9964C48.8461 83.046 52.2375 82.4375 52.8228 82.2807C54.7531 81.6616 57.8773 78.8355 62.0857 74.9737C66.2942 71.1118 67.9649 68.5036 67.9649 68.5036Z" fill="#513752"/> |
|||
<path d="M25.1953 66.6094C28.165 70.1405 30.7828 73.9531 33.0116 77.9929C33.0116 77.9929 31.1841 76.4347 28.2903 71.6773C25.203 66.618 25.1953 66.6094 25.1953 66.6094Z" fill="#EED6DD"/> |
|||
<path d="M64.7018 68.1998C60.8966 72.5058 52.9927 78.8429 51.6124 79.3736C50.232 79.9043 35.6934 77.0663 34.1363 75.6768C32.5792 74.2873 31.5512 71.3514 31.5512 71.3514C31.5512 71.3514 31.8633 72.8762 35.0084 75.2501C38.1535 77.6241 49.6948 78.9599 51.4555 78.4881C54.249 77.7289 64.7018 68.1998 64.7018 68.1998Z" fill="#EED6DD"/> |
|||
<g opacity="0.3" style="mix-blend-mode:soft-light"> |
|||
<path d="M16.8573 53.1687C17.8038 54.7003 23.1369 64.5995 22.6422 64.9143C22.1476 65.2291 16.4565 62.197 15.8915 61.169C14.9441 59.4338 12.7047 53.4772 13.134 53.2388C13.5634 53.0005 16.3443 52.3143 16.8573 53.1687Z" fill="white"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M23.7176 65.8959C24.7617 66.7313 26.3305 69.7849 26.1299 70.037C25.9294 70.2891 22.2628 75.2925 21.3741 74.1367C20.4854 72.9809 15.9748 64.9308 16.2886 64.8414C16.6024 64.7519 23.1727 65.4629 23.7176 65.8959Z" fill="#6E5066"/> |
|||
</g> |
|||
<path d="M26.7536 48.634C26.9172 49.0244 19.5279 54.6607 19.1189 54.6148C18.7099 54.5689 16.6325 52.7184 17.6159 52.1869C18.1522 51.8877 26.7536 48.634 26.7536 48.634Z" fill="#9F81FF"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M49.7071 41.1598C47.4946 40.3855 43.3271 42.1991 43.1199 43.0267C42.9128 43.8542 43.1475 49.6724 44.1614 49.4544C45.9375 49.0803 47.5862 47.5503 48.6553 45.6179C49.7245 43.6856 50.3225 41.3755 49.7071 41.1598Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M23.0563 50.2789C23.8243 50.1643 20.9564 52.7662 20.1746 52.8899C19.3929 53.0136 18.1059 52.372 18.5234 52.0296C19.9821 51.3189 21.4985 50.7332 23.0563 50.2789Z" fill="white"/> |
|||
<path d="M68.8894 37.8108C67.1819 39.2012 51.6488 41.0151 50.3281 40.9883C50.3281 40.9883 58.7749 38.9984 63.2615 38.4556C67.7481 37.9129 68.8894 37.8108 68.8894 37.8108Z" fill="#9F81FF"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M59.7376 56.6196C58.4859 56.51 56.4793 54.4636 51.5636 54.3654C44.8836 54.2253 38.4537 59.0201 38.5581 58.5096C38.9093 56.7589 44.4773 51.1282 52.9812 52.093C58.5277 52.7245 60.0772 56.6465 59.7376 56.6196Z" fill="#BE81A9"/> |
|||
</g> |
|||
<path d="M57.9119 53.7474C57.9119 53.7474 55.6769 50.6685 50.4134 50.8726C47.2383 51.0294 44.2369 52.3692 42.0001 54.6281C42.0001 54.6281 50.2578 49.0915 57.9119 53.7474Z" fill="#9F81FF"/> |
|||
<path d="M19.819 57.6284C20.599 57.4783 23.2475 60.4196 23.3331 61.6995C23.4187 62.9793 23.0167 63.4998 22.6418 63.5413C22.2669 63.5828 20.6095 61.7591 20.0851 60.9024C19.5607 60.0458 19.1867 57.7496 19.819 57.6284Z" fill="#4F0086"/> |
|||
<path d="M22.8994 60.5769C23.3341 61.6989 23.2988 63.1076 22.6076 63.0891C21.8333 63.0607 20.8042 61.9211 20.4427 61.4121C20.4427 61.4121 21.8316 63.5544 22.8724 63.5971C23.9132 63.6399 23.5451 61.8461 23.3702 61.4533C23.2422 61.1465 23.0846 60.853 22.8994 60.5769Z" fill="#9F81FF"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M22.0044 59.4651C23.1172 61.097 21.7642 61.9099 21.0577 61.6542C20.3512 61.3985 19.776 60.4322 19.5847 59.438C19.3933 58.4438 19.4487 57.33 20.1964 57.7194C20.9153 58.1674 21.5315 58.7623 22.0044 59.4651Z" fill="#912774"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M32.9296 45.9713C33.1754 47.0688 33.532 48.6996 32.1692 48.8556C30.8064 49.0117 29.3822 47.2381 29.3822 47.2381C29.3822 47.2381 29.403 47.0556 30.8011 46.5309C31.48 46.2431 32.1969 46.0546 32.9296 45.9713Z" fill="#A34AA2"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M31.1504 46.5881C31.8644 46.6916 32.4119 48.3945 31.9228 48.6703C31.4338 48.9461 29.7818 47.9627 29.3859 47.2056C29.3799 47.2233 30.5145 46.4958 31.1504 46.5881Z" fill="#923B66"/> |
|||
</g> |
|||
<path d="M49.4772 50.5446C50.6709 50.4177 51.5201 51.7663 51.2269 51.7323C50.9336 51.6983 47.3112 52.4652 47.1212 52.2963C46.9312 52.1274 48.024 50.7034 49.4772 50.5446Z" fill="white"/> |
|||
<path d="M49.5184 57.4655C50.431 57.9501 47.0852 57.9888 46.7891 57.1836C46.7891 57.1836 48.6235 56.9869 49.5184 57.4655Z" fill="white"/> |
|||
<path d="M28.0627 70.7796C27.6624 69.6055 29.8991 70.5502 30.5986 71.9604C31.2982 73.3706 31.1494 75.3565 30.6617 75.0369C30.174 74.7172 28.3928 71.7312 28.0627 70.7796Z" fill="white"/> |
|||
<path d="M54.4583 27.4378C53.9581 27.5719 44.9805 12.7145 33.3201 15.4958C20.8576 18.4652 20.0288 34.4598 18.8589 34.9555C17.689 35.4513 14.8491 30.9154 15.4116 26.4919C16.5292 17.6575 25.3278 9.25784 31.2368 8.44118C37.1458 7.62452 45.1806 11.5404 49.6252 17.1635C54.0698 22.7866 54.8758 27.3152 54.4583 27.4378Z" fill="white"/> |
|||
<path d="M47.9277 15.7264C48.3669 16.4451 31.6408 12.8261 30.2841 12.2247C28.9274 11.6232 27.2028 9.16881 30.8934 8.49624C34.5839 7.82367 43.6128 8.70685 47.9277 15.7264Z" fill="white"/> |
|||
<path d="M21.6286 16.2164C22.7074 17.3212 19.4796 23.9225 18.3929 23.9885C17.3062 24.0545 16.926 22.5159 17.8892 20.108C18.5647 18.4473 21.2018 15.7839 21.6286 16.2164Z" fill="white"/> |
|||
<path d="M24.8245 12.9637C25.8196 13.7961 23.9647 14.7167 23.2607 14.6104C22.5568 14.5042 23.9654 12.2182 24.8245 12.9637Z" fill="white"/> |
|||
<g opacity="0.8" style="mix-blend-mode:multiply"> |
|||
<path d="M65.3867 37.8105C67.2926 37.9807 68.2483 38.1857 68.4187 38.7619C68.5892 39.3381 69.5928 46.725 69.5928 46.725C69.5928 46.725 68.9622 37.9891 68.9049 37.7953C68.8476 37.6016 65.3867 37.8105 65.3867 37.8105Z" fill="#923B66"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M42.5302 24.7533C48.112 29.7983 50.6419 39.6604 50.6419 39.6604C54.0898 39.9428 60.2396 38.0644 60.2396 38.0644C60.1193 37.1151 59.9508 36.1726 59.7349 35.2403C57.6938 37.4867 55.7608 36.9753 54.4625 35.8114C53.1641 34.6474 50.298 28.4727 46.4036 25.2434C43.4179 22.7838 41.8279 23.4726 42.5302 24.7533Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M15.8451 36.2679C16.7945 36.8498 23.1063 47.3606 22.4497 48.0512C21.793 48.7418 17.2595 51.0502 16.5461 49.7885C15.8328 48.5268 13.4743 34.823 15.8451 36.2679Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M16.2762 51.1687C16.2762 51.1687 22.8396 49.7531 25.7043 47.4791C24.8183 43.8251 24.3985 40.0736 24.4551 36.3141C23.7445 40.7452 22.5753 43.7444 21.0227 42.8523C19.4702 41.9602 15.7524 29.5857 13.7598 33.3738C13.0458 43.7942 16.2762 51.1687 16.2762 51.1687Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M45.2431 25.5919C46.6281 25.6389 54.4101 37.0746 54.0086 38.2973C53.6071 39.52 51.6425 38.5506 51.1498 37.6319C50.657 36.7131 44.0742 25.5513 45.2431 25.5919Z" fill="#6E5066"/> |
|||
</g> |
|||
<path d="M55.166 28.6107C56.0033 28.054 58.8159 33.2887 58.0283 34.0305C57.2406 34.7723 53.9785 29.4007 55.166 28.6107Z" fill="white"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M25.0038 31.433C25.0038 31.433 27.1926 18.5534 35.9288 19.8045C44.6649 21.0557 47.8483 32.276 47.8483 32.276C47.8483 32.276 43.1685 21.8534 36.1067 21.8692C26.2716 21.8989 25.0038 31.433 25.0038 31.433Z" fill="#6E5066"/> |
|||
</g> |
|||
<path d="M52.7781 19.5516C52.7781 19.5516 43.6111 6.4284 29.355 8.58635C29.355 8.58635 20.4111 11.5619 15.1843 24.9285C15.1843 24.9285 17.7118 12.9928 28.983 7.97835C28.9843 7.98336 42.0501 4.58426 52.7781 19.5516Z" fill="#513752"/> |
|||
<path d="M40.9289 17.4026C42.9206 17.5927 46.8151 20.4628 46.4417 21.1901C46.0683 21.9174 42.889 21.3164 41.1352 20.0332C39.5937 18.9023 39.482 17.2649 40.9289 17.4026Z" fill="#513752"/> |
|||
<path d="M44.2769 18.8919C44.2769 18.8919 46.9585 20.5162 46.5468 21.361C46.2364 22.0232 43.116 21.0419 43.116 21.0419C43.116 21.0419 45.2422 21.6141 45.701 20.8853C46.1598 20.1566 44.2769 18.8919 44.2769 18.8919Z" fill="#EED6DD"/> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M42.8411 18.0543C44.6726 19.0271 42.6645 20.6964 41.1897 19.7942C39.7148 18.8919 39.5995 17.8613 40.4271 17.5485C41.2546 17.2356 42.2833 17.7534 42.8411 18.0543Z" fill="#6E5066"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M28.0608 55.3243C28.7989 57.4586 29.2021 60.7442 26.5293 61.1333C23.8565 61.5224 22.7899 56.9617 23.3689 56.5814C23.9479 56.2011 28.0608 55.3243 28.0608 55.3243Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M25.7134 54.5365C28.2492 53.9964 29.907 58.0823 26.2605 59.0594C23.1143 59.9025 21.4941 55.4365 25.7134 54.5365Z" fill="#4F0086"/> |
|||
<path d="M25.46 53.6876C27.9958 53.1475 29.6286 57.2402 26.0021 58.2119C22.8558 59.055 21.2357 54.589 25.46 53.6876Z" fill="#8B6ED1"/> |
|||
<path d="M27.8634 55.1676C27.3018 56.3528 23.2346 56.6599 23.071 56.0496C22.937 55.5494 23.1589 54.4767 24.9754 53.8131C26.7919 53.1494 28.0248 54.8295 27.8634 55.1676Z" fill="#B6D3FF"/> |
|||
<g opacity="0.4" style="mix-blend-mode:multiply"> |
|||
<path d="M27.9582 56.2681C27.9115 57.074 26.6011 58.3259 25.1776 58.2355C23.7541 58.1451 22.8775 56.8145 23.3659 56.5765C23.8543 56.3384 27.9933 55.7387 27.9582 56.2681Z" fill="#4F0086"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M37.635 50.865C38.3744 53.0043 38.4697 56.2813 35.7956 56.6654C33.1214 57.0495 32.3655 52.5075 32.9431 52.1222C33.5207 51.7369 37.635 50.865 37.635 50.865Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M35.2996 50.0968C37.8354 49.5567 39.4682 53.6494 35.8417 54.6211C32.6954 55.4642 31.0793 51.0132 35.2996 50.0968Z" fill="#4F0086"/> |
|||
<path d="M35.0421 49.2495C37.5766 48.7044 39.2094 52.7971 35.5829 53.7688C32.4366 54.6118 30.8164 50.1459 35.0421 49.2495Z" fill="#8B6ED1"/> |
|||
<path d="M37.4453 50.7228C36.8786 51.9093 32.8127 52.2214 32.6478 51.6062C32.5138 51.106 32.762 50.0316 34.5535 49.3746C36.345 48.7177 37.6016 50.386 37.4453 50.7228Z" fill="#B6D3FF"/> |
|||
<g opacity="0.4" style="mix-blend-mode:multiply"> |
|||
<path d="M37.5448 51.8281C37.4931 52.6354 36.1812 53.8823 34.7578 53.7919C33.3343 53.7015 32.4641 52.3746 32.9461 52.1329C33.4282 51.8911 37.5735 51.295 37.5448 51.8281Z" fill="#4F0086"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M57.1762 45.1633C57.9107 47.3039 58.5626 50.4371 55.8934 50.8199C53.2243 51.2027 51.9017 46.8071 52.4843 46.4204C53.067 46.0338 57.1762 45.1633 57.1762 45.1633Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M54.8314 44.3804C57.3672 43.8403 59 47.933 55.3735 48.9047C52.2472 49.7424 50.6057 45.2768 54.8314 44.3804Z" fill="#4F0086"/> |
|||
<path d="M54.5728 43.5286C57.1086 42.9886 58.7414 47.0812 55.1199 48.0516C51.9736 48.8946 50.3534 44.4287 54.5728 43.5286Z" fill="#8B6ED1"/> |
|||
<path d="M56.9804 45.007C56.4138 46.1935 52.3478 46.5056 52.183 45.8904C52.049 45.3902 52.2972 44.3157 54.0887 43.6588C55.8802 43.0018 57.1418 44.6689 56.9804 45.007Z" fill="#B6D3FF"/> |
|||
<g opacity="0.4" style="mix-blend-mode:multiply"> |
|||
<path d="M57.075 46.1063C57.0246 46.9187 55.7128 48.1655 54.2943 48.0738C52.8759 47.982 51.9956 46.6578 52.4827 46.4147C52.9697 46.1716 57.11 45.5769 57.075 46.1063Z" fill="#4F0086"/> |
|||
</g> |
|||
<g opacity="0.5" style="mix-blend-mode:multiply"> |
|||
<path d="M67.6777 44.424C68.4121 46.5647 68.4408 49.9131 65.7667 50.2972C63.0925 50.6814 62.4032 46.0678 62.9808 45.6825C63.5584 45.2972 67.6777 44.424 67.6777 44.424Z" fill="#912790"/> |
|||
</g> |
|||
<path d="M65.3311 43.6261C67.8669 43.086 69.4997 47.1787 65.8732 48.1504C62.7269 48.9934 61.1068 44.5275 65.3311 43.6261Z" fill="#4F0086"/> |
|||
<path d="M65.0729 42.779C67.6087 42.2389 69.2414 46.3316 65.62 47.3019C62.4737 48.145 60.8522 43.674 65.0729 42.779Z" fill="#8B6ED1"/> |
|||
<path d="M67.4779 44.2572C66.9099 45.4387 62.844 45.7508 62.6804 45.1406C62.5464 44.6404 62.7933 43.5609 64.5848 42.904C66.3763 42.247 67.6339 43.8991 67.4779 44.2572Z" fill="#B6D3FF"/> |
|||
<g opacity="0.4" style="mix-blend-mode:multiply"> |
|||
<path d="M67.5744 45.3573C67.5227 46.1646 66.2109 47.4114 64.7887 47.326C63.3666 47.2407 62.4937 45.9037 62.9771 45.667C63.4605 45.4302 67.6081 44.8228 67.5744 45.3573Z" fill="#4F0086"/> |
|||
</g> |
|||
</g> |
|||
<defs> |
|||
<linearGradient id="paint0_linear_1_21189" x1="26.5399" y1="60.5238" x2="41.4172" y2="75.1299" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#727A9D"/> |
|||
<stop offset="0.3" stop-color="#836888"/> |
|||
<stop offset="0.85" stop-color="#715379"/> |
|||
<stop offset="1" stop-color="#6D636A"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint1_linear_1_21189" x1="61.7748" y1="60.9091" x2="25.8303" y2="65.5385" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#B8A1A6"/> |
|||
<stop offset="0.26" stop-color="#B49EA4"/> |
|||
<stop offset="0.49" stop-color="#AA939F"/> |
|||
<stop offset="0.72" stop-color="#978195"/> |
|||
<stop offset="0.93" stop-color="#7E6888"/> |
|||
<stop offset="1" stop-color="#745E83"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint2_linear_1_21189" x1="63.3906" y1="63.1731" x2="43.3725" y2="68.5369" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#B8A1A6"/> |
|||
<stop offset="0.26" stop-color="#B49EA4"/> |
|||
<stop offset="0.49" stop-color="#AA939F"/> |
|||
<stop offset="0.72" stop-color="#978195"/> |
|||
<stop offset="0.93" stop-color="#7E6888"/> |
|||
<stop offset="1" stop-color="#745E83"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint3_linear_1_21189" x1="58.9523" y1="53.6672" x2="35.8229" y2="59.8647" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#3D069A"/> |
|||
<stop offset="1" stop-color="#6509BA"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint4_linear_1_21189" x1="46.927" y1="59.6603" x2="43.4007" y2="46.5" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#902EF6"/> |
|||
<stop offset="1" stop-color="#682EFF"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint5_linear_1_21189" x1="11.9914" y1="60.0586" x2="21.0935" y2="58.574" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#4388E8"/> |
|||
<stop offset="0.28" stop-color="#57198A"/> |
|||
<stop offset="1" stop-color="#511881"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint6_linear_1_21189" x1="55.8762" y1="20.6835" x2="11.1031" y2="32.6805" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#C3B1B5"/> |
|||
<stop offset="0.12" stop-color="#A192A2"/> |
|||
<stop offset="0.26" stop-color="#827590"/> |
|||
<stop offset="0.37" stop-color="#706486"/> |
|||
<stop offset="0.45" stop-color="#695E82"/> |
|||
<stop offset="1" stop-color="#937B80"/> |
|||
</linearGradient> |
|||
<linearGradient id="paint7_linear_1_21189" x1="33.685" y1="73.7338" x2="52.2916" y2="64.6629" gradientUnits="userSpaceOnUse"> |
|||
<stop stop-color="#B8A1A6"/> |
|||
<stop offset="0.26" stop-color="#B49EA4"/> |
|||
<stop offset="0.49" stop-color="#AA939F"/> |
|||
<stop offset="0.72" stop-color="#978195"/> |
|||
<stop offset="0.93" stop-color="#7E6888"/> |
|||
<stop offset="1" stop-color="#745E83"/> |
|||
</linearGradient> |
|||
<clipPath id="clip0_1_21189"> |
|||
<rect width="60.8522" height="77.9153" fill="white" transform="translate(0 15.75) rotate(-15)"/> |
|||
</clipPath> |
|||
</defs> |
|||
</svg> |
|||
@ -1,90 +1,137 @@ |
|||
import 'package:flutter/material.dart'; |
|||
import 'package:hadi_hoda_flutter/common_ui/resources/my_colors.dart'; |
|||
import 'package:hadi_hoda_flutter/core/constants/my_constants.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/local_storage.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
import 'package:hadi_hoda_flutter/core/utils/my_device.dart'; |
|||
|
|||
class MYTextStyle { |
|||
static const MYTextStyle _i = MYTextStyle._internal(); |
|||
|
|||
const MYTextStyle._internal(); |
|||
|
|||
factory MYTextStyle() => _i; |
|||
|
|||
static const String dinoKids = 'DinoKids'; |
|||
static const String notoSansArabic = 'NotoSansArabic'; |
|||
static const String marhey = 'Marhey'; |
|||
static const String baloo2 = 'Baloo_2'; |
|||
static const Color textColor = MyColors.white; |
|||
|
|||
static const TextStyle titr0 = TextStyle( |
|||
fontFamily: marhey, |
|||
fontWeight: FontWeight.w700, |
|||
fontSize: 26, |
|||
static bool _isArabicOrPersianLanguage() { |
|||
final selectedLanguage = |
|||
(LocalStorage.readData(key: MyConstants.selectLanguage) ?? |
|||
MyConstants.defaultLanguage) |
|||
.toString() |
|||
.trim() |
|||
.toLowerCase(); |
|||
final languageCode = selectedLanguage.split(RegExp(r'[_-]')).first; |
|||
return languageCode == 'ar' || languageCode == 'fa'; |
|||
} |
|||
|
|||
static String _fontForLanguage(String defaultFont) { |
|||
return _isArabicOrPersianLanguage() ? notoSansArabic : defaultFont; |
|||
} |
|||
|
|||
static FontWeight _fontWeightForLanguage(FontWeight defaultWeight) { |
|||
if (!_isArabicOrPersianLanguage()) return defaultWeight; |
|||
return switch (defaultWeight) { |
|||
FontWeight.w100 => FontWeight.w300, |
|||
FontWeight.w200 => FontWeight.w400, |
|||
FontWeight.w300 => FontWeight.w500, |
|||
FontWeight.w400 => FontWeight.w600, |
|||
FontWeight.w500 => FontWeight.w700, |
|||
FontWeight.w600 => FontWeight.w800, |
|||
FontWeight.w700 => FontWeight.w900, |
|||
FontWeight.w800 => FontWeight.w900, |
|||
FontWeight.w900 => FontWeight.w900, |
|||
_ => defaultWeight, |
|||
}; |
|||
} |
|||
|
|||
static TextStyle get titr0 => TextStyle( |
|||
fontFamily: _fontForLanguage(marhey), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w700), |
|||
fontSize: MyDevice.fontSize(26), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle titr1 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w800, |
|||
fontSize: 20, |
|||
static TextStyle get titr1 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w800), |
|||
fontSize: MyDevice.fontSize(20), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle titr3 = TextStyle( |
|||
fontFamily: marhey, |
|||
fontWeight: FontWeight.w600, |
|||
fontSize: 18, |
|||
static TextStyle get titr3 => TextStyle( |
|||
fontFamily: _fontForLanguage(marhey), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w600), |
|||
fontSize: MyDevice.fontSize(18), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle titr4 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w700, |
|||
fontSize: 14, |
|||
static TextStyle get titr4 => TextStyle( |
|||
fontFamily: _fontForLanguage(marhey), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w700), |
|||
fontSize: MyDevice.fontSize(14), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle matn1 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w600, |
|||
fontSize: 18, |
|||
static TextStyle get matn1 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w600), |
|||
fontSize: MyDevice.fontSize(18), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle matn2_3 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w700, |
|||
fontSize: 18, |
|||
static TextStyle get matn2_3 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w700), |
|||
fontSize: MyDevice.fontSize(18), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle matn2_2 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w700, |
|||
fontSize: 16, |
|||
static TextStyle get matn2_2 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w700), |
|||
fontSize: MyDevice.fontSize(16), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle matn2 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w700, |
|||
fontSize: 14, |
|||
static TextStyle get matn2 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w700), |
|||
fontSize: MyDevice.fontSize(14), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle matn3 = TextStyle( |
|||
fontFamily: baloo2, |
|||
fontWeight: FontWeight.w500, |
|||
fontSize: 12, |
|||
static TextStyle get matn3 => TextStyle( |
|||
fontFamily: _fontForLanguage(baloo2), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w500), |
|||
fontSize: MyDevice.fontSize(12), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle button1 = TextStyle( |
|||
fontFamily: dinoKids, |
|||
fontWeight: FontWeight.w400, |
|||
fontSize: 45, |
|||
static TextStyle get button1 => TextStyle( |
|||
fontFamily: _fontForLanguage(dinoKids), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w400), |
|||
fontSize: MyDevice.fontSize(45), |
|||
color: textColor, |
|||
); |
|||
|
|||
static const TextStyle button2 = TextStyle( |
|||
fontFamily: dinoKids, |
|||
fontWeight: FontWeight.w400, |
|||
fontSize: 30, |
|||
static TextStyle get button2 => TextStyle( |
|||
fontFamily: _fontForLanguage(dinoKids), |
|||
fontWeight: _fontWeightForLanguage(FontWeight.w400), |
|||
fontSize: MyDevice.fontSize(30), |
|||
color: textColor, |
|||
); |
|||
} |
|||
@ -1,13 +1,16 @@ |
|||
class LevelParams { |
|||
int? id; |
|||
bool forceRemote; |
|||
|
|||
LevelParams({this.id}); |
|||
LevelParams({this.id, this.forceRemote = false}); |
|||
|
|||
LevelParams copyWith({ |
|||
int? id, |
|||
bool? forceRemote, |
|||
}) { |
|||
return LevelParams( |
|||
id: id ?? this.id, |
|||
forceRemote: forceRemote ?? this.forceRemote, |
|||
); |
|||
} |
|||
} |
|||
@ -0,0 +1,75 @@ |
|||
import 'package:flutter/material.dart'; |
|||
import 'package:hadi_hoda_flutter/common_ui/resources/my_text_style.dart'; |
|||
import 'package:url_launcher/url_launcher.dart'; |
|||
|
|||
class PaymentDialog extends StatelessWidget { |
|||
const PaymentDialog({super.key}); |
|||
|
|||
static const String _paymentUrl = |
|||
'https://buy.stripe.com/cNi6oI9EF5Y44oQ5nb4AU0V'; |
|||
|
|||
Future<void> _launchPayment() async { |
|||
final Uri url = Uri.parse(_paymentUrl); |
|||
if (await canLaunchUrl(url)) { |
|||
await launchUrl(url); |
|||
} |
|||
} |
|||
|
|||
@override |
|||
Widget build(BuildContext context) { |
|||
return Dialog( |
|||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)), |
|||
child: Padding( |
|||
padding: const EdgeInsets.all(20), |
|||
child: Column( |
|||
mainAxisSize: MainAxisSize.min, |
|||
crossAxisAlignment: CrossAxisAlignment.end, |
|||
children: [ |
|||
const Text( |
|||
"ساهم معنا في تطوير مشاريعنا القادمة", |
|||
textAlign: TextAlign.center, |
|||
style: TextStyle( |
|||
fontSize: 20, |
|||
fontWeight: FontWeight.bold, |
|||
fontFamily: MYTextStyle.notoSansArabic, |
|||
), |
|||
), |
|||
|
|||
const SizedBox(height: 16), |
|||
|
|||
const Text( |
|||
'''قال رسول الله (صلى الله عليه وآله): "إذا مات ابن آدم انقطع عمله إلا من ثلاث: صدقة جارية، أو علم ينتفع به، أو ولد صالح يدعو له". |
|||
|
|||
إن دعمكم المستمر لتطوير مشاريعنا القادمة هو التجسيد الحقيقي لـ «الباقيات الصالحات». |
|||
|
|||
تخيل أن كل طفلٍ في أي بقعةٍ من العالم، وبأي لسانٍ كان، يتعلم الصلاة أو يكتسب أدباً من آداب الدين بفضل مساهمتكم؛ سيُكتب ذلك في ميزان حسناتكم «علماً يُنتفع به»، وصدقةً جاريةً لا ينقطع ثوابها أبدَ الآبدين.''', |
|||
textAlign: TextAlign.right, |
|||
style: TextStyle( |
|||
fontSize: 15, |
|||
height: 1.6, |
|||
fontFamily: MYTextStyle.notoSansArabic, |
|||
), |
|||
), |
|||
|
|||
const SizedBox(height: 24), |
|||
|
|||
SizedBox( |
|||
width: double.infinity, |
|||
child: FilledButton( |
|||
onPressed: _launchPayment, |
|||
child: const Text( |
|||
"تبرع الآن", |
|||
style: TextStyle( |
|||
fontFamily: MYTextStyle.notoSansArabic, |
|||
fontSize: 17, |
|||
fontWeight: FontWeight.w600, |
|||
), |
|||
), |
|||
), |
|||
), |
|||
], |
|||
), |
|||
), |
|||
); |
|||
} |
|||
} |
|||
@ -0,0 +1,41 @@ |
|||
import 'package:flutter/material.dart'; |
|||
import 'package:hadi_hoda_flutter/common_ui/resources/my_text_style.dart'; |
|||
|
|||
import '../../../../../common_ui/resources/my_assets.dart'; |
|||
import '../../../../../core/utils/my_localization.dart'; |
|||
import '../../../../../core/widgets/images/my_image.dart'; |
|||
|
|||
class ComingSoonLevel extends StatelessWidget { |
|||
const ComingSoonLevel({super.key}); |
|||
|
|||
@override |
|||
Widget build(BuildContext context) { |
|||
return Stack( |
|||
clipBehavior: Clip.none, |
|||
children: [ |
|||
Container( |
|||
alignment: Alignment.center, |
|||
padding: const EdgeInsets.symmetric( |
|||
horizontal: 16, |
|||
vertical: 42, |
|||
).copyWith(bottom: 32), |
|||
width: double.infinity, |
|||
decoration: BoxDecoration( |
|||
borderRadius: BorderRadius.circular(14), |
|||
gradient: LinearGradient( |
|||
colors: [ |
|||
const Color(0xff7E6C81).withValues(alpha: .9), |
|||
const Color(0xff48333F).withValues(alpha: .9), |
|||
], |
|||
), |
|||
), |
|||
child: Text(context.translate.coming_soon, style: MYTextStyle.titr4, textAlign: TextAlign.center,), |
|||
), |
|||
const Positioned( |
|||
left: 0, |
|||
right: 0, |
|||
top: -58, child: MyImage(image: MyAssets.lock)), |
|||
], |
|||
); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue