├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.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 │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj └── .gitignore ├── assets ├── images │ └── nubank-logo.png └── icons │ ├── eye-outline.svg │ ├── gift-outline.svg │ └── eye-off-outline.svg ├── android ├── gradle.properties ├── .gitignore ├── 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 │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── drawable │ │ │ │ │ └── launch_background.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── nubank_tutorial │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── settings.gradle └── build.gradle ├── .metadata ├── lib ├── pages │ ├── home │ │ ├── widgets │ │ │ ├── cards │ │ │ │ ├── card_app.dart │ │ │ │ ├── third_card.dart │ │ │ │ ├── secont_card.dart │ │ │ │ └── first_card.dart │ │ │ ├── bottom_menu │ │ │ │ ├── item_menu_bottom.dart │ │ │ │ └── bottom_menu.dart │ │ │ ├── menu │ │ │ │ ├── item_menu.dart │ │ │ │ └── menu_app.dart │ │ │ ├── my_app_bar.dart │ │ │ └── page_view │ │ │ │ ├── my_dots_app.dart │ │ │ │ └── page_view_app.dart │ │ └── home_page.dart │ └── splash │ │ └── splash_page.dart └── main.dart ├── .gitignore ├── test └── widget_test.dart ├── README.md ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" -------------------------------------------------------------------------------- /assets/images/nubank-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/assets/images/nubank-logo.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RenatoLucasMota/NubankHomeDesignFlutter/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/RenatoLucasMota/NubankHomeDesignFlutter/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 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ios/Runner.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: f139b11009aeb8ed2a3a3aa8b0066e482709dde3 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. -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/nubank_tutorial/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.nubank_tutorial 2 | 3 | import androidx.annotation.NonNull; 4 | import io.flutter.embedding.android.FlutterActivity 5 | import io.flutter.embedding.engine.FlutterEngine 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { 10 | GeneratedPluginRegistrant.registerWith(flutterEngine); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/cards/card_app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CardApp extends StatelessWidget { 4 | final Widget child; 5 | 6 | const CardApp({Key key, this.child}) : super(key: key); 7 | @override 8 | Widget build(BuildContext context) { 9 | return Padding( 10 | padding: const EdgeInsets.all(20), 11 | child: Container( 12 | child: child, 13 | decoration: BoxDecoration( 14 | color: Colors.white, borderRadius: BorderRadius.circular(5)), 15 | ), 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /assets/icons/eye-outline.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /assets/icons/gift-outline.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.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 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | /build/ 32 | 33 | # Web related 34 | lib/generated_plugin_registrant.dart 35 | 36 | # Exceptions to above rules. 37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 38 | -------------------------------------------------------------------------------- /assets/icons/eye-off-outline.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | import 'package:nubank_tutorial/pages/splash/splash_page.dart'; 4 | 5 | void main() { 6 | SystemChrome.setSystemUIOverlayStyle( 7 | SystemUiOverlayStyle( 8 | statusBarBrightness: Brightness.dark, 9 | statusBarColor: Colors.transparent, 10 | systemNavigationBarColor: Colors.purple[800], 11 | ), 12 | ); 13 | runApp( 14 | MyApp(), 15 | ); 16 | } 17 | 18 | class MyApp extends StatelessWidget { 19 | @override 20 | Widget build(BuildContext context) { 21 | return MaterialApp( 22 | debugShowCheckedModeBanner: false, 23 | title: 'Nubank Design Inspiration', 24 | theme: ThemeData( 25 | primarySwatch: Colors.purple, 26 | brightness: Brightness.dark, 27 | ), 28 | home: SplashPage(), 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /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 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/bottom_menu/item_menu_bottom.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ItemMenuBottom extends StatelessWidget { 4 | final IconData icon; 5 | final String text; 6 | 7 | const ItemMenuBottom({Key key, this.icon, this.text}) : super(key: key); 8 | @override 9 | Widget build(BuildContext context) { 10 | return Padding( 11 | padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 12), 12 | child: Container( 13 | child: Padding( 14 | padding: const EdgeInsets.all(8.0), 15 | child: Column( 16 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | children: [ 19 | Icon(icon), 20 | Text( 21 | text, 22 | style: TextStyle(fontSize: 10), 23 | ), 24 | ], 25 | ), 26 | ), 27 | width: MediaQuery.of(context).size.width * 0.22, 28 | decoration: BoxDecoration( 29 | borderRadius: BorderRadius.circular(5), color: Colors.white24), 30 | ), 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /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:nubank_tutorial/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/pages/splash/splash_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:nubank_tutorial/pages/home/home_page.dart'; 3 | 4 | class SplashPage extends StatefulWidget { 5 | @override 6 | SplashPageState createState() => SplashPageState(); 7 | } 8 | 9 | class SplashPageState extends State { 10 | @override 11 | void initState() { 12 | super.initState(); 13 | delay(); 14 | } 15 | 16 | Future delay() async { 17 | return await Future.delayed( 18 | Duration(seconds: 2), 19 | () { 20 | Navigator.pushReplacement( 21 | context, 22 | PageRouteBuilder(pageBuilder: (BuildContext context, 23 | Animation animation, Animation secondaryAnimation) { 24 | return HomePage(); 25 | }), 26 | ); 27 | }, 28 | ); 29 | } 30 | 31 | @override 32 | Widget build(BuildContext context) { 33 | return Scaffold( 34 | backgroundColor: Colors.purple[800], 35 | body: Center( 36 | child: Image.asset( 37 | 'assets/images/nubank-logo.png', 38 | height: 50, 39 | color: Colors.white, 40 | ), 41 | ), 42 | ); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Nubank Home Design Flutter

2 | 3 | 4 |

5 | 6 | Github 7 | 8 | 9 | Youtube 10 | 11 | 12 |

