├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── AppDelegate.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── main.m │ ├── AppDelegate.m │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj └── .gitignore ├── readme ├── 1.png ├── 2.png ├── main.gif └── youtube.png ├── assets └── images │ ├── ad1.png │ ├── ad2.png │ ├── ad3.png │ └── ad4.png ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── puzzleleaf │ │ │ │ │ └── kakao_bank │ │ │ │ │ └── MainActivity.java │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── lib ├── blocs │ └── home │ │ └── home_cubit.dart ├── presentation │ ├── main │ │ ├── components │ │ │ ├── more_button.dart │ │ │ ├── main_app_bar.dart │ │ │ ├── main_ad_card.dart │ │ │ ├── savings_account_card.dart │ │ │ └── checking_account_card.dart │ │ └── main_page.dart │ ├── catalog │ │ ├── components │ │ │ ├── catalog_app_bar.dart │ │ │ ├── circle_indicator.dart │ │ │ ├── catalog_tab_bar.dart │ │ │ ├── catalog_ad_card.dart │ │ │ ├── catalog_alliance_card.dart │ │ │ ├── catalog_service_card.dart │ │ │ ├── catalog_loan_card.dart │ │ │ └── catalog_account_card.dart │ │ └── catalog_page.dart │ ├── notification │ │ ├── components │ │ │ ├── notification_app_bar.dart │ │ │ ├── notification_list.dart │ │ │ ├── old_notification_list.dart │ │ │ └── notification_item.dart │ │ └── notification_page.dart │ ├── more │ │ ├── components │ │ │ ├── more_menu_item.dart │ │ │ ├── more_app_bar.dart │ │ │ └── more_menu_list.dart │ │ └── more_page.dart │ └── home │ │ └── home_page.dart └── main.dart ├── .metadata ├── .gitignore ├── README.md ├── LICENSE ├── test └── widget_test.dart ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /readme/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/readme/1.png -------------------------------------------------------------------------------- /readme/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/readme/2.png -------------------------------------------------------------------------------- /readme/main.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/readme/main.gif -------------------------------------------------------------------------------- /readme/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/readme/youtube.png -------------------------------------------------------------------------------- /assets/images/ad1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/assets/images/ad1.png -------------------------------------------------------------------------------- /assets/images/ad2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/assets/images/ad2.png -------------------------------------------------------------------------------- /assets/images/ad3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/assets/images/ad3.png -------------------------------------------------------------------------------- /assets/images/ad4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/assets/images/ad4.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | android.enableR8=true 5 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzleleaf/flutter_kakao_bank_ui_clone/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/puzzleleaf/kakao_bank/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.puzzleleaf.kakao_bank; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /lib/blocs/home/home_cubit.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_bloc/flutter_bloc.dart'; 2 | 3 | class HomeCubit extends Cubit { 4 | HomeCubit() : super(0); 5 | 6 | void getMain() => emit(0); 7 | void getCatalog() => emit(1); 8 | void getNotification() => emit(2); 9 | void getMore() => emit(3); 10 | } -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: d408d302e22179d598f467e11da5dd968dbdc9ec 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /lib/presentation/main/components/more_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MoreButton extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | decoration: BoxDecoration( 8 | borderRadius: BorderRadius.circular(10), 9 | color: Color(0xff2B3044), 10 | ), 11 | height: 60, 12 | child: Icon( 13 | Icons.add, 14 | size: 35, 15 | color: Color(0xff6A6E7A), 16 | ), 17 | ); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogAppBar extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | height: 50, 8 | child: Row( 9 | children: [ 10 | Text( 11 | 'Catalog', 12 | style: TextStyle( 13 | fontWeight: FontWeight.bold, 14 | color: Colors.black, 15 | fontSize: 20, 16 | ), 17 | ), 18 | ], 19 | ), 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.5.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /lib/presentation/notification/components/notification_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class NotificationAppBar extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | height: 50, 8 | child: Row( 9 | children: [ 10 | Text( 11 | 'Notification', 12 | style: TextStyle( 13 | fontWeight: FontWeight.bold, 14 | color: Colors.black, 15 | fontSize: 20, 16 | ), 17 | ), 18 | ], 19 | ), 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /lib/presentation/more/components/more_menu_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MoreMenuItem extends StatelessWidget { 4 | 5 | final String text; 6 | 7 | const MoreMenuItem({Key key, this.text}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Container( 12 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), 13 | child: Row( 14 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 15 | children: [ 16 | Text(text, style: TextStyle( 17 | fontSize: 16, 18 | fontWeight: FontWeight.bold, 19 | ),), 20 | Icon(Icons.keyboard_arrow_right_outlined), 21 | ], 22 | ), 23 | ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Flutter KakaoBank UI Clone 2 | 3 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) 4 | 5 | The Kakao Bank app is a banking application in Korea. 6 |

7 | 8 |

9 | 10 |

11 | 12 |

13 | 14 | 15 | ## Youtube 16 | [Flutter KakaoBank UI Clone - Speed Code](https://youtu.be/FfQOeCwY-Oc) 17 |

18 | 19 |

