From cebbb4fb2d842d92815a48a5ad942b712146c7cd Mon Sep 17 00:00:00 2001 From: BLoC Date: Fri, 28 Feb 2025 16:48:49 +0300 Subject: [PATCH] feat: card --- .../arm64-v8a/configure_fingerprint.bin | 24 ++--- .../armeabi-v7a/configure_fingerprint.bin | 24 ++--- .../5y6c3x6h/x86/configure_fingerprint.bin | 24 ++--- .../5y6c3x6h/x86_64/configure_fingerprint.bin | 24 ++--- assets/icons/mir.svg | 17 ++++ .../menu/presentation/pages/menu_screen.dart | 23 +++-- .../presentation/pages/card_settings.dart | 92 ++++++++++++++++++- 7 files changed, 167 insertions(+), 61 deletions(-) create mode 100644 assets/icons/mir.svg diff --git a/android/app/.cxx/Debug/5y6c3x6h/arm64-v8a/configure_fingerprint.bin b/android/app/.cxx/Debug/5y6c3x6h/arm64-v8a/configure_fingerprint.bin index 95f79a78..51cc237b 100644 --- a/android/app/.cxx/Debug/5y6c3x6h/arm64-v8a/configure_fingerprint.bin +++ b/android/app/.cxx/Debug/5y6c3x6h/arm64-v8a/configure_fingerprint.bin @@ -2,27 +2,27 @@ C/C++ Structured Logc a _C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\additional_project_files.txtC A -?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  üåÕ½Ò2  �õ‘×Ñ2` +?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  �³üâÔ2  �õ‘×Ñ2` ^ -\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\android_gradle_build.json  üåÕ½Ò2¡ “õ‘×Ñ2e +\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\android_gradle_build.json  �³üâÔ2¡ “õ‘×Ñ2e c -aC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\android_gradle_build_mini.json  üåÕ½Ò2€ ¤õ‘×Ñ2R +aC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\android_gradle_build_mini.json  �³üâÔ2€ ¤õ‘×Ñ2R P -NC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build.ninja  üåÕ½Ò2¥Ò †ô‘×Ñ2V +NC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build.ninja  �³üâÔ2¥Ò †ô‘×Ñ2V T -RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build.ninja.txt  üåÕ½Ò2[ +RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build.ninja.txt  �³üâÔ2[ Y -WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build_file_index.txt  üåÕ½Ò2 R ¬õ‘×Ñ2\ +WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\build_file_index.txt  �³üâÔ2 R ¬õ‘×Ñ2\ Z -XC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\compile_commands.json  üåÕ½Ò2` +XC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\compile_commands.json  �³üâÔ2` ^ -\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\compile_commands.json.bin  üåÕ½Ò2 f +\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\compile_commands.json.bin  �³üâÔ2 f d -bC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\metadata_generation_command.txt  üåÕ½Ò2 +bC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\metadata_generation_command.txt  �³üâÔ2 « ¨õ‘×Ñ2Y W -UC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\prefab_config.json  üåÕ½Ò2  ( ©õ‘×Ñ2^ +UC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\prefab_config.json  �³üâÔ2  ( ©õ‘×Ñ2^ \ -ZC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\symbol_folder_index.txt  üåÕ½Ò2  Q «õ‘×Ñ2V +ZC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\arm64-v8a\symbol_folder_index.txt  �³üâÔ2  Q «õ‘×Ñ2V T -RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  üåÕ½Ò2 § �¶ðÖÑ2 \ No newline at end of file +RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  �³üâÔ2 § �¶ðÖÑ2 \ No newline at end of file diff --git a/android/app/.cxx/Debug/5y6c3x6h/armeabi-v7a/configure_fingerprint.bin b/android/app/.cxx/Debug/5y6c3x6h/armeabi-v7a/configure_fingerprint.bin index 53204e1b..557aff8a 100644 --- a/android/app/.cxx/Debug/5y6c3x6h/armeabi-v7a/configure_fingerprint.bin +++ b/android/app/.cxx/Debug/5y6c3x6h/armeabi-v7a/configure_fingerprint.bin @@ -2,27 +2,27 @@ C/C++ Structured Loge c aC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\additional_project_files.txtC A -?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ¶æÕ½Ò2  ·É“×Ñ2b +?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  Ÿ³üâÔ2  ·É“×Ñ2b ` -^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\android_gradle_build.json  ¶æÕ½Ò2¥ ¿É“×Ñ2g +^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\android_gradle_build.json  Ÿ³üâÔ2¥ ¿É“×Ñ2g e -cC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\android_gradle_build_mini.json  ¶æÕ½Ò2„ ÆÉ“×Ñ2T +cC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\android_gradle_build_mini.json  Ÿ³üâÔ2„ ÆÉ“×Ñ2T R -PC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build.ninja  ¶æÕ½Ò2¯Ò ´È“×Ñ2X +PC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build.ninja  Ÿ³üâÔ2¯Ò ´È“×Ñ2X V -TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build.ninja.txt  ¶æÕ½Ò2] +TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build.ninja.txt  Ÿ³üâÔ2] [ -YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build_file_index.txt  ¶æÕ½Ò2 R ÊÉ“×Ñ2^ +YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\build_file_index.txt  Ÿ³üâÔ2 R ÊÉ“×Ñ2^ \ -ZC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\compile_commands.json  ¶æÕ½Ò2b +ZC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\compile_commands.json  Ÿ³üâÔ2b ` -^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\compile_commands.json.bin  ¶æÕ½Ò2 h +^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\compile_commands.json.bin   ³üâÔ2 h f -dC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\metadata_generation_command.txt  ¶æÕ½Ò2 +dC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\metadata_generation_command.txt   ³üâÔ2 µ ÇÉ“×Ñ2[ Y -WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\prefab_config.json  ¶æÕ½Ò2  ( ÈÉ“×Ñ2` +WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\prefab_config.json   ³üâÔ2  ( ÈÉ“×Ñ2` ^ -\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\symbol_folder_index.txt  ¶æÕ½Ò2  S ÉÉ“×Ñ2V +\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\armeabi-v7a\symbol_folder_index.txt   ³üâÔ2  S ÉÉ“×Ñ2V T -RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ¶æÕ½Ò2 § �¶ðÖÑ2 \ No newline at end of file +RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt   ³üâÔ2 § �¶ðÖÑ2 \ No newline at end of file diff --git a/android/app/.cxx/Debug/5y6c3x6h/x86/configure_fingerprint.bin b/android/app/.cxx/Debug/5y6c3x6h/x86/configure_fingerprint.bin index 87742c49..740fa00d 100644 --- a/android/app/.cxx/Debug/5y6c3x6h/x86/configure_fingerprint.bin +++ b/android/app/.cxx/Debug/5y6c3x6h/x86/configure_fingerprint.bin @@ -2,27 +2,27 @@ C/C++ Structured Log] [ YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\additional_project_files.txtC A -?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  êæÕ½Ò2  “‚”×Ñ2Z +?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ±³üâÔ2  “‚”×Ñ2Z X -VC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\android_gradle_build.json  êæÕ½Ò2• ™‚”×Ñ2_ +VC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\android_gradle_build.json  ±³üâÔ2• ™‚”×Ñ2_ ] -[C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\android_gradle_build_mini.json  êæÕ½Ò2ô Ÿ‚”×Ñ2L +[C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\android_gradle_build_mini.json  ²³üâÔ2ô Ÿ‚”×Ñ2L J -HC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build.ninja  ëæÕ½Ò2‡Ò ¾�”×Ñ2P +HC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build.ninja  ²³üâÔ2‡Ò ¾�”×Ñ2P N -LC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build.ninja.txt  ìæÕ½Ò2U +LC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build.ninja.txt  ²³üâÔ2U S -QC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build_file_index.txt  ìæÕ½Ò2 R §‚”×Ñ2V +QC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\build_file_index.txt  ²³üâÔ2 R §‚”×Ñ2V T -RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\compile_commands.json  ìæÕ½Ò2Z +RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\compile_commands.json  ²³üâÔ2Z X -VC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\compile_commands.json.bin  ìæÕ½Ò2 ` +VC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\compile_commands.json.bin  ²³üâÔ2 ` ^ -\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\metadata_generation_command.txt  ìæÕ½Ò2 +\C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\metadata_generation_command.txt  ²³üâÔ2 �  ‚”×Ñ2S Q -OC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\prefab_config.json  ìæÕ½Ò2  ( £‚”×Ñ2X +OC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\prefab_config.json  ²³üâÔ2  ( £‚”×Ñ2X V -TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\symbol_folder_index.txt  ìæÕ½Ò2  K ¥‚”×Ñ2V +TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86\symbol_folder_index.txt  ²³üâÔ2  K ¥‚”×Ñ2V T -RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ìæÕ½Ò2 § �¶ðÖÑ2 \ No newline at end of file +RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ³³üâÔ2 § �¶ðÖÑ2 \ No newline at end of file diff --git a/android/app/.cxx/Debug/5y6c3x6h/x86_64/configure_fingerprint.bin b/android/app/.cxx/Debug/5y6c3x6h/x86_64/configure_fingerprint.bin index 2b1ee525..bcc36e44 100644 --- a/android/app/.cxx/Debug/5y6c3x6h/x86_64/configure_fingerprint.bin +++ b/android/app/.cxx/Debug/5y6c3x6h/x86_64/configure_fingerprint.bin @@ -2,27 +2,27 @@ C/C++ Structured Log` ^ \C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\additional_project_files.txtC A -?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ŸçÕ½Ò2   �”×Ñ2] +?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ³üâÔ2   �”×Ñ2] [ -YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\android_gradle_build.json  ŸçÕ½Ò2› ¥�”×Ñ2b +YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\android_gradle_build.json  ³üâÔ2› ¥�”×Ñ2b ` -^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\android_gradle_build_mini.json  ŸçÕ½Ò2ú ¬�”×Ñ2O +^C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\android_gradle_build_mini.json  ³üâÔ2ú ¬�”×Ñ2O M -KC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build.ninja  ŸçÕ½Ò2–Ò ÈŒ”×Ñ2S +KC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build.ninja  ³üâÔ2–Ò ÈŒ”×Ñ2S Q -OC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build.ninja.txt  ŸçÕ½Ò2X +OC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build.ninja.txt  ³üâÔ2X V -TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build_file_index.txt  ŸçÕ½Ò2 R ¹�”×Ñ2Y +TC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\build_file_index.txt  ³üâÔ2 R ¹�”×Ñ2Y W -UC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\compile_commands.json  ŸçÕ½Ò2] +UC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\compile_commands.json  ³üâÔ2] [ -YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\compile_commands.json.bin  ŸçÕ½Ò2 c +YC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\compile_commands.json.bin  ³üâÔ2 c a -_C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\metadata_generation_command.txt  ŸçÕ½Ò2 +_C:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\metadata_generation_command.txt  ³üâÔ2 œ ®�”×Ñ2V T -RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\prefab_config.json  ŸçÕ½Ò2  ( °�”×Ñ2[ +RC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\prefab_config.json  ³üâÔ2  ( °�”×Ñ2[ Y -WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\symbol_folder_index.txt  ŸçÕ½Ò2  N ·�”×Ñ2V +WC:\Users\Alex\eatvio_app\android\app\.cxx\Debug\5y6c3x6h\x86_64\symbol_folder_index.txt  ³üâÔ2  N ·�”×Ñ2V T -RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ŸçÕ½Ò2 § �¶ðÖÑ2 \ No newline at end of file +RC:\Users\Alex\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ³üâÔ2 § �¶ðÖÑ2 \ No newline at end of file diff --git a/assets/icons/mir.svg b/assets/icons/mir.svg new file mode 100644 index 00000000..6fcc4027 --- /dev/null +++ b/assets/icons/mir.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/lib/features/menu/presentation/pages/menu_screen.dart b/lib/features/menu/presentation/pages/menu_screen.dart index 5b6b2e8c..45728f70 100644 --- a/lib/features/menu/presentation/pages/menu_screen.dart +++ b/lib/features/menu/presentation/pages/menu_screen.dart @@ -57,18 +57,17 @@ class MenuScreen extends StatelessWidget { onTap: () => GoRouter.of(context).push(MyPlansScreen.path), ), _divider(context), - if (!profileModel.roles.contains('consultant')) - _tile( - leading: 'assets/icons/finance.svg', - title: 'Мои финанÑ�Ñ‹', - onTap: () => GoRouter.of(context).pushNamed('consultantFinanceScreen'), - ) - else - _tile( - leading: 'assets/icons/finance.svg', - title: 'Мои финанÑ�Ñ‹', - onTap: () => GoRouter.of(context).pushNamed('userFinanceScreen'), - ), + _tile( + leading: 'assets/icons/finance.svg', + title: 'Мои финанÑ�Ñ‹', + onTap: () { + if (profileModel.roles.contains('consultant')) { + GoRouter.of(context).pushNamed('consultantFinanceScreen'); + } else { + GoRouter.of(context).pushNamed('userFinanceScreen'); + } + }, + ), _divider(context), _tile( leading: 'assets/icons/calendar.svg', diff --git a/lib/features/my_finance/presentation/pages/card_settings.dart b/lib/features/my_finance/presentation/pages/card_settings.dart index 9b453065..abba517d 100644 --- a/lib/features/my_finance/presentation/pages/card_settings.dart +++ b/lib/features/my_finance/presentation/pages/card_settings.dart @@ -1,4 +1,6 @@ +import 'package:eatvio_app/core/theme/theme_helper.dart'; import 'package:flutter/material.dart'; +import 'package:flutter_svg/flutter_svg.dart'; class CardSettingsScreen extends StatelessWidget { const CardSettingsScreen({super.key}); @@ -17,7 +19,95 @@ class CardSettingsScreen extends StatelessWidget { centerTitle: true, ), body: Column( - children: [], + children: [ + const SizedBox(height: 16), + Material( + borderRadius: BorderRadius.circular(12), + color: Colors.white, + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const SizedBox(height: 16), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16), + child: Text( + 'ПривÑ�занные карты', + style: TextStyle( + color: Color(0xFF323F4B), + fontSize: 18, + fontWeight: FontWeight.w600, + height: 1, + ), + ), + ), + const SizedBox(height: 8), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16), + child: Text( + 'Выплату будут производитьÑ�Ñ�\nна карту ** 0278', + style: TextStyle( + color: Color(0xFF323F4B), + fontSize: 16, + fontWeight: FontWeight.w500, + height: 1, + ), + ), + ), + const SizedBox(height: 16), + SingleChildScrollView( + padding: EdgeInsets.symmetric(horizontal: 16), + scrollDirection: Axis.horizontal, + child: Row( + children: [ + _card(true), + const SizedBox(width: 8), + _card(), + const SizedBox(width: 8), + _card(), + ], + ), + ), + const SizedBox(height: 16), + ], + ), + ), + ], + ), + ); + } + + _card([bool isSelected = false]) { + return Container( + padding: EdgeInsets.all(4), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(8), + border: Border.all( + color: isSelected ? appTheme.blueA400 : Color(0xFFF1F2F6), + width: 2, + ), + ), + child: Container( + width: 148, + padding: EdgeInsets.all(10), + decoration: BoxDecoration( + color: Color(0xFFF1F2F6), + borderRadius: BorderRadius.circular(4), + ), + child: Column( + children: [ + SvgPicture.asset('assets/icons/mir.svg'), + const SizedBox(height: 24), + Text( + '** 0278', + style: TextStyle( + color: Color(0xFF323F4B), + fontSize: 14, + height: 1, + fontWeight: FontWeight.w600, + ), + ), + ], + ), ), ); }