13 | 14 | 15 | ## 📱 Gif # 16 | 17 | 18 | ![]() 19 | ![]() 20 | 21 | ## 🖥 Flutter Tutorial 22 | All Flutter Tutorials plus additional Code and shorter posts can be found on the (https://www.youtube.com/channel/UCd-vLa_qcKve3CsDFlYiygA). 23 | 24 | ## ⚙️ Built with Amazing Tools 25 | * [Flutter](https://flutter.dev/) - Beautiful native apps in record time. 26 | * [Android Studio](https://developer.android.com/studio/index.html/) - Tools for building Awesome apps on every type of Android device. 27 | * [Visual Studio Code](https://code.visualstudio.com/) - Code editing. Redefined. 28 | 29 | 30 | ## 🤝 Show Some Support # 31 | If you liked the app give this repo a ⭐️ 32 | 33 | 34 | ## 🐞 Bugs/Requests # 35 | If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome. 36 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/menu/item_menu.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ItemMenu extends StatelessWidget { 4 | final IconData icon; 5 | final String text; 6 | 7 | const ItemMenu({Key key, this.icon, this.text}) : super(key: key); 8 | @override 9 | Widget build(BuildContext context) { 10 | return Container( 11 | height: 40, 12 | decoration: BoxDecoration( 13 | border: Border( 14 | bottom: BorderSide(width: 0.7, color: Colors.white54), 15 | top: BorderSide(width: 0.7, color: Colors.white54), 16 | ), 17 | ), 18 | child: RaisedButton( 19 | color: Colors.purple[800], 20 | highlightColor: Colors.transparent, 21 | elevation: 0, 22 | disabledElevation: 0, 23 | focusElevation: 0, 24 | highlightElevation: 0, 25 | hoverElevation: 0, 26 | splashColor: Colors.purple[900], 27 | child: Row( 28 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 29 | children: [ 30 | Row( 31 | children: [ 32 | Icon(icon), 33 | SizedBox( 34 | width: 15, 35 | ), 36 | Text( 37 | text, 38 | style: TextStyle(fontSize: 12), 39 | ), 40 | ], 41 | ), 42 | Icon(Icons.chevron_right, size: 16,) 43 | ], 44 | ), 45 | onPressed: () {}, 46 | ), 47 | ); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 26 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /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 | nubank_tutorial 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/pages/home/widgets/my_app_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MyAppBar extends StatelessWidget { 4 | final bool showMenu; 5 | final VoidCallback onTap; 6 | 7 | const MyAppBar({Key key, this.showMenu, this.onTap}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Column( 12 | children: [ 13 | SizedBox( 14 | height: MediaQuery.of(context).padding.top, 15 | ), 16 | GestureDetector( 17 | onTap: onTap, 18 | child: Container( 19 | color: Colors.purple[800], 20 | height: MediaQuery.of(context).size.height * .20, 21 | child: Column( 22 | mainAxisAlignment: MainAxisAlignment.center, 23 | children: [ 24 | Row( 25 | mainAxisAlignment: MainAxisAlignment.center, 26 | children: [ 27 | Image.asset( 28 | 'assets/images/nubank-logo.png', 29 | height: 30, 30 | color: Colors.white, 31 | ), 32 | SizedBox( 33 | width: 10, 34 | ), 35 | Text( 36 | 'Renato', 37 | style: TextStyle( 38 | fontWeight: FontWeight.bold, 39 | fontSize: 18, 40 | ), 41 | ), 42 | ], 43 | ), 44 | Icon(!showMenu ? Icons.expand_more : Icons.expand_less) 45 | ], 46 | ), 47 | ), 48 | ), 49 | ], 50 | ); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/page_view/my_dots_app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MyDotsApp extends StatelessWidget { 4 | final int currentIndex; 5 | final double top; 6 | final bool showMenu; 7 | 8 | Color getColor(int index) { 9 | return index == currentIndex ? Colors.white : Colors.white38; 10 | } 11 | 12 | const MyDotsApp({Key key, this.currentIndex, this.top, this.showMenu}) 13 | : super(key: key); 14 | @override 15 | Widget build(BuildContext context) { 16 | return Positioned( 17 | top: top, 18 | child: AnimatedOpacity( 19 | duration: Duration(milliseconds: 200), 20 | opacity: showMenu ? 0 : 1, 21 | child: Row( 22 | children: [ 23 | AnimatedContainer( 24 | duration: Duration(milliseconds: 300), 25 | height: 7, 26 | width: 7, 27 | decoration: 28 | BoxDecoration(color: getColor(0), shape: BoxShape.circle), 29 | ), 30 | SizedBox( 31 | width: 8, 32 | ), 33 | AnimatedContainer( 34 | duration: Duration(milliseconds: 300), 35 | height: 7, 36 | width: 7, 37 | decoration: 38 | BoxDecoration(color: getColor(1), shape: BoxShape.circle), 39 | ), 40 | SizedBox( 41 | width: 8, 42 | ), 43 | AnimatedContainer( 44 | duration: Duration(milliseconds: 300), 45 | height: 7, 46 | width: 7, 47 | decoration: 48 | BoxDecoration(color: getColor(2), shape: BoxShape.circle), 49 | ) 50 | ], 51 | ), 52 | ), 53 | ); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /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 plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 28 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "com.example.nubank_tutorial" 42 | minSdkVersion 16 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 47 | } 48 | 49 | buildTypes { 50 | release { 51 | // TODO: Add your own signing config for the release build. 52 | // Signing with the debug keys for now, so `flutter run --release` works. 53 | signingConfig signingConfigs.debug 54 | } 55 | } 56 | } 57 | 58 | flutter { 59 | source '../..' 60 | } 61 | 62 | dependencies { 63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 64 | testImplementation 'junit:junit:4.12' 65 | androidTestImplementation 'androidx.test:runner:1.1.1' 66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' 67 | } 68 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/page_view/page_view_app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:nubank_tutorial/pages/home/widgets/cards/card_app.dart'; 3 | import 'package:nubank_tutorial/pages/home/widgets/cards/first_card.dart'; 4 | import 'package:nubank_tutorial/pages/home/widgets/cards/secont_card.dart'; 5 | import 'package:nubank_tutorial/pages/home/widgets/cards/third_card.dart'; 6 | 7 | class PageViewApp extends StatefulWidget { 8 | final double top; 9 | final ValueChanged onChanged; 10 | final GestureDragUpdateCallback onPanUpdate; 11 | final bool showMenu; 12 | 13 | const PageViewApp( 14 | {Key key, this.top, this.onChanged, this.onPanUpdate, this.showMenu}) 15 | : super(key: key); 16 | 17 | @override 18 | _PageViewAppState createState() => _PageViewAppState(); 19 | } 20 | 21 | class _PageViewAppState extends State { 22 | Tween _tween; 23 | 24 | @override 25 | void initState() { 26 | super.initState(); 27 | _tween = Tween(begin: 150.0, end: 0.0); 28 | } 29 | 30 | @override 31 | Widget build(BuildContext context) { 32 | return TweenAnimationBuilder( 33 | tween: _tween, 34 | duration: Duration(milliseconds: 300), 35 | curve: Curves.easeOutExpo, 36 | builder: (context, value, child) { 37 | return AnimatedPositioned( 38 | duration: Duration(milliseconds: 250), 39 | curve: Curves.easeOut, 40 | top: widget.top, 41 | height: MediaQuery.of(context).size.height * .45, 42 | left: value, 43 | right: value * -1, 44 | child: GestureDetector( 45 | onPanUpdate: widget.onPanUpdate, 46 | child: PageView( 47 | onPageChanged: widget.onChanged, 48 | physics: widget.showMenu 49 | ? NeverScrollableScrollPhysics() 50 | : BouncingScrollPhysics(), 51 | children: [ 52 | CardApp( 53 | child: FirstCard(), 54 | ), 55 | CardApp( 56 | child: SecondCard(), 57 | ), 58 | CardApp( 59 | child: ThirdCard(), 60 | ), 61 | ], 62 | ), 63 | ), 64 | ); 65 | }); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /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/pages/home/widgets/cards/third_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_svg/flutter_svg.dart'; 3 | 4 | class ThirdCard extends StatefulWidget { 5 | @override 6 | _ThirdCardState createState() => _ThirdCardState(); 7 | } 8 | 9 | class _ThirdCardState extends State { 10 | bool _buttomPressed = false; 11 | @override 12 | Widget build(BuildContext context) { 13 | return Padding( 14 | padding: const EdgeInsets.all(30), 15 | child: Column( 16 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 17 | children: [ 18 | SvgPicture.asset('assets/icons/gift-outline.svg', 19 | color: Colors.grey, semanticsLabel: 'eye'), 20 | Column( 21 | children: [ 22 | Text( 23 | 'Nubank Rewards', 24 | style: TextStyle( 25 | color: Colors.black, 26 | fontWeight: FontWeight.bold, 27 | fontSize: 26), 28 | ), 29 | SizedBox( 30 | height: 15, 31 | ), 32 | Text( 33 | 'Acumule pontos que nunca expiram e troque por passagens aéreas ou serviços que você realmente usa.', 34 | style: TextStyle(color: Colors.grey[700], fontSize: 16), 35 | textAlign: TextAlign.center, 36 | ), 37 | ], 38 | ), 39 | Container( 40 | height: 50, 41 | width: double.infinity, 42 | decoration: BoxDecoration( 43 | borderRadius: BorderRadius.circular(3), 44 | border: Border.all(width: 0.7, color: Colors.purple[800])), 45 | child: RaisedButton( 46 | onHighlightChanged: (pressed) { 47 | setState(() { 48 | _buttomPressed = pressed; 49 | }); 50 | }, 51 | child: Text( 52 | 'ATIVE O SEU REWARDS', 53 | style: TextStyle(fontWeight: FontWeight.bold, fontSize: 14), 54 | ), 55 | highlightColor: Colors.purple[800], 56 | disabledTextColor: Colors.white, 57 | textColor: _buttomPressed ? Colors.white : Colors.purple[800], 58 | shape: RoundedRectangleBorder( 59 | borderRadius: BorderRadius.circular(3)), 60 | color: Colors.transparent, 61 | elevation: 0, 62 | disabledElevation: 0, 63 | focusElevation: 0, 64 | highlightElevation: 0, 65 | hoverElevation: 0, 66 | onPressed: () {}, 67 | ), 68 | ) 69 | ], 70 | ), 71 | ); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: nubank_tutorial 2 | description: A new Flutter project. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | flutter_svg: ^0.17.4 23 | 24 | # The following adds the Cupertino Icons font to your application. 25 | # Use with the CupertinoIcons class for iOS style icons. 26 | cupertino_icons: ^0.1.2 27 | 28 | dev_dependencies: 29 | flutter_test: 30 | sdk: flutter 31 | 32 | 33 | # For information on the generic Dart part of this file, see the 34 | # following page: https://dart.dev/tools/pub/pubspec 35 | 36 | # The following section is specific to Flutter. 37 | flutter: 38 | 39 | # The following line ensures that the Material Icons font is 40 | # included with your application, so that you can use the icons in 41 | # the material Icons class. 42 | uses-material-design: true 43 | 44 | # To add assets to your application, add an assets section, like this: 45 | assets: 46 | - assets/icons/ 47 | - assets/images/ 48 | 49 | # An image asset can refer to one or more resolution-specific "variants", see 50 | # https://flutter.dev/assets-and-images/#resolution-aware. 51 | 52 | # For details regarding adding assets from package dependencies, see 53 | # https://flutter.dev/assets-and-images/#from-packages 54 | 55 | # To add custom fonts to your application, add a fonts section here, 56 | # in this "flutter" section. Each entry in this list should have a 57 | # "family" key with the font family name, and a "fonts" key with a 58 | # list giving the asset and other descriptors for the font. For 59 | # example: 60 | # fonts: 61 | # - family: Schyler 62 | # fonts: 63 | # - asset: fonts/Schyler-Regular.ttf 64 | # - asset: fonts/Schyler-Italic.ttf 65 | # style: italic 66 | # - family: Trajan Pro 67 | # fonts: 68 | # - asset: fonts/TrajanPro.ttf 69 | # - asset: fonts/TrajanPro_Bold.ttf 70 | # weight: 700 71 | # 72 | # For details regarding fonts from package dependencies, 73 | # see https://flutter.dev/custom-fonts/#from-packages 74 | -------------------------------------------------------------------------------- /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/pages/home/widgets/bottom_menu/bottom_menu.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:nubank_tutorial/pages/home/widgets/bottom_menu/item_menu_bottom.dart'; 3 | 4 | class BottomMenu extends StatefulWidget { 5 | final bool showMenu; 6 | 7 | const BottomMenu({Key key, this.showMenu}) : super(key: key); 8 | 9 | @override 10 | _BottomMenuState createState() => _BottomMenuState(); 11 | } 12 | 13 | class _BottomMenuState extends State { 14 | Tween _tween; 15 | 16 | @override 17 | void initState() { 18 | super.initState(); 19 | _tween = Tween(begin: 150.0, end: 0.0); 20 | } 21 | @override 22 | Widget build(BuildContext context) { 23 | return TweenAnimationBuilder( 24 | tween: _tween, 25 | duration: Duration(milliseconds: 300), 26 | curve: Curves.easeOutExpo, 27 | builder: (context, value, child) { 28 | return AnimatedPositioned( 29 | duration: Duration(milliseconds: 200), 30 | bottom: !widget.showMenu 31 | ? 0 + MediaQuery.of(context).padding.bottom 32 | : 0, 33 | left: value, 34 | right: value * -1, 35 | height: MediaQuery.of(context).size.height * 0.14, 36 | child: IgnorePointer( 37 | ignoring: widget.showMenu, 38 | child: AnimatedOpacity( 39 | duration: Duration(milliseconds: 200), 40 | opacity: !widget.showMenu ? 1 : 0, 41 | child: Container( 42 | child: ListView( 43 | physics: BouncingScrollPhysics(), 44 | scrollDirection: Axis.horizontal, 45 | children: [ 46 | ItemMenuBottom( 47 | icon: Icons.person_add, 48 | text: 'indicar amigos', 49 | ), 50 | ItemMenuBottom( 51 | icon: Icons.phone_android, 52 | text: 'Recarga de celular', 53 | ), 54 | ItemMenuBottom( 55 | icon: Icons.chat, 56 | text: 'Cobrar', 57 | ), 58 | ItemMenuBottom( 59 | icon: Icons.monetization_on, 60 | text: 'Empréstimos', 61 | ), 62 | ItemMenuBottom( 63 | icon: Icons.move_to_inbox, 64 | text: 'Depositar', 65 | ), 66 | ItemMenuBottom( 67 | icon: Icons.mobile_screen_share, 68 | text: 'Transferir', 69 | ), 70 | ItemMenuBottom( 71 | icon: Icons.format_align_center, 72 | text: 'Ajustar limite', 73 | ), 74 | ItemMenuBottom( 75 | icon: Icons.chrome_reader_mode, 76 | text: 'Pagar', 77 | ), 78 | ItemMenuBottom( 79 | icon: Icons.lock_open, 80 | text: 'Bloquear cartão', 81 | ), 82 | ], 83 | ), 84 | ), 85 | ), 86 | ), 87 | ); 88 | }); 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/pages/home/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:nubank_tutorial/pages/home/widgets/bottom_menu/bottom_menu.dart'; 3 | import 'package:nubank_tutorial/pages/home/widgets/menu/menu_app.dart'; 4 | import 'package:nubank_tutorial/pages/home/widgets/my_app_bar.dart'; 5 | import 'package:nubank_tutorial/pages/home/widgets/page_view/my_dots_app.dart'; 6 | import 'package:nubank_tutorial/pages/home/widgets/page_view/page_view_app.dart'; 7 | 8 | class HomePage extends StatefulWidget { 9 | @override 10 | _HomePageState createState() => _HomePageState(); 11 | } 12 | 13 | class _HomePageState extends State { 14 | bool _showMenu; 15 | int _currentIndex; 16 | double _yPosition; 17 | 18 | @override 19 | void initState() { 20 | super.initState(); 21 | _showMenu = false; 22 | _currentIndex = 0; 23 | } 24 | 25 | @override 26 | Widget build(BuildContext context) { 27 | double _screenHeigth = MediaQuery.of(context).size.height; 28 | if (_yPosition == null) { 29 | _yPosition = _screenHeigth * .24; 30 | } 31 | 32 | return Scaffold( 33 | backgroundColor: Colors.purple[800], 34 | extendBody: true, 35 | body: Stack( 36 | alignment: Alignment.topCenter, 37 | children: [ 38 | MyAppBar( 39 | showMenu: _showMenu, 40 | onTap: () { 41 | setState(() { 42 | _showMenu = !_showMenu; 43 | _yPosition = 44 | _showMenu ? _screenHeigth * .75 : _screenHeigth * .24; 45 | }); 46 | }, 47 | ), 48 | MenuApp( 49 | top: _screenHeigth * .20, 50 | showMenu: _showMenu, 51 | ), 52 | BottomMenu( 53 | showMenu: _showMenu, 54 | ), 55 | MyDotsApp( 56 | showMenu: _showMenu, 57 | top: _screenHeigth * .70, 58 | currentIndex: _currentIndex, 59 | ), 60 | PageViewApp( 61 | showMenu: _showMenu, 62 | top: _yPosition, 63 | onChanged: (index) { 64 | setState(() { 65 | _currentIndex = index; 66 | }); 67 | }, 68 | onPanUpdate: (details) { 69 | double positionBottomLimit = _screenHeigth * .75; 70 | double positionTopLimit = _screenHeigth * .24; 71 | double midlePosition = positionBottomLimit - positionTopLimit; 72 | midlePosition = midlePosition / 2; 73 | setState(() { 74 | _yPosition += details.delta.dy; 75 | 76 | _yPosition = _yPosition < positionTopLimit 77 | ? positionTopLimit 78 | : _yPosition; 79 | 80 | _yPosition = _yPosition > positionBottomLimit 81 | ? positionBottomLimit 82 | : _yPosition; 83 | 84 | if (_yPosition != positionBottomLimit && details.delta.dy > 0) { 85 | _yPosition = 86 | _yPosition > positionTopLimit + midlePosition - 50 87 | ? positionBottomLimit 88 | : _yPosition; 89 | } 90 | 91 | if (_yPosition != positionTopLimit && details.delta.dy < 0) { 92 | _yPosition = _yPosition < positionBottomLimit - midlePosition 93 | ? positionTopLimit 94 | : _yPosition; 95 | } 96 | 97 | if (_yPosition == positionBottomLimit) { 98 | _showMenu = true; 99 | } else if (_yPosition == positionTopLimit) { 100 | _showMenu = false; 101 | } 102 | }); 103 | }, 104 | ), 105 | ], 106 | ), 107 | ); 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/menu/menu_app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:nubank_tutorial/pages/home/widgets/menu/item_menu.dart'; 3 | 4 | class MenuApp extends StatelessWidget { 5 | final double top; 6 | final bool showMenu; 7 | 8 | const MenuApp({Key key, this.top, this.showMenu}) : super(key: key); 9 | @override 10 | Widget build(BuildContext context) { 11 | return Positioned( 12 | top: top, 13 | left: 0, 14 | right: 0, 15 | child: AnimatedOpacity( 16 | duration: Duration(milliseconds: 100), 17 | opacity: showMenu ? 1 : 0, 18 | child: Container( 19 | //color: Colors.red, 20 | height: MediaQuery.of(context).size.height * 0.55, 21 | child: SingleChildScrollView( 22 | physics: BouncingScrollPhysics(), 23 | child: Column( 24 | children: [ 25 | Image.network( 26 | 'https://webmobtuts.com/wp-content/uploads/2019/02/QR_code_for_mobile_English_Wikipedia.svg_.png', 27 | height: 100, 28 | color: Colors.white, 29 | ), 30 | Text.rich( 31 | TextSpan( 32 | text: 'Banco ', 33 | children: [ 34 | TextSpan( 35 | text: '260 - Nu Pagamentos S.A', 36 | style: TextStyle(fontWeight: FontWeight.bold)), 37 | ], 38 | ), 39 | style: TextStyle(fontSize: 12), 40 | ), 41 | SizedBox( 42 | height: 5, 43 | ), 44 | Text.rich( 45 | TextSpan( 46 | text: 'Agência ', 47 | children: [ 48 | TextSpan( 49 | text: '0001', 50 | style: TextStyle(fontWeight: FontWeight.bold)), 51 | ], 52 | ), 53 | style: TextStyle(fontSize: 12), 54 | ), 55 | SizedBox( 56 | height: 5, 57 | ), 58 | Text.rich( 59 | TextSpan( 60 | text: 'Conta ', 61 | children: [ 62 | TextSpan( 63 | text: '0000000-0', 64 | style: TextStyle(fontWeight: FontWeight.bold)), 65 | ], 66 | ), 67 | style: TextStyle(fontSize: 12), 68 | ), 69 | SizedBox( 70 | height: 25, 71 | ), 72 | Padding( 73 | padding: const EdgeInsets.symmetric(horizontal: 30), 74 | child: Column( 75 | children: [ 76 | ItemMenu( 77 | icon: Icons.info_outline, 78 | text: 'Me ajuda', 79 | ), 80 | ItemMenu( 81 | icon: Icons.person_outline, 82 | text: 'Perfil', 83 | ), 84 | ItemMenu( 85 | icon: Icons.settings, 86 | text: 'Configurar conta', 87 | ), 88 | ItemMenu( 89 | icon: Icons.credit_card, 90 | text: 'Configurar Cartão', 91 | ), 92 | ItemMenu( 93 | icon: Icons.store_mall_directory, 94 | text: 'Pedir conta PJ', 95 | ), 96 | ItemMenu( 97 | icon: Icons.phone_android, 98 | text: 'Configurações do app', 99 | ), 100 | SizedBox( 101 | height: 25, 102 | ), 103 | Container( 104 | height: 40, 105 | width: double.infinity, 106 | decoration: BoxDecoration( 107 | border: 108 | Border.all(width: 0.7, color: Colors.white54)), 109 | child: RaisedButton( 110 | color: Colors.purple[800], 111 | highlightColor: Colors.transparent, 112 | elevation: 0, 113 | disabledElevation: 0, 114 | focusElevation: 0, 115 | highlightElevation: 0, 116 | hoverElevation: 0, 117 | splashColor: Colors.purple[900], 118 | child: Text( 119 | 'SAIR DO APP', 120 | style: TextStyle( 121 | fontSize: 10, fontWeight: FontWeight.bold), 122 | ), 123 | onPressed: () {}, 124 | ), 125 | ), 126 | ], 127 | ), 128 | ) 129 | ], 130 | ), 131 | ), 132 | ), 133 | ), 134 | ); 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/cards/secont_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_svg/flutter_svg.dart'; 3 | 4 | class SecondCard extends StatefulWidget { 5 | @override 6 | _SecondCardState createState() => _SecondCardState(); 7 | } 8 | 9 | class _SecondCardState extends State 10 | with AutomaticKeepAliveClientMixin { 11 | bool _showSaldo = false; 12 | @override 13 | Widget build(BuildContext context) { 14 | return ClipRRect( 15 | borderRadius: BorderRadius.circular(5), 16 | child: Column( 17 | children: [ 18 | Expanded( 19 | flex: 3, 20 | child: Container( 21 | child: Column( 22 | crossAxisAlignment: CrossAxisAlignment.start, 23 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 24 | children: [ 25 | Padding( 26 | padding: const EdgeInsets.all(20), 27 | child: Row( 28 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 29 | children: [ 30 | Row( 31 | children: [ 32 | Icon( 33 | Icons.attach_money, 34 | color: Colors.grey, 35 | ), 36 | SizedBox( 37 | width: 5, 38 | ), 39 | Text( 40 | 'Conta', 41 | style: 42 | TextStyle(color: Colors.grey, fontSize: 13), 43 | ), 44 | ], 45 | ), 46 | GestureDetector( 47 | onTap: () { 48 | setState(() { 49 | _showSaldo = !_showSaldo; 50 | }); 51 | }, 52 | child: SvgPicture.asset( 53 | !_showSaldo 54 | ? 'assets/icons/eye-off-outline.svg' 55 | : 'assets/icons/eye-outline.svg', 56 | color: Colors.grey, 57 | semanticsLabel: 'eye'), 58 | ), 59 | ], 60 | ), 61 | ), 62 | Padding( 63 | padding: 64 | const EdgeInsets.only(left: 20, top: 20, bottom: 20), 65 | child: SizedBox( 66 | width: double.infinity, 67 | child: Column( 68 | crossAxisAlignment: CrossAxisAlignment.start, 69 | children: [ 70 | Text( 71 | 'Saldo disponível', 72 | textAlign: TextAlign.start, 73 | style: TextStyle( 74 | color: Colors.grey, 75 | fontSize: 13, 76 | ), 77 | ), 78 | _showSaldo 79 | ? Text.rich( 80 | TextSpan( 81 | text: 'R\$ 2.500,50', 82 | ), 83 | textAlign: TextAlign.start, 84 | style: TextStyle( 85 | color: Colors.black, 86 | fontSize: 28, 87 | ), 88 | ) 89 | : Container( 90 | height: 32, 91 | width: 160, 92 | color: Colors.grey[300], 93 | ), 94 | ], 95 | ), 96 | ), 97 | ), 98 | SizedBox( 99 | height: MediaQuery.of(context).size.height * 0.05, 100 | ), 101 | ], 102 | ), 103 | ), 104 | ), 105 | Expanded( 106 | flex: 1, 107 | child: Container( 108 | child: Padding( 109 | padding: const EdgeInsets.all(20), 110 | child: Row( 111 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 112 | children: [ 113 | Icon( 114 | Icons.credit_card, 115 | color: Colors.grey, 116 | ), 117 | SizedBox( 118 | width: 10, 119 | ), 120 | Flexible( 121 | child: Text( 122 | 'Compra mais recente em Super Mercado no valor de R\$ 150,00 sexta ', 123 | style: TextStyle(color: Colors.black, fontSize: 13), 124 | ), 125 | ), 126 | Icon( 127 | Icons.chevron_right, 128 | color: Colors.grey[400], 129 | size: 18, 130 | ), 131 | ], 132 | ), 133 | ), 134 | color: Colors.grey[200], 135 | ), 136 | ), 137 | ], 138 | ), 139 | ); 140 | } 141 | 142 | @override 143 | bool get wantKeepAlive => true; 144 | } 145 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | archive: 5 | dependency: transitive 6 | description: 7 | name: archive 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.11" 11 | args: 12 | dependency: transitive 13 | description: 14 | name: args 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.5.2" 18 | async: 19 | dependency: transitive 20 | description: 21 | name: async 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.4.0" 25 | boolean_selector: 26 | dependency: transitive 27 | description: 28 | name: boolean_selector 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.0.5" 32 | charcode: 33 | dependency: transitive 34 | description: 35 | name: charcode 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.2" 39 | collection: 40 | dependency: transitive 41 | description: 42 | name: collection 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.14.11" 46 | convert: 47 | dependency: transitive 48 | description: 49 | name: convert 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "2.1.1" 53 | crypto: 54 | dependency: transitive 55 | description: 56 | name: crypto 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "2.1.3" 60 | cupertino_icons: 61 | dependency: "direct main" 62 | description: 63 | name: cupertino_icons 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "0.1.3" 67 | flutter: 68 | dependency: "direct main" 69 | description: flutter 70 | source: sdk 71 | version: "0.0.0" 72 | flutter_svg: 73 | dependency: "direct main" 74 | description: 75 | name: flutter_svg 76 | url: "https://pub.dartlang.org" 77 | source: hosted 78 | version: "0.17.4" 79 | flutter_test: 80 | dependency: "direct dev" 81 | description: flutter 82 | source: sdk 83 | version: "0.0.0" 84 | image: 85 | dependency: transitive 86 | description: 87 | name: image 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "2.1.4" 91 | matcher: 92 | dependency: transitive 93 | description: 94 | name: matcher 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "0.12.6" 98 | meta: 99 | dependency: transitive 100 | description: 101 | name: meta 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "1.1.8" 105 | path: 106 | dependency: transitive 107 | description: 108 | name: path 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "1.6.4" 112 | path_drawing: 113 | dependency: transitive 114 | description: 115 | name: path_drawing 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "0.4.1" 119 | path_parsing: 120 | dependency: transitive 121 | description: 122 | name: path_parsing 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "0.1.4" 126 | pedantic: 127 | dependency: transitive 128 | description: 129 | name: pedantic 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "1.8.0+1" 133 | petitparser: 134 | dependency: transitive 135 | description: 136 | name: petitparser 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "2.4.0" 140 | quiver: 141 | dependency: transitive 142 | description: 143 | name: quiver 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "2.0.5" 147 | sky_engine: 148 | dependency: transitive 149 | description: flutter 150 | source: sdk 151 | version: "0.0.99" 152 | source_span: 153 | dependency: transitive 154 | description: 155 | name: source_span 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.5.5" 159 | stack_trace: 160 | dependency: transitive 161 | description: 162 | name: stack_trace 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.9.3" 166 | stream_channel: 167 | dependency: transitive 168 | description: 169 | name: stream_channel 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.0.0" 173 | string_scanner: 174 | dependency: transitive 175 | description: 176 | name: string_scanner 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "1.0.5" 180 | term_glyph: 181 | dependency: transitive 182 | description: 183 | name: term_glyph 184 | url: "https://pub.dartlang.org" 185 | source: hosted 186 | version: "1.1.0" 187 | test_api: 188 | dependency: transitive 189 | description: 190 | name: test_api 191 | url: "https://pub.dartlang.org" 192 | source: hosted 193 | version: "0.2.11" 194 | typed_data: 195 | dependency: transitive 196 | description: 197 | name: typed_data 198 | url: "https://pub.dartlang.org" 199 | source: hosted 200 | version: "1.1.6" 201 | vector_math: 202 | dependency: transitive 203 | description: 204 | name: vector_math 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "2.0.8" 208 | xml: 209 | dependency: transitive 210 | description: 211 | name: xml 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "3.5.0" 215 | sdks: 216 | dart: ">=2.4.0 <3.0.0" 217 | flutter: ">=1.6.7 <2.0.0" 218 | -------------------------------------------------------------------------------- /lib/pages/home/widgets/cards/first_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class FirstCard extends StatelessWidget { 4 | @override 5 | Widget build(BuildContext context) { 6 | return ClipRRect( 7 | borderRadius: BorderRadius.circular(5), 8 | child: Column( 9 | children: [ 10 | Expanded( 11 | flex: 3, 12 | child: Container( 13 | child: Row( 14 | children: [ 15 | Expanded( 16 | child: Column( 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 19 | children: [ 20 | Padding( 21 | padding: const EdgeInsets.all(20), 22 | child: Row( 23 | children: [ 24 | Icon( 25 | Icons.credit_card, 26 | color: Colors.grey, 27 | ), 28 | SizedBox( 29 | width: 5, 30 | ), 31 | Text( 32 | 'Cartão de Crédito', 33 | style: 34 | TextStyle(color: Colors.grey, fontSize: 13), 35 | ), 36 | ], 37 | ), 38 | ), 39 | Padding( 40 | padding: const EdgeInsets.only( 41 | left: 20, top: 20, bottom: 20), 42 | child: SizedBox( 43 | width: double.infinity, 44 | child: Column( 45 | crossAxisAlignment: CrossAxisAlignment.start, 46 | children: [ 47 | Text( 48 | 'FATURA ATUAL', 49 | textAlign: TextAlign.start, 50 | style: TextStyle( 51 | color: Colors.teal, 52 | fontSize: 13, 53 | fontWeight: FontWeight.bold), 54 | ), 55 | Text.rich( 56 | TextSpan( 57 | text: 'R\$ ', 58 | children: [ 59 | TextSpan( 60 | text: '600', 61 | style: TextStyle( 62 | fontWeight: FontWeight.bold)), 63 | TextSpan(text: ',50'), 64 | ], 65 | ), 66 | textAlign: TextAlign.start, 67 | style: TextStyle( 68 | color: Colors.teal, 69 | fontSize: 28, 70 | ), 71 | ), 72 | Text.rich( 73 | TextSpan( 74 | text: 'Limite disponível', 75 | children: [ 76 | TextSpan( 77 | text: ' R\$ 2.200,95', 78 | style: TextStyle( 79 | color: Colors.green, 80 | fontWeight: FontWeight.bold)), 81 | ], 82 | ), 83 | textAlign: TextAlign.start, 84 | style: TextStyle( 85 | color: Colors.black, 86 | fontSize: 12, 87 | ), 88 | ), 89 | ], 90 | ), 91 | ), 92 | ), 93 | SizedBox( 94 | height: MediaQuery.of(context).size.height * 0.05, 95 | ), 96 | ], 97 | ), 98 | ), 99 | Padding( 100 | padding: const EdgeInsets.only( 101 | top: 12, bottom: 12, left: 10, right: 15), 102 | child: ClipRRect( 103 | borderRadius: BorderRadius.circular(5), 104 | child: Container( 105 | child: Column( 106 | children: [ 107 | Expanded( 108 | flex: 3, 109 | child: Container( 110 | color: Colors.orange, 111 | ), 112 | ), 113 | Expanded( 114 | flex: 1, 115 | child: Container( 116 | color: Colors.blue, 117 | ), 118 | ), 119 | Expanded( 120 | flex: 2, 121 | child: Container( 122 | color: Colors.green, 123 | ), 124 | ), 125 | ], 126 | ), 127 | width: 7, 128 | decoration: BoxDecoration( 129 | borderRadius: BorderRadius.circular(5)), 130 | ), 131 | ), 132 | ), 133 | ], 134 | ), 135 | ), 136 | ), 137 | Expanded( 138 | flex: 1, 139 | child: Container( 140 | child: Padding( 141 | padding: const EdgeInsets.all(20), 142 | child: Row( 143 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 144 | children: [ 145 | Icon( 146 | Icons.shopping_cart, 147 | color: Colors.grey, 148 | ), 149 | SizedBox( 150 | width: 10, 151 | ), 152 | Flexible( 153 | child: Text( 154 | 'Compra mais recente em Super Mercado no valor de R\$ 30,00 sexta ', 155 | style: TextStyle(color: Colors.black, fontSize: 13), 156 | ), 157 | ), 158 | Icon( 159 | Icons.chevron_right, 160 | color: Colors.grey[400], 161 | size: 18, 162 | ), 163 | ], 164 | ), 165 | ), 166 | color: Colors.grey[200], 167 | ), 168 | ), 169 | ], 170 | ), 171 | ); 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /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 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 18 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 19 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXCopyFilesBuildPhase section */ 23 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 24 | isa = PBXCopyFilesBuildPhase; 25 | buildActionMask = 2147483647; 26 | dstPath = ""; 27 | dstSubfolderSpec = 10; 28 | files = ( 29 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 30 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 31 | ); 32 | name = "Embed Frameworks"; 33 | runOnlyForDeploymentPostprocessing = 0; 34 | }; 35 | /* End PBXCopyFilesBuildPhase section */ 36 | 37 | /* Begin PBXFileReference section */ 38 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 39 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 40 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 41 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 42 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 43 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 47 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 48 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 50 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 51 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 52 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 61 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 62 | ); 63 | runOnlyForDeploymentPostprocessing = 0; 64 | }; 65 | /* End PBXFrameworksBuildPhase section */ 66 | 67 | /* Begin PBXGroup section */ 68 | 9740EEB11CF90186004384FC /* Flutter */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 3B80C3931E831B6300D905FE /* App.framework */, 72 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 73 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 74 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 75 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 76 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 77 | ); 78 | name = Flutter; 79 | sourceTree = ""; 80 | }; 81 | 97C146E51CF9000F007C117D = { 82 | isa = PBXGroup; 83 | children = ( 84 | 9740EEB11CF90186004384FC /* Flutter */, 85 | 97C146F01CF9000F007C117D /* Runner */, 86 | 97C146EF1CF9000F007C117D /* Products */, 87 | ); 88 | sourceTree = ""; 89 | }; 90 | 97C146EF1CF9000F007C117D /* Products */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 97C146EE1CF9000F007C117D /* Runner.app */, 94 | ); 95 | name = Products; 96 | sourceTree = ""; 97 | }; 98 | 97C146F01CF9000F007C117D /* Runner */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 102 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 103 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 104 | 97C147021CF9000F007C117D /* Info.plist */, 105 | 97C146F11CF9000F007C117D /* Supporting Files */, 106 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 107 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 108 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 109 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 110 | ); 111 | path = Runner; 112 | sourceTree = ""; 113 | }; 114 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | ); 118 | name = "Supporting Files"; 119 | sourceTree = ""; 120 | }; 121 | /* End PBXGroup section */ 122 | 123 | /* Begin PBXNativeTarget section */ 124 | 97C146ED1CF9000F007C117D /* Runner */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 127 | buildPhases = ( 128 | 9740EEB61CF901F6004384FC /* Run Script */, 129 | 97C146EA1CF9000F007C117D /* Sources */, 130 | 97C146EB1CF9000F007C117D /* Frameworks */, 131 | 97C146EC1CF9000F007C117D /* Resources */, 132 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 133 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Runner; 140 | productName = Runner; 141 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 142 | productType = "com.apple.product-type.application"; 143 | }; 144 | /* End PBXNativeTarget section */ 145 | 146 | /* Begin PBXProject section */ 147 | 97C146E61CF9000F007C117D /* Project object */ = { 148 | isa = PBXProject; 149 | attributes = { 150 | LastUpgradeCheck = 1020; 151 | ORGANIZATIONNAME = "The Chromium Authors"; 152 | TargetAttributes = { 153 | 97C146ED1CF9000F007C117D = { 154 | CreatedOnToolsVersion = 7.3.1; 155 | DevelopmentTeam = 7SJW2WG2GJ; 156 | LastSwiftMigration = 1100; 157 | }; 158 | }; 159 | }; 160 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 161 | compatibilityVersion = "Xcode 3.2"; 162 | developmentRegion = en; 163 | hasScannedForEncodings = 0; 164 | knownRegions = ( 165 | en, 166 | Base, 167 | ); 168 | mainGroup = 97C146E51CF9000F007C117D; 169 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 170 | projectDirPath = ""; 171 | projectRoot = ""; 172 | targets = ( 173 | 97C146ED1CF9000F007C117D /* Runner */, 174 | ); 175 | }; 176 | /* End PBXProject section */ 177 | 178 | /* Begin PBXResourcesBuildPhase section */ 179 | 97C146EC1CF9000F007C117D /* Resources */ = { 180 | isa = PBXResourcesBuildPhase; 181 | buildActionMask = 2147483647; 182 | files = ( 183 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 184 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 185 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 186 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXResourcesBuildPhase section */ 191 | 192 | /* Begin PBXShellScriptBuildPhase section */ 193 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 194 | isa = PBXShellScriptBuildPhase; 195 | buildActionMask = 2147483647; 196 | files = ( 197 | ); 198 | inputPaths = ( 199 | ); 200 | name = "Thin Binary"; 201 | outputPaths = ( 202 | ); 203 | runOnlyForDeploymentPostprocessing = 0; 204 | shellPath = /bin/sh; 205 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 206 | }; 207 | 9740EEB61CF901F6004384FC /* Run Script */ = { 208 | isa = PBXShellScriptBuildPhase; 209 | buildActionMask = 2147483647; 210 | files = ( 211 | ); 212 | inputPaths = ( 213 | ); 214 | name = "Run Script"; 215 | outputPaths = ( 216 | ); 217 | runOnlyForDeploymentPostprocessing = 0; 218 | shellPath = /bin/sh; 219 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 220 | }; 221 | /* End PBXShellScriptBuildPhase section */ 222 | 223 | /* Begin PBXSourcesBuildPhase section */ 224 | 97C146EA1CF9000F007C117D /* Sources */ = { 225 | isa = PBXSourcesBuildPhase; 226 | buildActionMask = 2147483647; 227 | files = ( 228 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 229 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 230 | ); 231 | runOnlyForDeploymentPostprocessing = 0; 232 | }; 233 | /* End PBXSourcesBuildPhase section */ 234 | 235 | /* Begin PBXVariantGroup section */ 236 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 237 | isa = PBXVariantGroup; 238 | children = ( 239 | 97C146FB1CF9000F007C117D /* Base */, 240 | ); 241 | name = Main.storyboard; 242 | sourceTree = ""; 243 | }; 244 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 245 | isa = PBXVariantGroup; 246 | children = ( 247 | 97C147001CF9000F007C117D /* Base */, 248 | ); 249 | name = LaunchScreen.storyboard; 250 | sourceTree = ""; 251 | }; 252 | /* End PBXVariantGroup section */ 253 | 254 | /* Begin XCBuildConfiguration section */ 255 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 256 | isa = XCBuildConfiguration; 257 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 258 | buildSettings = { 259 | ALWAYS_SEARCH_USER_PATHS = NO; 260 | CLANG_ANALYZER_NONNULL = YES; 261 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 262 | CLANG_CXX_LIBRARY = "libc++"; 263 | CLANG_ENABLE_MODULES = YES; 264 | CLANG_ENABLE_OBJC_ARC = YES; 265 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 266 | CLANG_WARN_BOOL_CONVERSION = YES; 267 | CLANG_WARN_COMMA = YES; 268 | CLANG_WARN_CONSTANT_CONVERSION = YES; 269 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 270 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 271 | CLANG_WARN_EMPTY_BODY = YES; 272 | CLANG_WARN_ENUM_CONVERSION = YES; 273 | CLANG_WARN_INFINITE_RECURSION = YES; 274 | CLANG_WARN_INT_CONVERSION = YES; 275 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 276 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 277 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 278 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 279 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 280 | CLANG_WARN_STRICT_PROTOTYPES = YES; 281 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 282 | CLANG_WARN_UNREACHABLE_CODE = YES; 283 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 284 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 285 | COPY_PHASE_STRIP = NO; 286 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 287 | ENABLE_NS_ASSERTIONS = NO; 288 | ENABLE_STRICT_OBJC_MSGSEND = YES; 289 | GCC_C_LANGUAGE_STANDARD = gnu99; 290 | GCC_NO_COMMON_BLOCKS = YES; 291 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 292 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 293 | GCC_WARN_UNDECLARED_SELECTOR = YES; 294 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 295 | GCC_WARN_UNUSED_FUNCTION = YES; 296 | GCC_WARN_UNUSED_VARIABLE = YES; 297 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 298 | MTL_ENABLE_DEBUG_INFO = NO; 299 | SDKROOT = iphoneos; 300 | SUPPORTED_PLATFORMS = iphoneos; 301 | TARGETED_DEVICE_FAMILY = "1,2"; 302 | VALIDATE_PRODUCT = YES; 303 | }; 304 | name = Profile; 305 | }; 306 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 307 | isa = XCBuildConfiguration; 308 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 309 | buildSettings = { 310 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 311 | CLANG_ENABLE_MODULES = YES; 312 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 313 | DEVELOPMENT_TEAM = 7SJW2WG2GJ; 314 | ENABLE_BITCODE = NO; 315 | FRAMEWORK_SEARCH_PATHS = ( 316 | "$(inherited)", 317 | "$(PROJECT_DIR)/Flutter", 318 | ); 319 | INFOPLIST_FILE = Runner/Info.plist; 320 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 321 | LIBRARY_SEARCH_PATHS = ( 322 | "$(inherited)", 323 | "$(PROJECT_DIR)/Flutter", 324 | ); 325 | PRODUCT_BUNDLE_IDENTIFIER = com.example.nubankTutorial; 326 | PRODUCT_NAME = "$(TARGET_NAME)"; 327 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 328 | SWIFT_VERSION = 5.0; 329 | VERSIONING_SYSTEM = "apple-generic"; 330 | }; 331 | name = Profile; 332 | }; 333 | 97C147031CF9000F007C117D /* Debug */ = { 334 | isa = XCBuildConfiguration; 335 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 336 | buildSettings = { 337 | ALWAYS_SEARCH_USER_PATHS = NO; 338 | CLANG_ANALYZER_NONNULL = YES; 339 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 340 | CLANG_CXX_LIBRARY = "libc++"; 341 | CLANG_ENABLE_MODULES = YES; 342 | CLANG_ENABLE_OBJC_ARC = YES; 343 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 344 | CLANG_WARN_BOOL_CONVERSION = YES; 345 | CLANG_WARN_COMMA = YES; 346 | CLANG_WARN_CONSTANT_CONVERSION = YES; 347 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 348 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 349 | CLANG_WARN_EMPTY_BODY = YES; 350 | CLANG_WARN_ENUM_CONVERSION = YES; 351 | CLANG_WARN_INFINITE_RECURSION = YES; 352 | CLANG_WARN_INT_CONVERSION = YES; 353 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 354 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 355 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 356 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 357 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 358 | CLANG_WARN_STRICT_PROTOTYPES = YES; 359 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 360 | CLANG_WARN_UNREACHABLE_CODE = YES; 361 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 362 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 363 | COPY_PHASE_STRIP = NO; 364 | DEBUG_INFORMATION_FORMAT = dwarf; 365 | ENABLE_STRICT_OBJC_MSGSEND = YES; 366 | ENABLE_TESTABILITY = YES; 367 | GCC_C_LANGUAGE_STANDARD = gnu99; 368 | GCC_DYNAMIC_NO_PIC = NO; 369 | GCC_NO_COMMON_BLOCKS = YES; 370 | GCC_OPTIMIZATION_LEVEL = 0; 371 | GCC_PREPROCESSOR_DEFINITIONS = ( 372 | "DEBUG=1", 373 | "$(inherited)", 374 | ); 375 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 376 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 377 | GCC_WARN_UNDECLARED_SELECTOR = YES; 378 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 379 | GCC_WARN_UNUSED_FUNCTION = YES; 380 | GCC_WARN_UNUSED_VARIABLE = YES; 381 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 382 | MTL_ENABLE_DEBUG_INFO = YES; 383 | ONLY_ACTIVE_ARCH = YES; 384 | SDKROOT = iphoneos; 385 | TARGETED_DEVICE_FAMILY = "1,2"; 386 | }; 387 | name = Debug; 388 | }; 389 | 97C147041CF9000F007C117D /* Release */ = { 390 | isa = XCBuildConfiguration; 391 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 392 | buildSettings = { 393 | ALWAYS_SEARCH_USER_PATHS = NO; 394 | CLANG_ANALYZER_NONNULL = YES; 395 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 396 | CLANG_CXX_LIBRARY = "libc++"; 397 | CLANG_ENABLE_MODULES = YES; 398 | CLANG_ENABLE_OBJC_ARC = YES; 399 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 400 | CLANG_WARN_BOOL_CONVERSION = YES; 401 | CLANG_WARN_COMMA = YES; 402 | CLANG_WARN_CONSTANT_CONVERSION = YES; 403 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 405 | CLANG_WARN_EMPTY_BODY = YES; 406 | CLANG_WARN_ENUM_CONVERSION = YES; 407 | CLANG_WARN_INFINITE_RECURSION = YES; 408 | CLANG_WARN_INT_CONVERSION = YES; 409 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 411 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 412 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 413 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 414 | CLANG_WARN_STRICT_PROTOTYPES = YES; 415 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 416 | CLANG_WARN_UNREACHABLE_CODE = YES; 417 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 418 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 419 | COPY_PHASE_STRIP = NO; 420 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 421 | ENABLE_NS_ASSERTIONS = NO; 422 | ENABLE_STRICT_OBJC_MSGSEND = YES; 423 | GCC_C_LANGUAGE_STANDARD = gnu99; 424 | GCC_NO_COMMON_BLOCKS = YES; 425 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 426 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 427 | GCC_WARN_UNDECLARED_SELECTOR = YES; 428 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 429 | GCC_WARN_UNUSED_FUNCTION = YES; 430 | GCC_WARN_UNUSED_VARIABLE = YES; 431 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 432 | MTL_ENABLE_DEBUG_INFO = NO; 433 | SDKROOT = iphoneos; 434 | SUPPORTED_PLATFORMS = iphoneos; 435 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 436 | TARGETED_DEVICE_FAMILY = "1,2"; 437 | VALIDATE_PRODUCT = YES; 438 | }; 439 | name = Release; 440 | }; 441 | 97C147061CF9000F007C117D /* Debug */ = { 442 | isa = XCBuildConfiguration; 443 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 444 | buildSettings = { 445 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 446 | CLANG_ENABLE_MODULES = YES; 447 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 448 | DEVELOPMENT_TEAM = 7SJW2WG2GJ; 449 | ENABLE_BITCODE = NO; 450 | FRAMEWORK_SEARCH_PATHS = ( 451 | "$(inherited)", 452 | "$(PROJECT_DIR)/Flutter", 453 | ); 454 | INFOPLIST_FILE = Runner/Info.plist; 455 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 456 | LIBRARY_SEARCH_PATHS = ( 457 | "$(inherited)", 458 | "$(PROJECT_DIR)/Flutter", 459 | ); 460 | PRODUCT_BUNDLE_IDENTIFIER = com.example.nubankTutorial; 461 | PRODUCT_NAME = "$(TARGET_NAME)"; 462 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 463 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 464 | SWIFT_VERSION = 5.0; 465 | VERSIONING_SYSTEM = "apple-generic"; 466 | }; 467 | name = Debug; 468 | }; 469 | 97C147071CF9000F007C117D /* Release */ = { 470 | isa = XCBuildConfiguration; 471 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 472 | buildSettings = { 473 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 474 | CLANG_ENABLE_MODULES = YES; 475 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 476 | DEVELOPMENT_TEAM = 7SJW2WG2GJ; 477 | ENABLE_BITCODE = NO; 478 | FRAMEWORK_SEARCH_PATHS = ( 479 | "$(inherited)", 480 | "$(PROJECT_DIR)/Flutter", 481 | ); 482 | INFOPLIST_FILE = Runner/Info.plist; 483 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 484 | LIBRARY_SEARCH_PATHS = ( 485 | "$(inherited)", 486 | "$(PROJECT_DIR)/Flutter", 487 | ); 488 | PRODUCT_BUNDLE_IDENTIFIER = com.example.nubankTutorial; 489 | PRODUCT_NAME = "$(TARGET_NAME)"; 490 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 491 | SWIFT_VERSION = 5.0; 492 | VERSIONING_SYSTEM = "apple-generic"; 493 | }; 494 | name = Release; 495 | }; 496 | /* End XCBuildConfiguration section */ 497 | 498 | /* Begin XCConfigurationList section */ 499 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 500 | isa = XCConfigurationList; 501 | buildConfigurations = ( 502 | 97C147031CF9000F007C117D /* Debug */, 503 | 97C147041CF9000F007C117D /* Release */, 504 | 249021D3217E4FDB00AE95B9 /* Profile */, 505 | ); 506 | defaultConfigurationIsVisible = 0; 507 | defaultConfigurationName = Release; 508 | }; 509 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 510 | isa = XCConfigurationList; 511 | buildConfigurations = ( 512 | 97C147061CF9000F007C117D /* Debug */, 513 | 97C147071CF9000F007C117D /* Release */, 514 | 249021D4217E4FDB00AE95B9 /* Profile */, 515 | ); 516 | defaultConfigurationIsVisible = 0; 517 | defaultConfigurationName = Release; 518 | }; 519 | /* End XCConfigurationList section */ 520 | }; 521 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 522 | } 523 | --------------------------------------------------------------------------------