20 | 21 | ## Reference 22 | * KakaoBank : https://www.kakaobank.com 23 | 24 | 25 | ## Packages 26 | * flutter_bloc : https://pub.dev/packages/flutter_bloc 27 | 28 | ## Keyword 29 | * SliverAppBar, SliverList, SliverChildListDelegate, TabBar, CustomScrollView, PageStorageKey, GlobalKey, ensureVisible, findRenderObject 30 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc/flutter_bloc.dart'; 3 | import 'package:kakao_bank/blocs/home/home_cubit.dart'; 4 | import 'package:kakao_bank/presentation/home/home_page.dart'; 5 | 6 | void main() { 7 | runApp(MyApp()); 8 | } 9 | 10 | class MyApp extends StatelessWidget { 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | title: 'Flutter Kakaobank', 15 | debugShowCheckedModeBanner: false, 16 | theme: ThemeData( 17 | appBarTheme: AppBarTheme( 18 | color: Colors.transparent, 19 | elevation: 0.0, 20 | ), 21 | ), 22 | routes: { 23 | '/': (context) { 24 | return BlocProvider( 25 | create: (_) => HomeCubit(), 26 | child: HomePage(), 27 | ); 28 | } 29 | }, 30 | ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 puzzleleaf 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:kakao_bank/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/circle_indicator.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CircleIndicator extends StatelessWidget { 4 | final int count; 5 | final int current; 6 | 7 | const CircleIndicator({Key key, this.count, this.current}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Row( 12 | mainAxisAlignment: MainAxisAlignment.center, 13 | children: [ 14 | for (var i = 0; i < count; i++) 15 | i == current ? selectedDot() : normalDot() 16 | ], 17 | ); 18 | } 19 | 20 | Widget selectedDot() { 21 | return Container( 22 | margin: const EdgeInsets.symmetric(horizontal: 5), 23 | width: 8, 24 | height: 8, 25 | decoration: BoxDecoration( 26 | borderRadius: BorderRadius.circular(80), 27 | color: Colors.white, 28 | ), 29 | ); 30 | } 31 | 32 | Widget normalDot() { 33 | return Container( 34 | margin: const EdgeInsets.symmetric(horizontal: 5), 35 | width: 8, 36 | height: 8, 37 | decoration: BoxDecoration( 38 | borderRadius: BorderRadius.circular(80), 39 | color: Colors.white.withOpacity(0.4), 40 | ), 41 | ); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /lib/presentation/more/components/more_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MoreAppBar extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | height: 50, 8 | child: Row( 9 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 10 | children: [ 11 | Row( 12 | children: [ 13 | Text( 14 | 'Puzzleleaf', 15 | style: TextStyle( 16 | fontWeight: FontWeight.bold, 17 | color: Colors.black, 18 | fontSize: 20, 19 | ), 20 | ), 21 | Icon( 22 | Icons.keyboard_arrow_right, 23 | color: Colors.black.withOpacity(0.4), 24 | ), 25 | ], 26 | ), 27 | Container( 28 | padding: const EdgeInsets.symmetric( 29 | horizontal: 12, 30 | vertical: 6, 31 | ), 32 | decoration: BoxDecoration( 33 | color: Colors.black.withOpacity(0.1), 34 | borderRadius: BorderRadius.circular(20), 35 | ), 36 | child: Text( 37 | 'Setting', 38 | style: TextStyle( 39 | fontSize: 12, 40 | color: Colors.black, 41 | ), 42 | ), 43 | ), 44 | ], 45 | ), 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /lib/presentation/main/components/main_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MainAppBar extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | height: 50, 8 | child: Row( 9 | children: [ 10 | Text( 11 | 'Puzzleleaf', 12 | style: TextStyle( 13 | fontWeight: FontWeight.bold, 14 | color: Colors.white, 15 | fontSize: 20, 16 | ), 17 | ), 18 | SizedBox( 19 | width: 5.0, 20 | ), 21 | Container( 22 | padding: const EdgeInsets.symmetric( 23 | horizontal: 12, 24 | vertical: 6, 25 | ), 26 | decoration: BoxDecoration( 27 | color: Color(0xff2B3044), 28 | borderRadius: BorderRadius.circular(20), 29 | ), 30 | child: Text( 31 | 'My Account', 32 | style: TextStyle( 33 | fontSize: 12, 34 | color: Colors.white, 35 | ), 36 | ), 37 | ), 38 | Spacer(), 39 | CircleAvatar( 40 | backgroundImage: NetworkImage( 41 | 'https://yt3.ggpht.com/a-/AOh14GidBGTEH9UxT-eVgchRp5kISMZYFjSjBAnqWNWr4Q=s100-c-k-c0xffffffff-no-rj-mo'), 42 | radius: 18, 43 | ), 44 | ], 45 | ), 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_tab_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogTabBar extends StatelessWidget { 4 | 5 | final TabController tabController; 6 | final Function onTap; 7 | 8 | const CatalogTabBar({Key key, this.tabController, this.onTap}) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return TabBar( 13 | controller: tabController, 14 | isScrollable: true, 15 | onTap: onTap, 16 | unselectedLabelColor: Colors.grey, 17 | labelPadding: const EdgeInsets.symmetric(horizontal: 10), 18 | indicatorColor: Colors.black, 19 | indicatorWeight: 2.0, 20 | labelColor: Colors.black, 21 | tabs: [ 22 | Tab( 23 | child: Text( 24 | "All", 25 | style: TextStyle(fontWeight: FontWeight.w600), 26 | ), 27 | ), 28 | Tab( 29 | child: Text( 30 | "Account", 31 | style: TextStyle(fontWeight: FontWeight.w600), 32 | ), 33 | ), 34 | Tab( 35 | child: Text( 36 | "Loan", 37 | style: TextStyle(fontWeight: FontWeight.w600), 38 | ), 39 | ), 40 | Tab( 41 | child: Text( 42 | "Service", 43 | style: TextStyle(fontWeight: FontWeight.w600), 44 | ), 45 | ), 46 | Tab( 47 | child: Text( 48 | "Alliance", 49 | style: TextStyle(fontWeight: FontWeight.w600), 50 | ), 51 | ), 52 | ], 53 | indicatorSize: TabBarIndicatorSize.label, 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /lib/presentation/main/components/main_ad_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MainAdCard extends StatelessWidget { 4 | final String title; 5 | final String content; 6 | 7 | MainAdCard({this.title, this.content}); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Container( 12 | decoration: BoxDecoration( 13 | borderRadius: BorderRadius.circular(10), 14 | color: Colors.white, 15 | ), 16 | height: 70, 17 | child: Padding( 18 | padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), 19 | child: Row( 20 | children: [ 21 | Column( 22 | mainAxisAlignment: MainAxisAlignment.center, 23 | crossAxisAlignment: CrossAxisAlignment.start, 24 | children: [ 25 | Text( 26 | title, 27 | style: TextStyle( 28 | fontWeight: FontWeight.w500, 29 | ), 30 | ), 31 | SizedBox( 32 | height: 3, 33 | ), 34 | Text( 35 | content, 36 | style: TextStyle( 37 | fontWeight: FontWeight.bold, 38 | ), 39 | ), 40 | ], 41 | ), 42 | Spacer(), 43 | CircleAvatar( 44 | backgroundImage: NetworkImage( 45 | 'https://yt3.ggpht.com/a-/AOh14GidBGTEH9UxT-eVgchRp5kISMZYFjSjBAnqWNWr4Q=s100-c-k-c0xffffffff-no-rj-mo'), 46 | ), 47 | ], 48 | ), 49 | ), 50 | ); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | kakao_bank 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /lib/presentation/notification/notification_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/notification/components/notification_app_bar.dart'; 3 | import 'package:kakao_bank/presentation/notification/components/notification_list.dart'; 4 | import 'package:kakao_bank/presentation/notification/components/old_notification_list.dart'; 5 | 6 | class NotificationPage extends StatelessWidget { 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | backgroundColor: Colors.white, 11 | body: SafeArea( 12 | child: Container( 13 | alignment: Alignment.topCenter, 14 | child: Container( 15 | padding: const EdgeInsets.only(left: 16, right: 16, top: 16), 16 | constraints: BoxConstraints( 17 | maxWidth: 632, 18 | ), 19 | child: CustomScrollView( 20 | key: PageStorageKey("notification"), 21 | slivers: [ 22 | SliverAppBar( 23 | titleSpacing: 10, 24 | elevation: 0, 25 | pinned: true, 26 | backgroundColor: Colors.white, 27 | title: NotificationAppBar(), 28 | ), 29 | SliverList( 30 | delegate: SliverChildListDelegate.fixed( 31 | [ 32 | NotificationList(), 33 | SizedBox(height: 20,), 34 | OldNotificationList(), 35 | ], 36 | ), 37 | ), 38 | ], 39 | ), 40 | ), 41 | ), 42 | ), 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 29 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.puzzleleaf.kakao_bank" 37 | minSdkVersion 16 38 | targetSdkVersion 29 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | } 42 | 43 | buildTypes { 44 | release { 45 | // TODO: Add your own signing config for the release build. 46 | // Signing with the debug keys for now, so `flutter run --release` works. 47 | signingConfig signingConfigs.debug 48 | } 49 | } 50 | } 51 | 52 | flutter { 53 | source '../..' 54 | } 55 | -------------------------------------------------------------------------------- /lib/presentation/notification/components/notification_list.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/notification/components/notification_item.dart'; 3 | 4 | class NotificationList extends StatelessWidget { 5 | @override 6 | Widget build(BuildContext context) { 7 | return Padding( 8 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), 9 | child: Column( 10 | crossAxisAlignment: CrossAxisAlignment.start, 11 | children: [ 12 | Text( 13 | 'This Week', 14 | style: TextStyle( 15 | fontWeight: FontWeight.bold, 16 | color: Colors.black, 17 | fontSize: 16, 18 | ), 19 | ), 20 | SizedBox(height: 20,), 21 | NotificationItem( 22 | title: 'Credit Information Change Notice', 23 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 24 | icon: Icons.mail_outline, 25 | date: '10th October 2020', 26 | ), 27 | SizedBox(height: 20,), 28 | NotificationItem( 29 | title: 'Credit Information Change Notice', 30 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 31 | icon: Icons.add_alert, 32 | date: '9th October 2020', 33 | ), 34 | SizedBox(height: 20,), 35 | NotificationItem( 36 | title: 'Credit Information Change Notice', 37 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 38 | icon: Icons.notifications_active_outlined, 39 | date: '8th October 2020', 40 | ), 41 | ], 42 | ), 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /lib/presentation/notification/components/old_notification_list.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/notification/components/notification_item.dart'; 3 | 4 | class OldNotificationList extends StatelessWidget { 5 | @override 6 | Widget build(BuildContext context) { 7 | return Padding( 8 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), 9 | child: Column( 10 | crossAxisAlignment: CrossAxisAlignment.start, 11 | children: [ 12 | Text( 13 | 'Previous Notice', 14 | style: TextStyle( 15 | fontWeight: FontWeight.bold, 16 | color: Colors.black, 17 | fontSize: 16, 18 | ), 19 | ), 20 | SizedBox(height: 20,), 21 | NotificationItem( 22 | title: 'Credit Information Change Notice', 23 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 24 | icon: Icons.notifications_active_outlined, 25 | date: '8th October 2020', 26 | ), 27 | SizedBox(height: 20,), 28 | NotificationItem( 29 | title: 'Credit Information Change Notice', 30 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 31 | icon: Icons.add_alert, 32 | date: '2th October 2020', 33 | ), 34 | SizedBox(height: 20,), 35 | NotificationItem( 36 | title: 'Credit Information Change Notice', 37 | content: "There is a change in credit information. Please check your credit card and debit card registration information.", 38 | icon: Icons.notifications_active_outlined, 39 | date: '1th October 2020', 40 | ), 41 | ], 42 | ), 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_ad_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/catalog/components/circle_indicator.dart'; 3 | 4 | class CatalogAdCard extends StatefulWidget { 5 | 6 | const CatalogAdCard({Key key}) : super(key: key); 7 | 8 | @override 9 | _CatalogAdCardState createState() => _CatalogAdCardState(); 10 | } 11 | 12 | class _CatalogAdCardState extends State { 13 | PageController _pageController; 14 | int currentPage = 0; 15 | 16 | 17 | @override 18 | void initState() { 19 | _pageController = PageController(); 20 | super.initState(); 21 | } 22 | 23 | @override 24 | void dispose() { 25 | _pageController.dispose(); 26 | super.dispose(); 27 | } 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return Container( 32 | width: MediaQuery.of(context).size.width, 33 | height: 300, 34 | child: Stack( 35 | children: [ 36 | ClipRRect( 37 | borderRadius: BorderRadius.circular(10), 38 | child: PageView.builder( 39 | controller: _pageController, 40 | onPageChanged: (page) { 41 | setState(() { 42 | currentPage = page; 43 | }); 44 | }, 45 | key: PageStorageKey("catalog_ad_card"), 46 | scrollDirection: Axis.horizontal, 47 | itemBuilder: (context, index) { 48 | return Image.asset( 49 | 'assets/images/ad${index + 1}.png', 50 | fit: BoxFit.cover, 51 | ); 52 | }, 53 | itemCount: 4, 54 | ), 55 | ), 56 | Positioned( 57 | top: 20, 58 | right: 20, 59 | child: CircleIndicator( 60 | count: 4, 61 | current: currentPage, 62 | ), 63 | ), 64 | ], 65 | ), 66 | ); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /lib/presentation/notification/components/notification_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class NotificationItem extends StatelessWidget { 4 | final String title; 5 | final String content; 6 | final IconData icon; 7 | final String date; 8 | 9 | const NotificationItem({Key key, this.title, this.content, this.icon, this.date}) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Column( 14 | children: [ 15 | Row( 16 | crossAxisAlignment: CrossAxisAlignment.start, 17 | children: [ 18 | Container( 19 | width: 30, 20 | margin: const EdgeInsets.only(right: 10), 21 | child: Icon(icon), 22 | ), 23 | Text( 24 | title, 25 | style: TextStyle( 26 | fontWeight: FontWeight.bold, 27 | fontSize: 16, 28 | ), 29 | ), 30 | ], 31 | ), 32 | Row( 33 | children: [ 34 | SizedBox( 35 | width: 40, 36 | ), 37 | Expanded( 38 | child: Column( 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | SizedBox( 42 | height: 8, 43 | ), 44 | Text( 45 | content, 46 | ), 47 | SizedBox( 48 | height: 8, 49 | ), 50 | Text( 51 | date, 52 | style: TextStyle( 53 | color: Colors.black.withOpacity(0.4), 54 | fontWeight: FontWeight.w500, 55 | fontSize: 12, 56 | ), 57 | ), 58 | ], 59 | ), 60 | ), 61 | Container( 62 | child: Icon( 63 | Icons.keyboard_arrow_right, 64 | ), 65 | ), 66 | ], 67 | ), 68 | ], 69 | ); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /lib/presentation/main/components/savings_account_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class SavingAccountCard extends StatelessWidget { 4 | final Color color; 5 | 6 | const SavingAccountCard({Key key, this.color}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Container( 11 | decoration: BoxDecoration( 12 | borderRadius: BorderRadius.circular(10), 13 | color: color, 14 | ), 15 | width: MediaQuery.of(context).size.width, 16 | height: 160, 17 | child: Padding( 18 | padding: const EdgeInsets.only( 19 | left: 20, 20 | right: 20, 21 | top: 20, 22 | bottom: 30, 23 | ), 24 | child: Column( 25 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 26 | crossAxisAlignment: CrossAxisAlignment.end, 27 | children: [ 28 | Row( 29 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 30 | children: [ 31 | Column( 32 | crossAxisAlignment: CrossAxisAlignment.start, 33 | children: [ 34 | Text( 35 | 'Savings Account', 36 | style: TextStyle( 37 | fontWeight: FontWeight.bold, 38 | ), 39 | ), 40 | SizedBox( 41 | height: 5.0, 42 | ), 43 | Text( 44 | '1234-56-78901112', 45 | style: TextStyle( 46 | fontSize: 11, 47 | color: Colors.black.withOpacity(0.4), 48 | ), 49 | ) 50 | ], 51 | ), 52 | Icon( 53 | Icons.more_vert, 54 | size: 25, 55 | color: Colors.black.withOpacity(0.4), 56 | ) 57 | ], 58 | ), 59 | Text( 60 | "\$ 1,234,567", 61 | style: TextStyle( 62 | fontWeight: FontWeight.bold, 63 | fontSize: 20, 64 | color: Colors.black, 65 | ), 66 | ), 67 | ], 68 | ), 69 | ), 70 | ); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /lib/presentation/more/components/more_menu_list.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MoreMenuList extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10), 8 | width: MediaQuery.of(context).size.width, 9 | child: Row( 10 | children: [ 11 | Expanded( 12 | child: Column( 13 | children: [ 14 | Icon( 15 | Icons.phone, 16 | size: 40, 17 | ), 18 | SizedBox( 19 | height: 10, 20 | ), 21 | Text( 22 | "Customer Service", 23 | style: TextStyle(fontSize: 10), 24 | ), 25 | ], 26 | ), 27 | ), 28 | Expanded( 29 | child: Column( 30 | children: [ 31 | Icon( 32 | Icons.lock, 33 | size: 40, 34 | ), 35 | SizedBox( 36 | height: 10, 37 | ), 38 | Text( 39 | "Security", 40 | style: TextStyle(fontSize: 10), 41 | ), 42 | ], 43 | ), 44 | ), 45 | Expanded( 46 | child: Column( 47 | children: [ 48 | Icon( 49 | Icons.add_alert, 50 | size: 40, 51 | ), 52 | SizedBox( 53 | height: 10, 54 | ), 55 | Text( 56 | "Notice", 57 | style: TextStyle(fontSize: 10), 58 | ), 59 | ], 60 | ), 61 | ), 62 | Expanded( 63 | child: Column( 64 | children: [ 65 | Icon( 66 | Icons.card_giftcard, 67 | size: 40, 68 | ), 69 | SizedBox( 70 | height: 10, 71 | ), 72 | Text( 73 | "Event", 74 | style: TextStyle(fontSize: 10), 75 | ), 76 | ], 77 | ), 78 | ), 79 | ], 80 | ), 81 | ); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /lib/presentation/main/main_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/main/components/checking_account_card.dart'; 3 | import 'package:kakao_bank/presentation/main/components/main_ad_card.dart'; 4 | import 'package:kakao_bank/presentation/main/components/main_app_bar.dart'; 5 | import 'package:kakao_bank/presentation/main/components/more_button.dart'; 6 | import 'package:kakao_bank/presentation/main/components/savings_account_card.dart'; 7 | 8 | class MainPage extends StatelessWidget { 9 | @override 10 | Widget build(BuildContext context) { 11 | return Scaffold( 12 | backgroundColor: Color(0xff343B57), 13 | body: SafeArea( 14 | child: Container( 15 | alignment: Alignment.topCenter, 16 | child: Container( 17 | padding: const EdgeInsets.only(left: 16, right: 16, top: 16), 18 | constraints: BoxConstraints( 19 | maxWidth: 632, 20 | ), 21 | child: CustomScrollView( 22 | key: PageStorageKey("main"), 23 | slivers: [ 24 | SliverAppBar( 25 | titleSpacing: 10, 26 | title: MainAppBar(), 27 | backgroundColor: Color(0xff343B57), 28 | pinned: true, 29 | ), 30 | SliverList( 31 | delegate: SliverChildListDelegate([ 32 | SizedBox(height: 20), 33 | MainAdCard( 34 | title: "Puzzleleaf Youtube", 35 | content: "If you want to see the Flutter video!", 36 | ), 37 | SizedBox(height: 15), 38 | CheckingAccountCard(), 39 | SizedBox(height: 15), 40 | SavingAccountCard( 41 | color: Color(0xffF1A8AF), 42 | ), 43 | SizedBox(height: 15), 44 | SavingAccountCard( 45 | color: Color(0xffD16562), 46 | ), 47 | SizedBox(height: 15), 48 | SavingAccountCard( 49 | color: Color(0xffDD8369), 50 | ), 51 | SizedBox(height: 15), 52 | MoreButton(), 53 | SizedBox(height: 50), 54 | ]), 55 | ) 56 | ], 57 | ), 58 | ), 59 | ), 60 | ), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /lib/presentation/more/more_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:kakao_bank/presentation/more/components/more_app_bar.dart'; 3 | import 'package:kakao_bank/presentation/more/components/more_menu_item.dart'; 4 | import 'package:kakao_bank/presentation/more/components/more_menu_list.dart'; 5 | 6 | class MorePage extends StatelessWidget { 7 | @override 8 | Widget build(BuildContext context) { 9 | return Scaffold( 10 | backgroundColor: Colors.white, 11 | body: SafeArea( 12 | child: Container( 13 | alignment: Alignment.topCenter, 14 | child: Container( 15 | padding: const EdgeInsets.only(left: 16, right: 16, top: 16), 16 | constraints: BoxConstraints( 17 | maxWidth: 632, 18 | ), 19 | child: CustomScrollView( 20 | key: PageStorageKey("more"), 21 | slivers: [ 22 | SliverAppBar( 23 | titleSpacing: 10, 24 | elevation: 0, 25 | pinned: true, 26 | backgroundColor: Colors.white, 27 | title: MoreAppBar(), 28 | ), 29 | SliverList( 30 | delegate: SliverChildListDelegate.fixed( 31 | [ 32 | MoreMenuList(), 33 | Divider( 34 | height: 20, 35 | ), 36 | MoreMenuItem( 37 | text: "My Account", 38 | ), 39 | MoreMenuItem( 40 | text: "My Credit Information", 41 | ), 42 | Divider( 43 | height: 20, 44 | ), 45 | MoreMenuItem( 46 | text: "Account Transfers", 47 | ), 48 | MoreMenuItem( 49 | text: "Account Type", 50 | ), 51 | MoreMenuItem( 52 | text: "Annual Fee", 53 | ), 54 | MoreMenuItem( 55 | text: "Banking Fees", 56 | ), 57 | MoreMenuItem( 58 | text: "Bill Payment", 59 | ), 60 | ], 61 | ), 62 | ), 63 | ], 64 | ), 65 | ), 66 | ), 67 | ), 68 | ); 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /lib/presentation/main/components/checking_account_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CheckingAccountCard extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return Container( 7 | decoration: BoxDecoration( 8 | borderRadius: BorderRadius.circular(10), 9 | color: Color(0xffFAE04B), 10 | ), 11 | width: MediaQuery.of(context).size.width, 12 | height: 220, 13 | child: Padding( 14 | padding: const EdgeInsets.only( 15 | left: 20, 16 | right: 20, 17 | top: 20, 18 | bottom: 30, 19 | ), 20 | child: Column( 21 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 22 | children: [ 23 | Row( 24 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 25 | children: [ 26 | Column( 27 | crossAxisAlignment: CrossAxisAlignment.start, 28 | children: [ 29 | Text( 30 | 'Checking Account ★', 31 | style: TextStyle( 32 | fontWeight: FontWeight.bold, 33 | ), 34 | ), 35 | SizedBox( 36 | height: 5.0, 37 | ), 38 | Text( 39 | '1234-56-78901112', 40 | style: TextStyle( 41 | fontSize: 11, 42 | color: Colors.black.withOpacity(0.4), 43 | ), 44 | ) 45 | ], 46 | ), 47 | Icon( 48 | Icons.more_vert, 49 | size: 25, 50 | color: Colors.black.withOpacity(0.4), 51 | ) 52 | ], 53 | ), 54 | Text( 55 | "\$ 1,234,567", 56 | style: TextStyle( 57 | fontWeight: FontWeight.bold, 58 | fontSize: 25, 59 | color: Colors.black, 60 | ), 61 | ), 62 | Row( 63 | children: [ 64 | Expanded( 65 | child: Text( 66 | "Transfer", 67 | textAlign: TextAlign.center, 68 | ), 69 | ), 70 | Text( 71 | "|", 72 | style: TextStyle( 73 | color: Color(0xffD8C441), 74 | ), 75 | ), 76 | Expanded( 77 | child: Text( 78 | "details", 79 | textAlign: TextAlign.center, 80 | ), 81 | ) 82 | ], 83 | ), 84 | ], 85 | ), 86 | ), 87 | ); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /lib/presentation/home/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc/flutter_bloc.dart'; 3 | import 'package:kakao_bank/blocs/home/home_cubit.dart'; 4 | import 'package:kakao_bank/presentation/catalog/catalog_page.dart'; 5 | import 'package:kakao_bank/presentation/main/main_page.dart'; 6 | import 'package:kakao_bank/presentation/more/more_page.dart'; 7 | import 'package:kakao_bank/presentation/notification/notification_page.dart'; 8 | 9 | class HomePage extends StatelessWidget { 10 | @override 11 | Widget build(BuildContext context) { 12 | return BlocBuilder( 13 | builder: (_, state) { 14 | return WillPopScope( 15 | child: Scaffold( 16 | bottomNavigationBar: BottomNavigationBar( 17 | onTap: (index) { 18 | _changeBottomNav(_, index); 19 | }, 20 | currentIndex: state, 21 | type: BottomNavigationBarType.fixed, 22 | backgroundColor: Colors.white, 23 | showSelectedLabels: false, 24 | showUnselectedLabels: false, 25 | selectedItemColor: Colors.black, 26 | unselectedItemColor: Colors.grey, 27 | items: [ 28 | BottomNavigationBarItem( 29 | icon: Icon( 30 | Icons.person, 31 | ), 32 | label: "", 33 | ), 34 | BottomNavigationBarItem( 35 | icon: Icon( 36 | Icons.apps, 37 | ), 38 | label: "", 39 | ), 40 | BottomNavigationBarItem( 41 | icon: Icon( 42 | Icons.notifications, 43 | ), 44 | label: "", 45 | ), 46 | BottomNavigationBarItem( 47 | icon: Icon( 48 | Icons.more_horiz, 49 | ), 50 | label: "", 51 | ), 52 | ], 53 | ), 54 | body: _buildBody(state), 55 | ), 56 | ); 57 | }, 58 | ); 59 | } 60 | 61 | void _changeBottomNav(BuildContext context, int index) { 62 | switch (index) { 63 | case 0: 64 | context.bloc().getMain(); 65 | break; 66 | case 1: 67 | context.bloc().getCatalog(); 68 | break; 69 | case 2: 70 | context.bloc().getNotification(); 71 | break; 72 | case 3: 73 | context.bloc().getMore(); 74 | break; 75 | } 76 | } 77 | 78 | Widget _buildBody(index) { 79 | switch (index) { 80 | case 0: 81 | return MainPage(); 82 | case 1: 83 | return CatalogPage(); 84 | case 2: 85 | return NotificationPage(); 86 | case 3: 87 | return MorePage(); 88 | } 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: kakao_bank 2 | description: A new Flutter application. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | 28 | # The following adds the Cupertino Icons font to your application. 29 | # Use with the CupertinoIcons class for iOS style icons. 30 | cupertino_icons: ^1.0.0 31 | flutter_bloc: ^6.0.6 32 | 33 | dev_dependencies: 34 | flutter_test: 35 | sdk: flutter 36 | 37 | # For information on the generic Dart part of this file, see the 38 | # following page: https://dart.dev/tools/pub/pubspec 39 | 40 | # The following section is specific to Flutter. 41 | flutter: 42 | 43 | # The following line ensures that the Material Icons font is 44 | # included with your application, so that you can use the icons in 45 | # the material Icons class. 46 | uses-material-design: true 47 | 48 | # To add assets to your application, add an assets section, like this: 49 | assets: 50 | - assets/images/ 51 | 52 | # An image asset can refer to one or more resolution-specific "variants", see 53 | # https://flutter.dev/assets-and-images/#resolution-aware. 54 | 55 | # For details regarding adding assets from package dependencies, see 56 | # https://flutter.dev/assets-and-images/#from-packages 57 | 58 | # To add custom fonts to your application, add a fonts section here, 59 | # in this "flutter" section. Each entry in this list should have a 60 | # "family" key with the font family name, and a "fonts" key with a 61 | # list giving the asset and other descriptors for the font. For 62 | # example: 63 | # fonts: 64 | # - family: Schyler 65 | # fonts: 66 | # - asset: fonts/Schyler-Regular.ttf 67 | # - asset: fonts/Schyler-Italic.ttf 68 | # style: italic 69 | # - family: Trajan Pro 70 | # fonts: 71 | # - asset: fonts/TrajanPro.ttf 72 | # - asset: fonts/TrajanPro_Bold.ttf 73 | # weight: 700 74 | # 75 | # For details regarding fonts from package dependencies, 76 | # see https://flutter.dev/custom-fonts/#from-packages 77 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_alliance_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogAllianceCard extends StatelessWidget { 4 | const CatalogAllianceCard({Key key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Padding( 9 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 20), 10 | child: Column( 11 | children: [ 12 | Container( 13 | height: 50, 14 | child: Row( 15 | children: [ 16 | Text( 17 | 'Alliance', 18 | style: TextStyle( 19 | fontWeight: FontWeight.bold, 20 | color: Colors.black, 21 | fontSize: 18, 22 | ), 23 | ), 24 | ], 25 | ), 26 | ), 27 | SizedBox( 28 | height: 20, 29 | ), 30 | Row( 31 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 32 | children: [ 33 | Expanded( 34 | child: Column( 35 | crossAxisAlignment: CrossAxisAlignment.start, 36 | children: [ 37 | Text( 38 | "My Credit Information", 39 | style: TextStyle( 40 | fontWeight: FontWeight.bold, 41 | ), 42 | ), 43 | SizedBox( 44 | height: 5, 45 | ), 46 | Text( 47 | "Secure and easy my credit information", 48 | style: TextStyle( 49 | color: Colors.black.withOpacity(0.6), 50 | fontWeight: FontWeight.w500, 51 | ), 52 | ) 53 | ], 54 | ), 55 | ), 56 | Icon(Icons.keyboard_arrow_right), 57 | ], 58 | ), 59 | Divider( 60 | height: 30, 61 | ), 62 | Row( 63 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 64 | children: [ 65 | Expanded( 66 | child: Column( 67 | crossAxisAlignment: CrossAxisAlignment.start, 68 | children: [ 69 | Text( 70 | "My Credit Information", 71 | style: TextStyle( 72 | fontWeight: FontWeight.bold, 73 | ), 74 | ), 75 | SizedBox( 76 | height: 5, 77 | ), 78 | Text( 79 | "Secure and easy my credit information", 80 | style: TextStyle( 81 | color: Colors.black.withOpacity(0.6), 82 | fontWeight: FontWeight.w500, 83 | ), 84 | ) 85 | ], 86 | ), 87 | ), 88 | Icon(Icons.keyboard_arrow_right), 89 | ], 90 | ), 91 | ], 92 | ), 93 | ); 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.5.0-nullsafety.1" 11 | bloc: 12 | dependency: transitive 13 | description: 14 | name: bloc 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "6.0.3" 18 | boolean_selector: 19 | dependency: transitive 20 | description: 21 | name: boolean_selector 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.1.0-nullsafety.1" 25 | characters: 26 | dependency: transitive 27 | description: 28 | name: characters 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.1.0-nullsafety.3" 32 | charcode: 33 | dependency: transitive 34 | description: 35 | name: charcode 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.2.0-nullsafety.1" 39 | clock: 40 | dependency: transitive 41 | description: 42 | name: clock 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.1.0-nullsafety.1" 46 | collection: 47 | dependency: transitive 48 | description: 49 | name: collection 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.15.0-nullsafety.3" 53 | cupertino_icons: 54 | dependency: "direct main" 55 | description: 56 | name: cupertino_icons 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.0.0" 60 | fake_async: 61 | dependency: transitive 62 | description: 63 | name: fake_async 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.2.0-nullsafety.1" 67 | flutter: 68 | dependency: "direct main" 69 | description: flutter 70 | source: sdk 71 | version: "0.0.0" 72 | flutter_bloc: 73 | dependency: "direct main" 74 | description: 75 | name: flutter_bloc 76 | url: "https://pub.dartlang.org" 77 | source: hosted 78 | version: "6.0.6" 79 | flutter_test: 80 | dependency: "direct dev" 81 | description: flutter 82 | source: sdk 83 | version: "0.0.0" 84 | matcher: 85 | dependency: transitive 86 | description: 87 | name: matcher 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "0.12.10-nullsafety.1" 91 | meta: 92 | dependency: transitive 93 | description: 94 | name: meta 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "1.3.0-nullsafety.3" 98 | nested: 99 | dependency: transitive 100 | description: 101 | name: nested 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "0.0.4" 105 | path: 106 | dependency: transitive 107 | description: 108 | name: path 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "1.8.0-nullsafety.1" 112 | provider: 113 | dependency: transitive 114 | description: 115 | name: provider 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "4.3.2+2" 119 | scrollable_positioned_list: 120 | dependency: "direct main" 121 | description: 122 | name: scrollable_positioned_list 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "0.1.8" 126 | sky_engine: 127 | dependency: transitive 128 | description: flutter 129 | source: sdk 130 | version: "0.0.99" 131 | source_span: 132 | dependency: transitive 133 | description: 134 | name: source_span 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.8.0-nullsafety.2" 138 | stack_trace: 139 | dependency: transitive 140 | description: 141 | name: stack_trace 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.10.0-nullsafety.1" 145 | stream_channel: 146 | dependency: transitive 147 | description: 148 | name: stream_channel 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "2.1.0-nullsafety.1" 152 | string_scanner: 153 | dependency: transitive 154 | description: 155 | name: string_scanner 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.1.0-nullsafety.1" 159 | term_glyph: 160 | dependency: transitive 161 | description: 162 | name: term_glyph 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.2.0-nullsafety.1" 166 | test_api: 167 | dependency: transitive 168 | description: 169 | name: test_api 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "0.2.19-nullsafety.2" 173 | typed_data: 174 | dependency: transitive 175 | description: 176 | name: typed_data 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "1.3.0-nullsafety.3" 180 | vector_math: 181 | dependency: transitive 182 | description: 183 | name: vector_math 184 | url: "https://pub.dartlang.org" 185 | source: hosted 186 | version: "2.1.0-nullsafety.3" 187 | sdks: 188 | dart: ">=2.10.0-110 <2.11.0" 189 | flutter: ">=1.16.0 <2.0.0" 190 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_service_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogServiceCard extends StatelessWidget { 4 | const CatalogServiceCard({Key key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Padding( 9 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 20), 10 | child: Column( 11 | children: [ 12 | Container( 13 | height: 50, 14 | child: Row( 15 | children: [ 16 | Text( 17 | 'Service', 18 | style: TextStyle( 19 | fontWeight: FontWeight.bold, 20 | color: Colors.black, 21 | fontSize: 18, 22 | ), 23 | ), 24 | ], 25 | ), 26 | ), 27 | SizedBox( 28 | height: 20, 29 | ), 30 | Row( 31 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 32 | children: [ 33 | Expanded( 34 | child: Column( 35 | crossAxisAlignment: CrossAxisAlignment.start, 36 | children: [ 37 | Text( 38 | "My Credit Information", 39 | style: TextStyle( 40 | fontWeight: FontWeight.bold, 41 | ), 42 | ), 43 | SizedBox( 44 | height: 5, 45 | ), 46 | Text( 47 | "Secure and easy my credit information", 48 | style: TextStyle( 49 | color: Colors.black.withOpacity(0.6), 50 | fontWeight: FontWeight.w500, 51 | ), 52 | ) 53 | ], 54 | ), 55 | ), 56 | Icon(Icons.keyboard_arrow_right), 57 | ], 58 | ), 59 | Divider( 60 | height: 30, 61 | ), 62 | Row( 63 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 64 | children: [ 65 | Expanded( 66 | child: Column( 67 | crossAxisAlignment: CrossAxisAlignment.start, 68 | children: [ 69 | Text( 70 | "My Credit Information", 71 | style: TextStyle( 72 | fontWeight: FontWeight.bold, 73 | ), 74 | ), 75 | SizedBox( 76 | height: 5, 77 | ), 78 | Text( 79 | "Secure and easy my credit information", 80 | style: TextStyle( 81 | color: Colors.black.withOpacity(0.6), 82 | fontWeight: FontWeight.w500, 83 | ), 84 | ) 85 | ], 86 | ), 87 | ), 88 | Icon(Icons.keyboard_arrow_right), 89 | ], 90 | ), 91 | Divider( 92 | height: 30, 93 | ), 94 | Row( 95 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 96 | children: [ 97 | Expanded( 98 | child: Column( 99 | crossAxisAlignment: CrossAxisAlignment.start, 100 | children: [ 101 | Text( 102 | "My Credit Information", 103 | style: TextStyle( 104 | fontWeight: FontWeight.bold, 105 | ), 106 | ), 107 | SizedBox( 108 | height: 5, 109 | ), 110 | Text( 111 | "Secure and easy my credit information", 112 | style: TextStyle( 113 | color: Colors.black.withOpacity(0.6), 114 | fontWeight: FontWeight.w500, 115 | ), 116 | ) 117 | ], 118 | ), 119 | ), 120 | Icon(Icons.keyboard_arrow_right), 121 | ], 122 | ), 123 | Divider( 124 | height: 30, 125 | ), 126 | Row( 127 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 128 | children: [ 129 | Expanded( 130 | child: Column( 131 | crossAxisAlignment: CrossAxisAlignment.start, 132 | children: [ 133 | Text( 134 | "My Credit Information", 135 | style: TextStyle( 136 | fontWeight: FontWeight.bold, 137 | ), 138 | ), 139 | SizedBox( 140 | height: 5, 141 | ), 142 | Text( 143 | "Secure and easy my credit information", 144 | style: TextStyle( 145 | color: Colors.black.withOpacity(0.6), 146 | fontWeight: FontWeight.w500, 147 | ), 148 | ) 149 | ], 150 | ), 151 | ), 152 | Icon(Icons.keyboard_arrow_right), 153 | ], 154 | ), 155 | Divider( 156 | height: 30, 157 | ), 158 | Row( 159 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 160 | children: [ 161 | Expanded( 162 | child: Column( 163 | crossAxisAlignment: CrossAxisAlignment.start, 164 | children: [ 165 | Text( 166 | "My Credit Information", 167 | style: TextStyle( 168 | fontWeight: FontWeight.bold, 169 | ), 170 | ), 171 | SizedBox( 172 | height: 5, 173 | ), 174 | Text( 175 | "Secure and easy my credit information", 176 | style: TextStyle( 177 | color: Colors.black.withOpacity(0.6), 178 | fontWeight: FontWeight.w500, 179 | ), 180 | ) 181 | ], 182 | ), 183 | ), 184 | Icon(Icons.keyboard_arrow_right), 185 | ], 186 | ), 187 | Divider( 188 | height: 30, 189 | ), 190 | ], 191 | ), 192 | ); 193 | } 194 | } 195 | -------------------------------------------------------------------------------- /lib/presentation/catalog/catalog_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/rendering.dart'; 3 | import 'package:kakao_bank/presentation/catalog/components/catalog_account_card.dart'; 4 | import 'package:kakao_bank/presentation/catalog/components/catalog_ad_card.dart'; 5 | import 'package:kakao_bank/presentation/catalog/components/catalog_alliance_card.dart'; 6 | import 'package:kakao_bank/presentation/catalog/components/catalog_app_bar.dart'; 7 | import 'package:kakao_bank/presentation/catalog/components/catalog_loan_card.dart'; 8 | import 'package:kakao_bank/presentation/catalog/components/catalog_service_card.dart'; 9 | import 'package:kakao_bank/presentation/catalog/components/catalog_tab_bar.dart'; 10 | 11 | class CatalogPage extends StatefulWidget { 12 | @override 13 | _CatalogPageState createState() => _CatalogPageState(); 14 | } 15 | 16 | class _CatalogPageState extends State 17 | with TickerProviderStateMixin { 18 | TabController _tabController; 19 | ScrollController _scrollController; 20 | 21 | final adKey = new GlobalKey(); 22 | final accountKey = new GlobalKey(); 23 | final loanKey = new GlobalKey(); 24 | final serviceKey = new GlobalKey(); 25 | final allianceKey = new GlobalKey(); 26 | 27 | double adHeight = 0; 28 | double accountHeight = 0; 29 | double loanHeight = 0; 30 | double serviceHeight = 0; 31 | double allianceHeight = 0; 32 | bool isTabToScroll = false; 33 | 34 | @override 35 | void initState() { 36 | _scrollController = ScrollController(); 37 | _tabController = TabController(length: 5, vsync: this); 38 | _scrollController.addListener(() { 39 | _onScroll(); 40 | }); 41 | super.initState(); 42 | } 43 | 44 | @override 45 | void dispose() { 46 | _tabController.dispose(); 47 | _scrollController.dispose(); 48 | super.dispose(); 49 | } 50 | 51 | @override 52 | Widget build(BuildContext context) { 53 | return Scaffold( 54 | backgroundColor: Colors.white, 55 | body: SafeArea( 56 | child: Container( 57 | alignment: Alignment.topCenter, 58 | child: Container( 59 | padding: const EdgeInsets.only(left: 16, right: 16, top: 16), 60 | constraints: BoxConstraints( 61 | maxWidth: 632, 62 | ), 63 | child: CustomScrollView( 64 | controller: _scrollController, 65 | key: PageStorageKey("catalog"), 66 | slivers: [ 67 | SliverAppBar( 68 | titleSpacing: 10, 69 | elevation: 0, 70 | title: CatalogAppBar(), 71 | ), 72 | SliverAppBar( 73 | elevation: 0, 74 | pinned: true, 75 | titleSpacing: 0, 76 | backgroundColor: Colors.white, 77 | title: CatalogTabBar( 78 | tabController: _tabController, 79 | onTap: _onTapToScroll, 80 | ), 81 | ), 82 | SliverList( 83 | delegate: SliverChildListDelegate.fixed( 84 | [ 85 | CatalogAdCard( 86 | key: adKey, 87 | ), 88 | CatalogAccountCard( 89 | key: accountKey, 90 | ), 91 | CatalogLoanCard( 92 | key: loanKey, 93 | ), 94 | CatalogServiceCard( 95 | key: serviceKey, 96 | ), 97 | CatalogAllianceCard( 98 | key: allianceKey, 99 | ), 100 | ], 101 | ), 102 | ), 103 | ], 104 | ), 105 | ), 106 | ), 107 | ), 108 | ); 109 | } 110 | 111 | void _onScroll() { 112 | if (isTabToScroll) return; 113 | 114 | if (adKey.currentContext != null) { 115 | adHeight = adKey.currentContext.size.height; 116 | } 117 | if (accountKey.currentContext != null) { 118 | accountHeight = accountKey.currentContext.size.height; 119 | } 120 | if (loanKey.currentContext != null) { 121 | loanHeight = loanKey.currentContext.size.height; 122 | } 123 | if (serviceKey.currentContext != null) { 124 | serviceHeight = serviceKey.currentContext.size.height; 125 | } 126 | if (allianceKey.currentContext != null) { 127 | allianceHeight = allianceKey.currentContext.size.height; 128 | } 129 | 130 | if (_scrollController.offset <= adHeight) { 131 | _tabController.animateTo(0, duration: const Duration(milliseconds: 0), curve: Curves.linear); 132 | } else if (_scrollController.offset > adHeight && 133 | _scrollController.offset <= adHeight + accountHeight) { 134 | _tabController.animateTo (1, duration: const Duration(milliseconds: 0), curve: Curves.linear); 135 | } else if (_scrollController.offset > adHeight + accountHeight && 136 | _scrollController.offset <= adHeight + accountHeight + loanHeight) { 137 | _tabController.animateTo(2, duration: const Duration(milliseconds: 0), curve: Curves.linear); 138 | } else if (_scrollController.offset > 139 | adHeight + accountHeight + serviceHeight && 140 | _scrollController.offset <= 141 | adHeight + accountHeight + loanHeight + serviceHeight) { 142 | 143 | if (_scrollController.offset >= 144 | _scrollController.position.maxScrollExtent) { 145 | _tabController.animateTo(4, duration: const Duration(milliseconds: 0), curve: Curves.linear); 146 | } else { 147 | _tabController.animateTo(3, duration: const Duration(milliseconds: 0), curve: Curves.linear); 148 | } 149 | } 150 | } 151 | 152 | void _onTapToScroll(int index) async { 153 | var keys = [adKey, accountKey, loanKey, serviceKey, allianceKey]; 154 | var previousIndex = _tabController.previousIndex; 155 | 156 | isTabToScroll = true; 157 | if (index == 0) { 158 | await _scrollController.animateTo( 159 | 0, 160 | duration: const Duration(milliseconds: 300), 161 | curve: Curves.linear, 162 | ); 163 | } else { 164 | if (previousIndex < index) { 165 | for (var i = previousIndex; i <= index; i++) { 166 | await _scrollController.position.ensureVisible( 167 | keys[i].currentContext.findRenderObject(), 168 | duration: const Duration(milliseconds: 100), 169 | curve: Curves.linear, 170 | ); 171 | } 172 | } else { 173 | for (var i = previousIndex; i >= index; i--) { 174 | await _scrollController.position.ensureVisible( 175 | keys[i].currentContext.findRenderObject(), 176 | duration: const Duration(milliseconds: 100), 177 | curve: Curves.linear, 178 | ); 179 | } 180 | } 181 | } 182 | isTabToScroll = false; 183 | } 184 | } 185 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_loan_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogLoanCard extends StatelessWidget { 4 | const CatalogLoanCard({Key key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Padding( 9 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 20), 10 | child: Column( 11 | children: [ 12 | Container( 13 | height: 50, 14 | child: Row( 15 | children: [ 16 | Text( 17 | 'Loan', 18 | style: TextStyle( 19 | fontWeight: FontWeight.bold, 20 | color: Colors.black, 21 | fontSize: 18, 22 | ), 23 | ), 24 | ], 25 | ), 26 | ), 27 | SizedBox(height: 20,), 28 | Row( 29 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 30 | children: [ 31 | Expanded( 32 | child: Column( 33 | crossAxisAlignment: CrossAxisAlignment.start, 34 | children: [ 35 | Text( 36 | "Emergency Loan", 37 | style: TextStyle( 38 | fontWeight: FontWeight.bold, 39 | ), 40 | ), 41 | SizedBox(height: 5,), 42 | Text( 43 | "Useful when you need cash", 44 | style: TextStyle( 45 | color: Colors.black.withOpacity(0.6), 46 | fontWeight: FontWeight.w500, 47 | ), 48 | ) 49 | ], 50 | ), 51 | ), 52 | Text( 53 | "APY 3.20%", 54 | style: TextStyle( 55 | color: Colors.blueAccent, 56 | fontWeight: FontWeight.bold, 57 | ), 58 | ) 59 | ], 60 | ), 61 | Divider(height: 30,), 62 | Row( 63 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 64 | children: [ 65 | Expanded( 66 | child: Column( 67 | crossAxisAlignment: CrossAxisAlignment.start, 68 | children: [ 69 | Text( 70 | "Emergency Loan", 71 | style: TextStyle( 72 | fontWeight: FontWeight.bold, 73 | ), 74 | ), 75 | SizedBox(height: 5,), 76 | Text( 77 | "Useful when you need cash", 78 | style: TextStyle( 79 | color: Colors.black.withOpacity(0.6), 80 | fontWeight: FontWeight.w500, 81 | ), 82 | ) 83 | ], 84 | ), 85 | ), 86 | Text( 87 | "APY 3.20%", 88 | style: TextStyle( 89 | color: Colors.blueAccent, 90 | fontWeight: FontWeight.bold, 91 | ), 92 | ) 93 | ], 94 | ), 95 | Divider(height: 30,), 96 | Row( 97 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 98 | children: [ 99 | Expanded( 100 | child: Column( 101 | crossAxisAlignment: CrossAxisAlignment.start, 102 | children: [ 103 | Text( 104 | "Emergency Loan", 105 | style: TextStyle( 106 | fontWeight: FontWeight.bold, 107 | ), 108 | ), 109 | SizedBox(height: 5,), 110 | Text( 111 | "Useful when you need cash", 112 | style: TextStyle( 113 | color: Colors.black.withOpacity(0.6), 114 | fontWeight: FontWeight.w500, 115 | ), 116 | ) 117 | ], 118 | ), 119 | ), 120 | Text( 121 | "APY 3.20%", 122 | style: TextStyle( 123 | color: Colors.blueAccent, 124 | fontWeight: FontWeight.bold, 125 | ), 126 | ) 127 | ], 128 | ), 129 | Divider(height: 30,), 130 | Row( 131 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 132 | children: [ 133 | Expanded( 134 | child: Column( 135 | crossAxisAlignment: CrossAxisAlignment.start, 136 | children: [ 137 | Text( 138 | "Emergency Loan", 139 | style: TextStyle( 140 | fontWeight: FontWeight.bold, 141 | ), 142 | ), 143 | SizedBox(height: 5,), 144 | Text( 145 | "Useful when you need cash", 146 | style: TextStyle( 147 | color: Colors.black.withOpacity(0.6), 148 | fontWeight: FontWeight.w500, 149 | ), 150 | ) 151 | ], 152 | ), 153 | ), 154 | Text( 155 | "APY 3.20%", 156 | style: TextStyle( 157 | color: Colors.blueAccent, 158 | fontWeight: FontWeight.bold, 159 | ), 160 | ) 161 | ], 162 | ), 163 | Divider(height: 30,), 164 | Row( 165 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 166 | children: [ 167 | Expanded( 168 | child: Column( 169 | crossAxisAlignment: CrossAxisAlignment.start, 170 | children: [ 171 | Text( 172 | "Emergency Loan", 173 | style: TextStyle( 174 | fontWeight: FontWeight.bold, 175 | ), 176 | ), 177 | SizedBox(height: 5,), 178 | Text( 179 | "Useful when you need cash", 180 | style: TextStyle( 181 | color: Colors.black.withOpacity(0.6), 182 | fontWeight: FontWeight.w500, 183 | ), 184 | ) 185 | ], 186 | ), 187 | ), 188 | Text( 189 | "APY 3.20%", 190 | style: TextStyle( 191 | color: Colors.blueAccent, 192 | fontWeight: FontWeight.bold, 193 | ), 194 | ) 195 | ], 196 | ), 197 | Divider(height: 30,), 198 | ], 199 | ), 200 | ); 201 | } 202 | } 203 | -------------------------------------------------------------------------------- /lib/presentation/catalog/components/catalog_account_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CatalogAccountCard extends StatelessWidget { 4 | const CatalogAccountCard({Key key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Padding( 9 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 20), 10 | child: Column( 11 | children: [ 12 | Container( 13 | height: 50, 14 | child: Row( 15 | children: [ 16 | Text( 17 | 'Account', 18 | style: TextStyle( 19 | fontWeight: FontWeight.bold, 20 | color: Colors.black, 21 | fontSize: 18, 22 | ), 23 | ), 24 | ], 25 | ), 26 | ), 27 | SizedBox( 28 | height: 20, 29 | ), 30 | Row( 31 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 32 | children: [ 33 | Expanded( 34 | child: Column( 35 | crossAxisAlignment: CrossAxisAlignment.start, 36 | children: [ 37 | Text( 38 | "Checking Account", 39 | style: TextStyle( 40 | fontWeight: FontWeight.bold, 41 | ), 42 | ), 43 | SizedBox( 44 | height: 5, 45 | ), 46 | Text( 47 | "A checking account is a deposit account", 48 | style: TextStyle( 49 | color: Colors.black.withOpacity(0.6), 50 | fontWeight: FontWeight.w500, 51 | ), 52 | ) 53 | ], 54 | ), 55 | ), 56 | Text( 57 | "APY 1.25%", 58 | style: TextStyle( 59 | color: Colors.green, 60 | fontWeight: FontWeight.bold, 61 | ), 62 | ) 63 | ], 64 | ), 65 | Divider( 66 | height: 30, 67 | ), 68 | Row( 69 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 70 | children: [ 71 | Expanded( 72 | child: Column( 73 | crossAxisAlignment: CrossAxisAlignment.start, 74 | children: [ 75 | Text( 76 | "Checking Account", 77 | style: TextStyle( 78 | fontWeight: FontWeight.bold, 79 | ), 80 | ), 81 | SizedBox( 82 | height: 5, 83 | ), 84 | Text( 85 | "A checking account is a deposit account", 86 | style: TextStyle( 87 | color: Colors.black.withOpacity(0.6), 88 | fontWeight: FontWeight.w500, 89 | ), 90 | ) 91 | ], 92 | ), 93 | ), 94 | Text( 95 | "APY 1.25%", 96 | style: TextStyle( 97 | color: Colors.green, 98 | fontWeight: FontWeight.bold, 99 | ), 100 | ) 101 | ], 102 | ), 103 | Divider( 104 | height: 30, 105 | ), 106 | Row( 107 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 108 | children: [ 109 | Expanded( 110 | child: Column( 111 | crossAxisAlignment: CrossAxisAlignment.start, 112 | children: [ 113 | Text( 114 | "Checking Account", 115 | style: TextStyle( 116 | fontWeight: FontWeight.bold, 117 | ), 118 | ), 119 | SizedBox( 120 | height: 5, 121 | ), 122 | Text( 123 | "A checking account is a deposit account", 124 | style: TextStyle( 125 | color: Colors.black.withOpacity(0.6), 126 | fontWeight: FontWeight.w500, 127 | ), 128 | ) 129 | ], 130 | ), 131 | ), 132 | Text( 133 | "APY 1.25%", 134 | style: TextStyle( 135 | color: Colors.green, 136 | fontWeight: FontWeight.bold, 137 | ), 138 | ) 139 | ], 140 | ), 141 | Divider( 142 | height: 30, 143 | ), 144 | Row( 145 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 146 | children: [ 147 | Expanded( 148 | child: Column( 149 | crossAxisAlignment: CrossAxisAlignment.start, 150 | children: [ 151 | Text( 152 | "Checking Account", 153 | style: TextStyle( 154 | fontWeight: FontWeight.bold, 155 | ), 156 | ), 157 | SizedBox( 158 | height: 5, 159 | ), 160 | Text( 161 | "A checking account is a deposit account", 162 | style: TextStyle( 163 | color: Colors.black.withOpacity(0.6), 164 | fontWeight: FontWeight.w500, 165 | ), 166 | ) 167 | ], 168 | ), 169 | ), 170 | Text( 171 | "APY 1.25%", 172 | style: TextStyle( 173 | color: Colors.green, 174 | fontWeight: FontWeight.bold, 175 | ), 176 | ) 177 | ], 178 | ), 179 | Divider( 180 | height: 30, 181 | ), 182 | Row( 183 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 184 | children: [ 185 | Expanded( 186 | child: Column( 187 | crossAxisAlignment: CrossAxisAlignment.start, 188 | children: [ 189 | Text( 190 | "Checking Account", 191 | style: TextStyle( 192 | fontWeight: FontWeight.bold, 193 | ), 194 | ), 195 | SizedBox( 196 | height: 5, 197 | ), 198 | Text( 199 | "A checking account is a deposit account", 200 | style: TextStyle( 201 | color: Colors.black.withOpacity(0.6), 202 | fontWeight: FontWeight.w500, 203 | ), 204 | ) 205 | ], 206 | ), 207 | ), 208 | Text( 209 | "APY 1.25%", 210 | style: TextStyle( 211 | color: Colors.green, 212 | fontWeight: FontWeight.bold, 213 | ), 214 | ) 215 | ], 216 | ), 217 | ], 218 | ), 219 | ); 220 | } 221 | } 222 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 13 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 36 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 37 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 38 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 39 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 40 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 41 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 43 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 45 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 46 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 47 | /* End PBXFileReference section */ 48 | 49 | /* Begin PBXFrameworksBuildPhase section */ 50 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 51 | isa = PBXFrameworksBuildPhase; 52 | buildActionMask = 2147483647; 53 | files = ( 54 | ); 55 | runOnlyForDeploymentPostprocessing = 0; 56 | }; 57 | /* End PBXFrameworksBuildPhase section */ 58 | 59 | /* Begin PBXGroup section */ 60 | 9740EEB11CF90186004384FC /* Flutter */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 64 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 65 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 66 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 67 | ); 68 | name = Flutter; 69 | sourceTree = ""; 70 | }; 71 | 97C146E51CF9000F007C117D = { 72 | isa = PBXGroup; 73 | children = ( 74 | 9740EEB11CF90186004384FC /* Flutter */, 75 | 97C146F01CF9000F007C117D /* Runner */, 76 | 97C146EF1CF9000F007C117D /* Products */, 77 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 78 | ); 79 | sourceTree = ""; 80 | }; 81 | 97C146EF1CF9000F007C117D /* Products */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 97C146EE1CF9000F007C117D /* Runner.app */, 85 | ); 86 | name = Products; 87 | sourceTree = ""; 88 | }; 89 | 97C146F01CF9000F007C117D /* Runner */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 93 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 94 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 95 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 96 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97 | 97C147021CF9000F007C117D /* Info.plist */, 98 | 97C146F11CF9000F007C117D /* Supporting Files */, 99 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 100 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 101 | ); 102 | path = Runner; 103 | sourceTree = ""; 104 | }; 105 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 97C146F21CF9000F007C117D /* main.m */, 109 | ); 110 | name = "Supporting Files"; 111 | sourceTree = ""; 112 | }; 113 | /* End PBXGroup section */ 114 | 115 | /* Begin PBXNativeTarget section */ 116 | 97C146ED1CF9000F007C117D /* Runner */ = { 117 | isa = PBXNativeTarget; 118 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 119 | buildPhases = ( 120 | 9740EEB61CF901F6004384FC /* Run Script */, 121 | 97C146EA1CF9000F007C117D /* Sources */, 122 | 97C146EB1CF9000F007C117D /* Frameworks */, 123 | 97C146EC1CF9000F007C117D /* Resources */, 124 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 125 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 126 | ); 127 | buildRules = ( 128 | ); 129 | dependencies = ( 130 | ); 131 | name = Runner; 132 | productName = Runner; 133 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 134 | productType = "com.apple.product-type.application"; 135 | }; 136 | /* End PBXNativeTarget section */ 137 | 138 | /* Begin PBXProject section */ 139 | 97C146E61CF9000F007C117D /* Project object */ = { 140 | isa = PBXProject; 141 | attributes = { 142 | LastUpgradeCheck = 1020; 143 | ORGANIZATIONNAME = ""; 144 | TargetAttributes = { 145 | 97C146ED1CF9000F007C117D = { 146 | CreatedOnToolsVersion = 7.3.1; 147 | }; 148 | }; 149 | }; 150 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 151 | compatibilityVersion = "Xcode 9.3"; 152 | developmentRegion = en; 153 | hasScannedForEncodings = 0; 154 | knownRegions = ( 155 | en, 156 | Base, 157 | ); 158 | mainGroup = 97C146E51CF9000F007C117D; 159 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 160 | projectDirPath = ""; 161 | projectRoot = ""; 162 | targets = ( 163 | 97C146ED1CF9000F007C117D /* Runner */, 164 | ); 165 | }; 166 | /* End PBXProject section */ 167 | 168 | /* Begin PBXResourcesBuildPhase section */ 169 | 97C146EC1CF9000F007C117D /* Resources */ = { 170 | isa = PBXResourcesBuildPhase; 171 | buildActionMask = 2147483647; 172 | files = ( 173 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 174 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 175 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 176 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 177 | ); 178 | runOnlyForDeploymentPostprocessing = 0; 179 | }; 180 | /* End PBXResourcesBuildPhase section */ 181 | 182 | /* Begin PBXShellScriptBuildPhase section */ 183 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 184 | isa = PBXShellScriptBuildPhase; 185 | buildActionMask = 2147483647; 186 | files = ( 187 | ); 188 | inputPaths = ( 189 | ); 190 | name = "Thin Binary"; 191 | outputPaths = ( 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | shellPath = /bin/sh; 195 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 196 | }; 197 | 9740EEB61CF901F6004384FC /* Run Script */ = { 198 | isa = PBXShellScriptBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | ); 202 | inputPaths = ( 203 | ); 204 | name = "Run Script"; 205 | outputPaths = ( 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | shellPath = /bin/sh; 209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 210 | }; 211 | /* End PBXShellScriptBuildPhase section */ 212 | 213 | /* Begin PBXSourcesBuildPhase section */ 214 | 97C146EA1CF9000F007C117D /* Sources */ = { 215 | isa = PBXSourcesBuildPhase; 216 | buildActionMask = 2147483647; 217 | files = ( 218 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 219 | 97C146F31CF9000F007C117D /* main.m in Sources */, 220 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | }; 224 | /* End PBXSourcesBuildPhase section */ 225 | 226 | /* Begin PBXVariantGroup section */ 227 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 228 | isa = PBXVariantGroup; 229 | children = ( 230 | 97C146FB1CF9000F007C117D /* Base */, 231 | ); 232 | name = Main.storyboard; 233 | sourceTree = ""; 234 | }; 235 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 236 | isa = PBXVariantGroup; 237 | children = ( 238 | 97C147001CF9000F007C117D /* Base */, 239 | ); 240 | name = LaunchScreen.storyboard; 241 | sourceTree = ""; 242 | }; 243 | /* End PBXVariantGroup section */ 244 | 245 | /* Begin XCBuildConfiguration section */ 246 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 247 | isa = XCBuildConfiguration; 248 | buildSettings = { 249 | ALWAYS_SEARCH_USER_PATHS = NO; 250 | CLANG_ANALYZER_NONNULL = YES; 251 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 252 | CLANG_CXX_LIBRARY = "libc++"; 253 | CLANG_ENABLE_MODULES = YES; 254 | CLANG_ENABLE_OBJC_ARC = YES; 255 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 256 | CLANG_WARN_BOOL_CONVERSION = YES; 257 | CLANG_WARN_COMMA = YES; 258 | CLANG_WARN_CONSTANT_CONVERSION = YES; 259 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 260 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 261 | CLANG_WARN_EMPTY_BODY = YES; 262 | CLANG_WARN_ENUM_CONVERSION = YES; 263 | CLANG_WARN_INFINITE_RECURSION = YES; 264 | CLANG_WARN_INT_CONVERSION = YES; 265 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 266 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 267 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 268 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 269 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 270 | CLANG_WARN_STRICT_PROTOTYPES = YES; 271 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 272 | CLANG_WARN_UNREACHABLE_CODE = YES; 273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 274 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 275 | COPY_PHASE_STRIP = NO; 276 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 277 | ENABLE_NS_ASSERTIONS = NO; 278 | ENABLE_STRICT_OBJC_MSGSEND = YES; 279 | GCC_C_LANGUAGE_STANDARD = gnu99; 280 | GCC_NO_COMMON_BLOCKS = YES; 281 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 282 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 283 | GCC_WARN_UNDECLARED_SELECTOR = YES; 284 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 285 | GCC_WARN_UNUSED_FUNCTION = YES; 286 | GCC_WARN_UNUSED_VARIABLE = YES; 287 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 288 | MTL_ENABLE_DEBUG_INFO = NO; 289 | SDKROOT = iphoneos; 290 | SUPPORTED_PLATFORMS = iphoneos; 291 | TARGETED_DEVICE_FAMILY = "1,2"; 292 | VALIDATE_PRODUCT = YES; 293 | }; 294 | name = Profile; 295 | }; 296 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 297 | isa = XCBuildConfiguration; 298 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 299 | buildSettings = { 300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 301 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 302 | ENABLE_BITCODE = NO; 303 | FRAMEWORK_SEARCH_PATHS = ( 304 | "$(inherited)", 305 | "$(PROJECT_DIR)/Flutter", 306 | ); 307 | INFOPLIST_FILE = Runner/Info.plist; 308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 309 | LIBRARY_SEARCH_PATHS = ( 310 | "$(inherited)", 311 | "$(PROJECT_DIR)/Flutter", 312 | ); 313 | PRODUCT_BUNDLE_IDENTIFIER = com.puzzleleaf.kakaoBank; 314 | PRODUCT_NAME = "$(TARGET_NAME)"; 315 | VERSIONING_SYSTEM = "apple-generic"; 316 | }; 317 | name = Profile; 318 | }; 319 | 97C147031CF9000F007C117D /* Debug */ = { 320 | isa = XCBuildConfiguration; 321 | buildSettings = { 322 | ALWAYS_SEARCH_USER_PATHS = NO; 323 | CLANG_ANALYZER_NONNULL = YES; 324 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 325 | CLANG_CXX_LIBRARY = "libc++"; 326 | CLANG_ENABLE_MODULES = YES; 327 | CLANG_ENABLE_OBJC_ARC = YES; 328 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 329 | CLANG_WARN_BOOL_CONVERSION = YES; 330 | CLANG_WARN_COMMA = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 333 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 334 | CLANG_WARN_EMPTY_BODY = YES; 335 | CLANG_WARN_ENUM_CONVERSION = YES; 336 | CLANG_WARN_INFINITE_RECURSION = YES; 337 | CLANG_WARN_INT_CONVERSION = YES; 338 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 339 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 343 | CLANG_WARN_STRICT_PROTOTYPES = YES; 344 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 345 | CLANG_WARN_UNREACHABLE_CODE = YES; 346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = NO; 349 | DEBUG_INFORMATION_FORMAT = dwarf; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | ENABLE_TESTABILITY = YES; 352 | GCC_C_LANGUAGE_STANDARD = gnu99; 353 | GCC_DYNAMIC_NO_PIC = NO; 354 | GCC_NO_COMMON_BLOCKS = YES; 355 | GCC_OPTIMIZATION_LEVEL = 0; 356 | GCC_PREPROCESSOR_DEFINITIONS = ( 357 | "DEBUG=1", 358 | "$(inherited)", 359 | ); 360 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 361 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 362 | GCC_WARN_UNDECLARED_SELECTOR = YES; 363 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 364 | GCC_WARN_UNUSED_FUNCTION = YES; 365 | GCC_WARN_UNUSED_VARIABLE = YES; 366 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 367 | MTL_ENABLE_DEBUG_INFO = YES; 368 | ONLY_ACTIVE_ARCH = YES; 369 | SDKROOT = iphoneos; 370 | TARGETED_DEVICE_FAMILY = "1,2"; 371 | }; 372 | name = Debug; 373 | }; 374 | 97C147041CF9000F007C117D /* Release */ = { 375 | isa = XCBuildConfiguration; 376 | buildSettings = { 377 | ALWAYS_SEARCH_USER_PATHS = NO; 378 | CLANG_ANALYZER_NONNULL = YES; 379 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 380 | CLANG_CXX_LIBRARY = "libc++"; 381 | CLANG_ENABLE_MODULES = YES; 382 | CLANG_ENABLE_OBJC_ARC = YES; 383 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 384 | CLANG_WARN_BOOL_CONVERSION = YES; 385 | CLANG_WARN_COMMA = YES; 386 | CLANG_WARN_CONSTANT_CONVERSION = YES; 387 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 388 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 389 | CLANG_WARN_EMPTY_BODY = YES; 390 | CLANG_WARN_ENUM_CONVERSION = YES; 391 | CLANG_WARN_INFINITE_RECURSION = YES; 392 | CLANG_WARN_INT_CONVERSION = YES; 393 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 394 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 395 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 397 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 398 | CLANG_WARN_STRICT_PROTOTYPES = YES; 399 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 400 | CLANG_WARN_UNREACHABLE_CODE = YES; 401 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 402 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 403 | COPY_PHASE_STRIP = NO; 404 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 405 | ENABLE_NS_ASSERTIONS = NO; 406 | ENABLE_STRICT_OBJC_MSGSEND = YES; 407 | GCC_C_LANGUAGE_STANDARD = gnu99; 408 | GCC_NO_COMMON_BLOCKS = YES; 409 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 410 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 411 | GCC_WARN_UNDECLARED_SELECTOR = YES; 412 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 413 | GCC_WARN_UNUSED_FUNCTION = YES; 414 | GCC_WARN_UNUSED_VARIABLE = YES; 415 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 416 | MTL_ENABLE_DEBUG_INFO = NO; 417 | SDKROOT = iphoneos; 418 | SUPPORTED_PLATFORMS = iphoneos; 419 | TARGETED_DEVICE_FAMILY = "1,2"; 420 | VALIDATE_PRODUCT = YES; 421 | }; 422 | name = Release; 423 | }; 424 | 97C147061CF9000F007C117D /* Debug */ = { 425 | isa = XCBuildConfiguration; 426 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 427 | buildSettings = { 428 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 429 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 430 | ENABLE_BITCODE = NO; 431 | FRAMEWORK_SEARCH_PATHS = ( 432 | "$(inherited)", 433 | "$(PROJECT_DIR)/Flutter", 434 | ); 435 | INFOPLIST_FILE = Runner/Info.plist; 436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 437 | LIBRARY_SEARCH_PATHS = ( 438 | "$(inherited)", 439 | "$(PROJECT_DIR)/Flutter", 440 | ); 441 | PRODUCT_BUNDLE_IDENTIFIER = com.puzzleleaf.kakaoBank; 442 | PRODUCT_NAME = "$(TARGET_NAME)"; 443 | VERSIONING_SYSTEM = "apple-generic"; 444 | }; 445 | name = Debug; 446 | }; 447 | 97C147071CF9000F007C117D /* Release */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 450 | buildSettings = { 451 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 452 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 453 | ENABLE_BITCODE = NO; 454 | FRAMEWORK_SEARCH_PATHS = ( 455 | "$(inherited)", 456 | "$(PROJECT_DIR)/Flutter", 457 | ); 458 | INFOPLIST_FILE = Runner/Info.plist; 459 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 460 | LIBRARY_SEARCH_PATHS = ( 461 | "$(inherited)", 462 | "$(PROJECT_DIR)/Flutter", 463 | ); 464 | PRODUCT_BUNDLE_IDENTIFIER = com.puzzleleaf.kakaoBank; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | VERSIONING_SYSTEM = "apple-generic"; 467 | }; 468 | name = Release; 469 | }; 470 | /* End XCBuildConfiguration section */ 471 | 472 | /* Begin XCConfigurationList section */ 473 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 474 | isa = XCConfigurationList; 475 | buildConfigurations = ( 476 | 97C147031CF9000F007C117D /* Debug */, 477 | 97C147041CF9000F007C117D /* Release */, 478 | 249021D3217E4FDB00AE95B9 /* Profile */, 479 | ); 480 | defaultConfigurationIsVisible = 0; 481 | defaultConfigurationName = Release; 482 | }; 483 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 97C147061CF9000F007C117D /* Debug */, 487 | 97C147071CF9000F007C117D /* Release */, 488 | 249021D4217E4FDB00AE95B9 /* Profile */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | /* End XCConfigurationList section */ 494 | }; 495 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 496 | } 497 | --------------------------------------------------------------------------------