├── .gitignore
├── .metadata
├── README.md
├── android
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flutter_paypalredesign
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── 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
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── fonts
│ ├── sfprotext
│ │ ├── SF-Pro-Text-Bold.otf
│ │ ├── SF-Pro-Text-BoldItalic.otf
│ │ ├── SF-Pro-Text-Heavy.otf
│ │ ├── SF-Pro-Text-HeavyItalic.otf
│ │ ├── SF-Pro-Text-Light.otf
│ │ ├── SF-Pro-Text-LightItalic.otf
│ │ ├── SF-Pro-Text-Medium.otf
│ │ ├── SF-Pro-Text-MediumItalic.otf
│ │ ├── SF-Pro-Text-Regular.otf
│ │ ├── SF-Pro-Text-RegularItalic.otf
│ │ ├── SF-Pro-Text-Semibold.otf
│ │ └── SF-Pro-Text-SemiboldItalic.otf
│ ├── vistolsanslight
│ │ └── VistolSans-Light.otf
│ └── worksans
│ │ ├── WorkSans-Black.ttf
│ │ ├── WorkSans-Bold.ttf
│ │ ├── WorkSans-ExtraBold.ttf
│ │ ├── WorkSans-ExtraLight.ttf
│ │ ├── WorkSans-Light.ttf
│ │ ├── WorkSans-Medium.ttf
│ │ ├── WorkSans-Regular.ttf
│ │ ├── WorkSans-SemiBold.ttf
│ │ └── WorkSans-Thin.ttf
└── images
│ ├── Nike.png
│ ├── PayPal-logo.png
│ ├── Paypal-logo-header.png
│ ├── Visa-logo.png
│ ├── checked.png
│ ├── chip_thumb.png
│ ├── icon_home.png
│ ├── icon_orion_user-group.png
│ ├── icon_recieve.png
│ ├── icon_school-bell.png
│ ├── icon_send.png
│ ├── icon_settings.png
│ ├── icon_shop.png
│ ├── if_10_avatar_2754575.png
│ ├── if_12_avatar_2754577.png
│ ├── if_1_avatar_2754574.png
│ ├── if_2_avatar_2754578.png
│ ├── if_3_avatar_2754579.png
│ ├── if_4_avatar_2754580.png
│ ├── if_5_avatar_2754581.png
│ ├── if_8_avatar_2754583.png
│ ├── if_9_avatar_2754584.png
│ ├── loading.png
│ └── photo.png
├── doc
├── AppPreview.gif
├── PaypalRedesign.xd
└── Profile.png
├── ios
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── flutter_export_environment.sh
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── 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-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── main.m
├── lib
├── main.dart
├── screens
│ ├── app.dart
│ ├── home.dart
│ ├── profile.dart
│ ├── raisemoney.dart
│ ├── recieve.dart
│ ├── send.dart
│ ├── send1.dart
│ └── send2.dart
└── util.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.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 | # Visual Studio Code related
19 | .vscode/
20 |
21 | # Flutter/Dart/Pub related
22 | **/doc/api/
23 | .dart_tool/
24 | .flutter-plugins
25 | .packages
26 | .pub-cache/
27 | .pub/
28 | /build/
29 |
30 | # Android related
31 | **/android/**/gradle-wrapper.jar
32 | **/android/.gradle
33 | **/android/captures/
34 | **/android/gradlew
35 | **/android/gradlew.bat
36 | **/android/local.properties
37 | **/android/**/GeneratedPluginRegistrant.java
38 |
39 | # iOS/XCode related
40 | **/ios/**/*.mode1v3
41 | **/ios/**/*.mode2v3
42 | **/ios/**/*.moved-aside
43 | **/ios/**/*.pbxuser
44 | **/ios/**/*.perspectivev3
45 | **/ios/**/*sync/
46 | **/ios/**/.sconsign.dblite
47 | **/ios/**/.tags*
48 | **/ios/**/.vagrant/
49 | **/ios/**/DerivedData/
50 | **/ios/**/Icon?
51 | **/ios/**/Pods/
52 | **/ios/**/.symlinks/
53 | **/ios/**/profile
54 | **/ios/**/xcuserdata
55 | **/ios/.generated/
56 | **/ios/Flutter/App.framework
57 | **/ios/Flutter/Flutter.framework
58 | **/ios/Flutter/Generated.xcconfig
59 | **/ios/Flutter/app.flx
60 | **/ios/Flutter/app.zip
61 | **/ios/Flutter/flutter_assets/
62 | **/ios/ServiceDefinitions.json
63 | **/ios/Runner/GeneratedPluginRegistrant.*
64 |
65 | # Exceptions to above rules.
66 | !**/ios/**/default.mode1v3
67 | !**/ios/**/default.mode2v3
68 | !**/ios/**/default.pbxuser
69 | !**/ios/**/default.perspectivev3
70 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
71 |
--------------------------------------------------------------------------------
/.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: 7a4c33425ddd78c54aba07d86f3f9a4a0051769b
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 💰 Flutter Paypal Redesign Challenge
2 |
3 | This Flutter project is inspired from the winner *Jordan Fokoua* of the Uplabs 💰 Paypal-Redesign-Challenge, see more on:
4 | [Uplabs Challenge](https://www.uplabs.com/challenges/paypal-redesign-challenge).
5 |
6 | ## Getting Started 🚀
7 |
8 | - Clone the repo
9 | - Install the dependicies
10 | - Run it
11 |
12 | ## Preview
13 |
14 | The app is based on Jordans design, see a preview here:
15 |
16 | 
17 |
18 |
19 | ## Support me
20 |
21 | I really like to make as much (free) beautiful Flutter apps, so you get inspired!
22 | Hence you can support me by:
23 |
24 | ⭐️ this repo if you like it.
25 |
26 | Donate me of a cup of coffee ☕️:
27 |
28 |
29 |
30 | Thank you in advanced 👍
31 |
32 | ## Other Flutter Apps
33 |
34 | There are other example Apps made with flutter, see more on [Interestinate](https://interestinate.com).
35 |
36 | Or the following repo's:
37 | - An iOS focused Flutter App: [iSubscribe](https://github.com/LiveLikeCounter/Flutter-iSubscribe)
38 | - A Package Manager App made with Flutter: [Package Manager](https://github.com/LiveLikeCounter/Flutter-Package-Manager)
39 | - A Food Delivery Flutter App: [Food Delivery](https://github.com/LiveLikeCounter/Flutter-Food-Delivery)
40 | - A To Do App based on Flutter: [To Do](https://github.com/LiveLikeCounter/Flutter-Todolist)
41 |
--------------------------------------------------------------------------------
/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 28
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.example.flutter_paypalredesign"
37 | minSdkVersion 16
38 | targetSdkVersion 28
39 | versionCode flutterVersionCode.toInteger()
40 | versionName flutterVersionName
41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | testImplementation 'junit:junit:4.12'
59 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
61 | }
62 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
9 |
13 |
20 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/flutter_paypalredesign/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.flutter_paypalredesign;
2 |
3 | import android.os.Bundle;
4 | import io.flutter.app.FlutterActivity;
5 | import io.flutter.plugins.GeneratedPluginRegistrant;
6 |
7 | public class MainActivity extends FlutterActivity {
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | GeneratedPluginRegistrant.registerWith(this);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.2.1'
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 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/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-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Bold.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Bold.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-BoldItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-BoldItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Heavy.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Heavy.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-HeavyItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-HeavyItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Light.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Light.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-LightItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-LightItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Medium.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-MediumItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-MediumItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Regular.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-RegularItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-RegularItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-Semibold.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-Semibold.otf
--------------------------------------------------------------------------------
/assets/fonts/sfprotext/SF-Pro-Text-SemiboldItalic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/sfprotext/SF-Pro-Text-SemiboldItalic.otf
--------------------------------------------------------------------------------
/assets/fonts/vistolsanslight/VistolSans-Light.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/vistolsanslight/VistolSans-Light.otf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Black.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-ExtraBold.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-ExtraLight.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Light.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Regular.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-SemiBold.ttf
--------------------------------------------------------------------------------
/assets/fonts/worksans/WorkSans-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/fonts/worksans/WorkSans-Thin.ttf
--------------------------------------------------------------------------------
/assets/images/Nike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/Nike.png
--------------------------------------------------------------------------------
/assets/images/PayPal-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/PayPal-logo.png
--------------------------------------------------------------------------------
/assets/images/Paypal-logo-header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/Paypal-logo-header.png
--------------------------------------------------------------------------------
/assets/images/Visa-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/Visa-logo.png
--------------------------------------------------------------------------------
/assets/images/checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/checked.png
--------------------------------------------------------------------------------
/assets/images/chip_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/chip_thumb.png
--------------------------------------------------------------------------------
/assets/images/icon_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_home.png
--------------------------------------------------------------------------------
/assets/images/icon_orion_user-group.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_orion_user-group.png
--------------------------------------------------------------------------------
/assets/images/icon_recieve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_recieve.png
--------------------------------------------------------------------------------
/assets/images/icon_school-bell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_school-bell.png
--------------------------------------------------------------------------------
/assets/images/icon_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_send.png
--------------------------------------------------------------------------------
/assets/images/icon_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_settings.png
--------------------------------------------------------------------------------
/assets/images/icon_shop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/icon_shop.png
--------------------------------------------------------------------------------
/assets/images/if_10_avatar_2754575.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_10_avatar_2754575.png
--------------------------------------------------------------------------------
/assets/images/if_12_avatar_2754577.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_12_avatar_2754577.png
--------------------------------------------------------------------------------
/assets/images/if_1_avatar_2754574.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_1_avatar_2754574.png
--------------------------------------------------------------------------------
/assets/images/if_2_avatar_2754578.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_2_avatar_2754578.png
--------------------------------------------------------------------------------
/assets/images/if_3_avatar_2754579.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_3_avatar_2754579.png
--------------------------------------------------------------------------------
/assets/images/if_4_avatar_2754580.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_4_avatar_2754580.png
--------------------------------------------------------------------------------
/assets/images/if_5_avatar_2754581.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_5_avatar_2754581.png
--------------------------------------------------------------------------------
/assets/images/if_8_avatar_2754583.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_8_avatar_2754583.png
--------------------------------------------------------------------------------
/assets/images/if_9_avatar_2754584.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/if_9_avatar_2754584.png
--------------------------------------------------------------------------------
/assets/images/loading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/loading.png
--------------------------------------------------------------------------------
/assets/images/photo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/assets/images/photo.png
--------------------------------------------------------------------------------
/doc/AppPreview.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/doc/AppPreview.gif
--------------------------------------------------------------------------------
/doc/PaypalRedesign.xd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/doc/PaypalRedesign.xd
--------------------------------------------------------------------------------
/doc/Profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/doc/Profile.png
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
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 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/flutter_export_environment.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # This is a generated file; do not edit or check into version control.
3 | export "FLUTTER_ROOT=/Users/johan/flutter"
4 | export "FLUTTER_APPLICATION_PATH=/Users/johan/Documents/Projects/interestinate.com/Flutter-Github-repos/Flutter-Paypal-Redesign"
5 | export "FLUTTER_TARGET=lib/main.dart"
6 | export "FLUTTER_BUILD_DIR=build"
7 | export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8 | export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
9 | export "FLUTTER_FRAMEWORK_DIR=/Users/johan/flutter/bin/cache/artifacts/engine/ios"
10 | export "FLUTTER_BUILD_NAME=1.0.0"
11 | export "FLUTTER_BUILD_NUMBER=1"
12 | export "DART_OBFUSCATION=false"
13 | export "TRACK_WIDGET_CREATION=false"
14 | export "TREE_SHAKE_ICONS=false"
15 | export "PACKAGE_CONFIG=.packages"
16 |
--------------------------------------------------------------------------------
/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 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
15 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
16 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
17 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
18 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXCopyFilesBuildPhase section */
25 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
26 | isa = PBXCopyFilesBuildPhase;
27 | buildActionMask = 2147483647;
28 | dstPath = "";
29 | dstSubfolderSpec = 10;
30 | files = (
31 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
32 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
33 | );
34 | name = "Embed Frameworks";
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXCopyFilesBuildPhase section */
38 |
39 | /* Begin PBXFileReference section */
40 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
41 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
42 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
43 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
45 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
46 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
47 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
48 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
49 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
50 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
51 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
56 | /* End PBXFileReference section */
57 |
58 | /* Begin PBXFrameworksBuildPhase section */
59 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
60 | isa = PBXFrameworksBuildPhase;
61 | buildActionMask = 2147483647;
62 | files = (
63 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
64 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
65 | );
66 | runOnlyForDeploymentPostprocessing = 0;
67 | };
68 | /* End PBXFrameworksBuildPhase section */
69 |
70 | /* Begin PBXGroup section */
71 | 9740EEB11CF90186004384FC /* Flutter */ = {
72 | isa = PBXGroup;
73 | children = (
74 | 3B80C3931E831B6300D905FE /* App.framework */,
75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
76 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
77 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
78 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
79 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
80 | );
81 | name = Flutter;
82 | sourceTree = "";
83 | };
84 | 97C146E51CF9000F007C117D = {
85 | isa = PBXGroup;
86 | children = (
87 | 9740EEB11CF90186004384FC /* Flutter */,
88 | 97C146F01CF9000F007C117D /* Runner */,
89 | 97C146EF1CF9000F007C117D /* Products */,
90 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
91 | );
92 | sourceTree = "";
93 | };
94 | 97C146EF1CF9000F007C117D /* Products */ = {
95 | isa = PBXGroup;
96 | children = (
97 | 97C146EE1CF9000F007C117D /* Runner.app */,
98 | );
99 | name = Products;
100 | sourceTree = "";
101 | };
102 | 97C146F01CF9000F007C117D /* Runner */ = {
103 | isa = PBXGroup;
104 | children = (
105 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
106 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
107 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
110 | 97C147021CF9000F007C117D /* Info.plist */,
111 | 97C146F11CF9000F007C117D /* Supporting Files */,
112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
114 | );
115 | path = Runner;
116 | sourceTree = "";
117 | };
118 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
119 | isa = PBXGroup;
120 | children = (
121 | 97C146F21CF9000F007C117D /* main.m */,
122 | );
123 | name = "Supporting Files";
124 | sourceTree = "";
125 | };
126 | /* End PBXGroup section */
127 |
128 | /* Begin PBXNativeTarget section */
129 | 97C146ED1CF9000F007C117D /* Runner */ = {
130 | isa = PBXNativeTarget;
131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
132 | buildPhases = (
133 | 9740EEB61CF901F6004384FC /* Run Script */,
134 | 97C146EA1CF9000F007C117D /* Sources */,
135 | 97C146EB1CF9000F007C117D /* Frameworks */,
136 | 97C146EC1CF9000F007C117D /* Resources */,
137 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
139 | );
140 | buildRules = (
141 | );
142 | dependencies = (
143 | );
144 | name = Runner;
145 | productName = Runner;
146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
147 | productType = "com.apple.product-type.application";
148 | };
149 | /* End PBXNativeTarget section */
150 |
151 | /* Begin PBXProject section */
152 | 97C146E61CF9000F007C117D /* Project object */ = {
153 | isa = PBXProject;
154 | attributes = {
155 | LastUpgradeCheck = 0910;
156 | ORGANIZATIONNAME = "The Chromium Authors";
157 | TargetAttributes = {
158 | 97C146ED1CF9000F007C117D = {
159 | CreatedOnToolsVersion = 7.3.1;
160 | };
161 | };
162 | };
163 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
164 | compatibilityVersion = "Xcode 3.2";
165 | developmentRegion = English;
166 | hasScannedForEncodings = 0;
167 | knownRegions = (
168 | en,
169 | Base,
170 | );
171 | mainGroup = 97C146E51CF9000F007C117D;
172 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
173 | projectDirPath = "";
174 | projectRoot = "";
175 | targets = (
176 | 97C146ED1CF9000F007C117D /* Runner */,
177 | );
178 | };
179 | /* End PBXProject section */
180 |
181 | /* Begin PBXResourcesBuildPhase section */
182 | 97C146EC1CF9000F007C117D /* Resources */ = {
183 | isa = PBXResourcesBuildPhase;
184 | buildActionMask = 2147483647;
185 | files = (
186 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
187 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
188 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
189 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
190 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
191 | );
192 | runOnlyForDeploymentPostprocessing = 0;
193 | };
194 | /* End PBXResourcesBuildPhase section */
195 |
196 | /* Begin PBXShellScriptBuildPhase section */
197 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
198 | isa = PBXShellScriptBuildPhase;
199 | buildActionMask = 2147483647;
200 | files = (
201 | );
202 | inputPaths = (
203 | );
204 | name = "Thin Binary";
205 | outputPaths = (
206 | );
207 | runOnlyForDeploymentPostprocessing = 0;
208 | shellPath = /bin/sh;
209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
210 | };
211 | 9740EEB61CF901F6004384FC /* Run Script */ = {
212 | isa = PBXShellScriptBuildPhase;
213 | buildActionMask = 2147483647;
214 | files = (
215 | );
216 | inputPaths = (
217 | );
218 | name = "Run Script";
219 | outputPaths = (
220 | );
221 | runOnlyForDeploymentPostprocessing = 0;
222 | shellPath = /bin/sh;
223 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
224 | };
225 | /* End PBXShellScriptBuildPhase section */
226 |
227 | /* Begin PBXSourcesBuildPhase section */
228 | 97C146EA1CF9000F007C117D /* Sources */ = {
229 | isa = PBXSourcesBuildPhase;
230 | buildActionMask = 2147483647;
231 | files = (
232 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
233 | 97C146F31CF9000F007C117D /* main.m in Sources */,
234 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
235 | );
236 | runOnlyForDeploymentPostprocessing = 0;
237 | };
238 | /* End PBXSourcesBuildPhase section */
239 |
240 | /* Begin PBXVariantGroup section */
241 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
242 | isa = PBXVariantGroup;
243 | children = (
244 | 97C146FB1CF9000F007C117D /* Base */,
245 | );
246 | name = Main.storyboard;
247 | sourceTree = "";
248 | };
249 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
250 | isa = PBXVariantGroup;
251 | children = (
252 | 97C147001CF9000F007C117D /* Base */,
253 | );
254 | name = LaunchScreen.storyboard;
255 | sourceTree = "";
256 | };
257 | /* End PBXVariantGroup section */
258 |
259 | /* Begin XCBuildConfiguration section */
260 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
261 | isa = XCBuildConfiguration;
262 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
263 | buildSettings = {
264 | ALWAYS_SEARCH_USER_PATHS = NO;
265 | CLANG_ANALYZER_NONNULL = YES;
266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
267 | CLANG_CXX_LIBRARY = "libc++";
268 | CLANG_ENABLE_MODULES = YES;
269 | CLANG_ENABLE_OBJC_ARC = YES;
270 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
271 | CLANG_WARN_BOOL_CONVERSION = YES;
272 | CLANG_WARN_COMMA = YES;
273 | CLANG_WARN_CONSTANT_CONVERSION = YES;
274 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
275 | CLANG_WARN_EMPTY_BODY = YES;
276 | CLANG_WARN_ENUM_CONVERSION = YES;
277 | CLANG_WARN_INFINITE_RECURSION = YES;
278 | CLANG_WARN_INT_CONVERSION = YES;
279 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
282 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
283 | CLANG_WARN_STRICT_PROTOTYPES = YES;
284 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
285 | CLANG_WARN_UNREACHABLE_CODE = YES;
286 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
288 | COPY_PHASE_STRIP = NO;
289 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
290 | ENABLE_NS_ASSERTIONS = NO;
291 | ENABLE_STRICT_OBJC_MSGSEND = YES;
292 | GCC_C_LANGUAGE_STANDARD = gnu99;
293 | GCC_NO_COMMON_BLOCKS = YES;
294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
296 | GCC_WARN_UNDECLARED_SELECTOR = YES;
297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
298 | GCC_WARN_UNUSED_FUNCTION = YES;
299 | GCC_WARN_UNUSED_VARIABLE = YES;
300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
301 | MTL_ENABLE_DEBUG_INFO = NO;
302 | SDKROOT = iphoneos;
303 | TARGETED_DEVICE_FAMILY = "1,2";
304 | VALIDATE_PRODUCT = YES;
305 | };
306 | name = Profile;
307 | };
308 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
309 | isa = XCBuildConfiguration;
310 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
311 | buildSettings = {
312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
314 | DEVELOPMENT_TEAM = S8QB4VV633;
315 | ENABLE_BITCODE = NO;
316 | FRAMEWORK_SEARCH_PATHS = (
317 | "$(inherited)",
318 | "$(PROJECT_DIR)/Flutter",
319 | );
320 | INFOPLIST_FILE = Runner/Info.plist;
321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
322 | LIBRARY_SEARCH_PATHS = (
323 | "$(inherited)",
324 | "$(PROJECT_DIR)/Flutter",
325 | );
326 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPaypalredesign;
327 | PRODUCT_NAME = "$(TARGET_NAME)";
328 | VERSIONING_SYSTEM = "apple-generic";
329 | };
330 | name = Profile;
331 | };
332 | 97C147031CF9000F007C117D /* Debug */ = {
333 | isa = XCBuildConfiguration;
334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
335 | buildSettings = {
336 | ALWAYS_SEARCH_USER_PATHS = NO;
337 | CLANG_ANALYZER_NONNULL = YES;
338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
339 | CLANG_CXX_LIBRARY = "libc++";
340 | CLANG_ENABLE_MODULES = YES;
341 | CLANG_ENABLE_OBJC_ARC = YES;
342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
343 | CLANG_WARN_BOOL_CONVERSION = YES;
344 | CLANG_WARN_COMMA = YES;
345 | CLANG_WARN_CONSTANT_CONVERSION = YES;
346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347 | CLANG_WARN_EMPTY_BODY = YES;
348 | CLANG_WARN_ENUM_CONVERSION = YES;
349 | CLANG_WARN_INFINITE_RECURSION = YES;
350 | CLANG_WARN_INT_CONVERSION = YES;
351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
352 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
354 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
355 | CLANG_WARN_STRICT_PROTOTYPES = YES;
356 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
357 | CLANG_WARN_UNREACHABLE_CODE = YES;
358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
360 | COPY_PHASE_STRIP = NO;
361 | DEBUG_INFORMATION_FORMAT = dwarf;
362 | ENABLE_STRICT_OBJC_MSGSEND = YES;
363 | ENABLE_TESTABILITY = YES;
364 | GCC_C_LANGUAGE_STANDARD = gnu99;
365 | GCC_DYNAMIC_NO_PIC = NO;
366 | GCC_NO_COMMON_BLOCKS = YES;
367 | GCC_OPTIMIZATION_LEVEL = 0;
368 | GCC_PREPROCESSOR_DEFINITIONS = (
369 | "DEBUG=1",
370 | "$(inherited)",
371 | );
372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
374 | GCC_WARN_UNDECLARED_SELECTOR = YES;
375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
376 | GCC_WARN_UNUSED_FUNCTION = YES;
377 | GCC_WARN_UNUSED_VARIABLE = YES;
378 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
379 | MTL_ENABLE_DEBUG_INFO = YES;
380 | ONLY_ACTIVE_ARCH = YES;
381 | SDKROOT = iphoneos;
382 | TARGETED_DEVICE_FAMILY = "1,2";
383 | };
384 | name = Debug;
385 | };
386 | 97C147041CF9000F007C117D /* Release */ = {
387 | isa = XCBuildConfiguration;
388 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
389 | buildSettings = {
390 | ALWAYS_SEARCH_USER_PATHS = NO;
391 | CLANG_ANALYZER_NONNULL = YES;
392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
393 | CLANG_CXX_LIBRARY = "libc++";
394 | CLANG_ENABLE_MODULES = YES;
395 | CLANG_ENABLE_OBJC_ARC = YES;
396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
397 | CLANG_WARN_BOOL_CONVERSION = YES;
398 | CLANG_WARN_COMMA = YES;
399 | CLANG_WARN_CONSTANT_CONVERSION = YES;
400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
401 | CLANG_WARN_EMPTY_BODY = YES;
402 | CLANG_WARN_ENUM_CONVERSION = YES;
403 | CLANG_WARN_INFINITE_RECURSION = YES;
404 | CLANG_WARN_INT_CONVERSION = YES;
405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
406 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
407 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
408 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
409 | CLANG_WARN_STRICT_PROTOTYPES = YES;
410 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
411 | CLANG_WARN_UNREACHABLE_CODE = YES;
412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
414 | COPY_PHASE_STRIP = NO;
415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
416 | ENABLE_NS_ASSERTIONS = NO;
417 | ENABLE_STRICT_OBJC_MSGSEND = YES;
418 | GCC_C_LANGUAGE_STANDARD = gnu99;
419 | GCC_NO_COMMON_BLOCKS = YES;
420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
422 | GCC_WARN_UNDECLARED_SELECTOR = YES;
423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424 | GCC_WARN_UNUSED_FUNCTION = YES;
425 | GCC_WARN_UNUSED_VARIABLE = YES;
426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
427 | MTL_ENABLE_DEBUG_INFO = NO;
428 | SDKROOT = iphoneos;
429 | TARGETED_DEVICE_FAMILY = "1,2";
430 | VALIDATE_PRODUCT = YES;
431 | };
432 | name = Release;
433 | };
434 | 97C147061CF9000F007C117D /* Debug */ = {
435 | isa = XCBuildConfiguration;
436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
437 | buildSettings = {
438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
439 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
440 | ENABLE_BITCODE = NO;
441 | FRAMEWORK_SEARCH_PATHS = (
442 | "$(inherited)",
443 | "$(PROJECT_DIR)/Flutter",
444 | );
445 | INFOPLIST_FILE = Runner/Info.plist;
446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
447 | LIBRARY_SEARCH_PATHS = (
448 | "$(inherited)",
449 | "$(PROJECT_DIR)/Flutter",
450 | );
451 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPaypalredesign;
452 | PRODUCT_NAME = "$(TARGET_NAME)";
453 | VERSIONING_SYSTEM = "apple-generic";
454 | };
455 | name = Debug;
456 | };
457 | 97C147071CF9000F007C117D /* Release */ = {
458 | isa = XCBuildConfiguration;
459 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
460 | buildSettings = {
461 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
462 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
463 | ENABLE_BITCODE = NO;
464 | FRAMEWORK_SEARCH_PATHS = (
465 | "$(inherited)",
466 | "$(PROJECT_DIR)/Flutter",
467 | );
468 | INFOPLIST_FILE = Runner/Info.plist;
469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
470 | LIBRARY_SEARCH_PATHS = (
471 | "$(inherited)",
472 | "$(PROJECT_DIR)/Flutter",
473 | );
474 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPaypalredesign;
475 | PRODUCT_NAME = "$(TARGET_NAME)";
476 | VERSIONING_SYSTEM = "apple-generic";
477 | };
478 | name = Release;
479 | };
480 | /* End XCBuildConfiguration section */
481 |
482 | /* Begin XCConfigurationList section */
483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
484 | isa = XCConfigurationList;
485 | buildConfigurations = (
486 | 97C147031CF9000F007C117D /* Debug */,
487 | 97C147041CF9000F007C117D /* Release */,
488 | 249021D3217E4FDB00AE95B9 /* Profile */,
489 | );
490 | defaultConfigurationIsVisible = 0;
491 | defaultConfigurationName = Release;
492 | };
493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
494 | isa = XCConfigurationList;
495 | buildConfigurations = (
496 | 97C147061CF9000F007C117D /* Debug */,
497 | 97C147071CF9000F007C117D /* Release */,
498 | 249021D4217E4FDB00AE95B9 /* Profile */,
499 | );
500 | defaultConfigurationIsVisible = 0;
501 | defaultConfigurationName = Release;
502 | };
503 | /* End XCConfigurationList section */
504 | };
505 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
506 | }
507 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Original
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/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/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Paypal-Redesign/48ad37caba986af773d7021918a9ab5f463ab853/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/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 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_paypalredesign
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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_paypalredesign/screens/app.dart';
4 |
5 | void main() => runApp(PaypalApp());
6 |
7 | class PaypalApp extends StatelessWidget {
8 | @override
9 | Widget build(BuildContext context) {
10 | return MaterialApp(
11 | debugShowCheckedModeBanner: false,
12 | home: App(),
13 | );
14 | }
15 | }
16 |
17 |
--------------------------------------------------------------------------------
/lib/screens/app.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_paypalredesign/util.dart';
4 | import 'package:flutter_paypalredesign/screens/home.dart';
5 | import 'package:flutter_paypalredesign/screens/send.dart';
6 | import 'package:flutter_paypalredesign/screens/recieve.dart';
7 | import 'package:flutter_paypalredesign/screens/raisemoney.dart';
8 |
9 | class App extends StatefulWidget {
10 | @override
11 | _AppState createState() => _AppState();
12 | }
13 |
14 | class _AppState extends State {
15 | int index = 0;
16 |
17 | List buildBottomNavBarItems() {
18 | return [
19 | BottomNavigationBarItem(
20 | icon: ClipOval(
21 | child: Container(
22 | color: index == 0 ? PaypalColors.LightBlue : PaypalColors.Grey,
23 | child: Image.asset(
24 | "assets/images/icon_home.png",
25 | fit: BoxFit.scaleDown,
26 | width: 35.0,
27 | height: 35.0,
28 | ),
29 | ),
30 | ),
31 | title: Text(
32 | 'Home',
33 | style: TextStyle(fontFamily: "worksans"),
34 | ),
35 | ),
36 | BottomNavigationBarItem(
37 | icon: ClipOval(
38 | child: Container(
39 | color: index == 1 ? PaypalColors.LightBlue : PaypalColors.Grey,
40 | child: Image.asset(
41 | "assets/images/icon_send.png",
42 | fit: BoxFit.scaleDown,
43 | width: 35.0,
44 | height: 35.0,
45 | ),
46 | ),
47 | ),
48 | title: Text(
49 | 'Send',
50 | style: TextStyle(fontFamily: "worksans"),
51 | )),
52 | BottomNavigationBarItem(
53 | icon: ClipOval(
54 | child: Container(
55 | color: index == 2 ? PaypalColors.LightBlue : PaypalColors.Grey,
56 | child: Image.asset(
57 | "assets/images/icon_recieve.png",
58 | fit: BoxFit.scaleDown,
59 | width: 35.0,
60 | height: 35.0,
61 | ),
62 | ),
63 | ),
64 | title: Text(
65 | 'Recieve',
66 | style: TextStyle(fontFamily: "worksans"),
67 | ),
68 | ),
69 | BottomNavigationBarItem(
70 | icon: ClipOval(
71 | child: Container(
72 | color: index == 3 ? PaypalColors.LightBlue : PaypalColors.Grey,
73 | child: Image.asset(
74 | "assets/images/icon_orion_user-group.png",
75 | fit: BoxFit.scaleDown,
76 | width: 35.0,
77 | height: 35.0,
78 | ),
79 | ),
80 | ),
81 | title: Text(
82 | 'Raise money',
83 | style: TextStyle(fontFamily: "worksans"),
84 | ),
85 | ),
86 | ];
87 | }
88 |
89 | PageController pageController = PageController(
90 | initialPage: 0,
91 | keepPage: true,
92 | );
93 |
94 | Widget buildPageView() {
95 | return PageView(
96 | controller: pageController,
97 | onPageChanged: (index) {
98 | pageChanged(index);
99 | },
100 | children: [
101 | Home(),
102 | Send(),
103 | Recieve(),
104 | RaiseMoney(),
105 | ],
106 | );
107 | }
108 |
109 | @override
110 | void initState() {
111 | super.initState();
112 | }
113 |
114 | void pageChanged(int index) {
115 | setState(() {
116 | this.index = index;
117 | });
118 | }
119 |
120 | void bottomTapped(int index) {
121 | setState(() {
122 | this.index = index;
123 | pageController.animateToPage(index,
124 | duration: Duration(milliseconds: 500), curve: Curves.ease);
125 | });
126 | }
127 |
128 | @override
129 | Widget build(BuildContext context) {
130 | return PageView(
131 | children: [
132 | Scaffold(
133 | backgroundColor: Colors.white,
134 | appBar: _mainAppBar(),
135 | body: buildPageView(),
136 | bottomNavigationBar: BottomNavigationBar(
137 | currentIndex: index,
138 | onTap: (int index) {
139 | bottomTapped(index);
140 | },
141 | backgroundColor: Colors.white,
142 | type: BottomNavigationBarType.fixed,
143 | selectedFontSize: 12,
144 | unselectedFontSize: 12,
145 | elevation: 9,
146 | items: buildBottomNavBarItems(),
147 | ),
148 | ),
149 | ],
150 | );
151 | }
152 | }
153 |
154 | AppBar _mainAppBar() {
155 | return AppBar(
156 | leading: Image.asset(
157 | 'assets/images/icon_settings.png',
158 | color: PaypalColors.DarkBlue,
159 | ),
160 | title: Image.asset('assets/images/Paypal-logo-header.png', height: 25),
161 | centerTitle: true,
162 | actions: [
163 | Image.asset('assets/images/icon_school-bell.png',
164 | color: PaypalColors.DarkBlue)
165 | ],
166 | backgroundColor: Colors.transparent,
167 | elevation: 0.0,
168 | );
169 | }
170 |
--------------------------------------------------------------------------------
/lib/screens/home.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_paypalredesign/util.dart';
4 | import 'package:flutter_paypalredesign/screens/profile.dart';
5 |
6 | class Home extends StatefulWidget {
7 | @override
8 | _HomeState createState() => _HomeState();
9 | }
10 |
11 | class _HomeState extends State {
12 | @override
13 | Widget build(BuildContext context) {
14 | return SingleChildScrollView(
15 | child: Column(
16 | children: [
17 | _paypalCard(context),
18 | _activityText(),
19 | _activityList(),
20 | ],
21 | ),
22 | );
23 | }
24 | }
25 |
26 | Container _paypalCard(context) {
27 | return Container(
28 | margin: EdgeInsets.all(15),
29 | padding: EdgeInsets.symmetric(horizontal: 16, vertical: 11),
30 | decoration: BoxDecoration(
31 | color: Colors.white,
32 | border:
33 | Border.all(color: Colors.white, width: 0, style: BorderStyle.solid),
34 | borderRadius: BorderRadius.all(
35 | Radius.circular(5.0),
36 | ),
37 | boxShadow: [
38 | BoxShadow(
39 | color: PaypalColors.LightGrey19,
40 | offset: Offset(0, 3),
41 | blurRadius: 6,
42 | spreadRadius: 1)
43 | ],
44 | ),
45 | child: Column(
46 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
47 | children: [
48 | Row(
49 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
50 | children: [
51 | Row(
52 | children: [
53 | Image.asset('assets/images/Paypal-logo.png', height: 30),
54 | SizedBox(width: 20),
55 | Text(
56 | 'BALANCE',
57 | style: TextStyle(
58 | color: PaypalColors.DarkBlue,
59 | fontFamily: "worksans",
60 | fontSize: 12),
61 | ),
62 | ],
63 | ),
64 | Icon(Icons.info_outline, size: 18)
65 | ],
66 | ),
67 | SizedBox(height: 20),
68 | Row(
69 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
70 | children: [
71 | Image.asset('assets/images/chip_thumb.png'),
72 | Column(
73 | crossAxisAlignment: CrossAxisAlignment.end,
74 | children: [
75 | Row(
76 | children: [
77 | Text(
78 | '\$',
79 | style: TextStyle(fontFamily: "vistolsans", fontSize: 25),
80 | ),
81 | SizedBox(width: 13),
82 | Text(
83 | '452,20',
84 | style: TextStyle(fontFamily: "sfprotext", fontSize: 45),
85 | ),
86 | SizedBox(width: 13),
87 | ],
88 | ),
89 | Text(
90 | 'Available',
91 | style: TextStyle(
92 | fontFamily: "worksans",
93 | color: PaypalColors.Grey,
94 | fontSize: 17),
95 | ),
96 | ],
97 | )
98 | ],
99 | ),
100 | SizedBox(height: 20),
101 | Row(
102 | children: [
103 | SizedBox(
104 | height: 25,
105 | child: FlatButton(
106 | color: PaypalColors.LightGrey,
107 | textColor: PaypalColors.DarkBlue,
108 | child: Text(
109 | "MR.RAGNAR LOTHBROK",
110 | style: TextStyle(
111 | fontFamily: "worksans",
112 | color: PaypalColors.DarkBlue,
113 | fontSize: 12),
114 | ),
115 | onPressed: () {
116 | Navigator.of(context).push(
117 | MaterialPageRoute(
118 | builder: (BuildContext context) {
119 | return Profile();
120 | },
121 | fullscreenDialog: true,
122 | ),
123 | );
124 | },
125 | shape: RoundedRectangleBorder(
126 | borderRadius: BorderRadius.circular(30.0),
127 | ),
128 | ),
129 | ),
130 | Spacer()
131 | ],
132 | ),
133 | ],
134 | ),
135 | );
136 | }
137 |
138 | Container _activityText() {
139 | return Container(
140 | decoration: BoxDecoration(
141 | border: Border(
142 | bottom: BorderSide(width: 1, color: PaypalColors.LightGrey19))),
143 | margin: EdgeInsets.only(left: 15, right: 15, top: 20, bottom: 5),
144 | padding: EdgeInsets.only(bottom: 5),
145 | child: Row(
146 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
147 | crossAxisAlignment: CrossAxisAlignment.center,
148 | children: [
149 | Text(
150 | 'Activity',
151 | style: TextStyle(
152 | fontFamily: "worksans",
153 | fontSize: 15,
154 | fontWeight: FontWeight.w600),
155 | ),
156 | Row(
157 | crossAxisAlignment: CrossAxisAlignment.center,
158 | children: [
159 | Text(
160 | 'VIEW ALL',
161 | style: TextStyle(
162 | fontFamily: "worksans",
163 | fontWeight: FontWeight.w400,
164 | fontSize: 10,
165 | color: PaypalColors.Grey),
166 | ),
167 | Icon(Icons.chevron_right, color: PaypalColors.Black50),
168 | ],
169 | ),
170 | ],
171 | ),
172 | );
173 | }
174 |
175 | ListView _activityList() {
176 | return ListView(
177 | shrinkWrap: true,
178 | physics: ClampingScrollPhysics(),
179 | padding: EdgeInsets.all(15),
180 | children: [
181 | Container(
182 | margin: EdgeInsets.only(bottom: 15),
183 | decoration: _tileDecoration(),
184 | child: ListTile(
185 | leading: Image.asset('assets/images/Nike.png'),
186 | title: Text(
187 | 'Nike Medieval',
188 | style: TextStyle(
189 | fontFamily: "worksans",
190 | fontWeight: FontWeight.w500,
191 | color: Colors.black),
192 | ),
193 | subtitle: Text(
194 | 'Jan 21, 2019',
195 | style:
196 | TextStyle(fontFamily: "worksans", fontWeight: FontWeight.w300),
197 | ),
198 | trailing: Text(
199 | '-249,99 USD',
200 | style: TextStyle(fontFamily: "worksans"),
201 | ),
202 | ),
203 | ),
204 | Container(
205 | margin: EdgeInsets.only(bottom: 15),
206 | decoration: _tileDecoration(),
207 | child: ListTile(
208 | leading: Container(
209 | width: 42,
210 | child: Image.asset('assets/images/if_9_avatar_2754584.png'),
211 | ),
212 | title: Text(
213 | 'Lagertha Lothbrok',
214 | style: TextStyle(
215 | fontFamily: "worksans",
216 | fontWeight: FontWeight.w500,
217 | color: Colors.black),
218 | ),
219 | subtitle: Text(
220 | 'Jan 18, 2019',
221 | style:
222 | TextStyle(fontFamily: "worksans", fontWeight: FontWeight.w300),
223 | ),
224 | trailing: Text(
225 | '+102,00 USD',
226 | style: TextStyle(fontFamily: "worksans"),
227 | ),
228 | ),
229 | ),
230 | Container(
231 | margin: EdgeInsets.only(bottom: 15),
232 | decoration: _tileDecoration(),
233 | child: ListTile(
234 | leading: ClipOval(
235 | child: Container(
236 | color: PaypalColors.LightBlue,
237 | child: Image.asset(
238 | "assets/images/icon_shop.png",
239 | fit: BoxFit.scaleDown,
240 | width: 35.0,
241 | height: 35.0,
242 | ),
243 | ),
244 | ),
245 | title: Text(
246 | 'Spotify Finance Limited',
247 | style: TextStyle(
248 | fontFamily: "worksans",
249 | fontWeight: FontWeight.w500,
250 | color: Colors.black),
251 | ),
252 | subtitle: Text(
253 | 'Jan 11, 2019',
254 | style:
255 | TextStyle(fontFamily: "worksans", fontWeight: FontWeight.w300),
256 | ),
257 | trailing: Text(
258 | '-9,99 USD',
259 | style: TextStyle(fontFamily: "worksans"),
260 | ),
261 | ),
262 | ),
263 | ],
264 | );
265 | }
266 |
267 | BoxDecoration _tileDecoration() {
268 | return BoxDecoration(
269 | color: Colors.white,
270 | border: Border.all(color: Colors.white, width: 0, style: BorderStyle.solid),
271 | borderRadius: BorderRadius.all(
272 | Radius.circular(5.0),
273 | ),
274 | boxShadow: [
275 | BoxShadow(
276 | color: PaypalColors.LightGrey19,
277 | offset: Offset(0, 0),
278 | blurRadius: 3,
279 | spreadRadius: 1)
280 | ],
281 | );
282 | }
283 |
--------------------------------------------------------------------------------
/lib/screens/profile.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_paypalredesign/util.dart';
4 | import 'package:community_material_icon/community_material_icon.dart';
5 |
6 | class Profile extends StatefulWidget {
7 | @override
8 | _ProfileState createState() => _ProfileState();
9 | }
10 |
11 | class _ProfileState extends State {
12 | var index = 0;
13 |
14 | @override
15 | Widget build(BuildContext context) {
16 | return MaterialApp(
17 | debugShowCheckedModeBanner: false,
18 | home: Container(
19 | child: Scaffold(
20 | backgroundColor: PaypalColors.DarkBlue,
21 | appBar: AppBar(
22 | backgroundColor: Colors.transparent,
23 | elevation: 0,
24 | actions: [
25 | IconButton(
26 | icon: Icon(CommunityMaterialIcons.close_circle),
27 | onPressed: () {
28 | Navigator.of(context).pop();
29 | },
30 | ),
31 | ],
32 | ),
33 | body: SingleChildScrollView(
34 | child: Column(
35 | mainAxisAlignment: MainAxisAlignment.start,
36 | crossAxisAlignment: CrossAxisAlignment.center,
37 | children: [
38 | Image.asset('assets/images/if_1_avatar_2754574.png', scale: 2.2),
39 | Text(
40 | 'Ragnar Lothbrok',
41 | style: TextStyle(
42 | fontFamily: 'worksans',
43 | fontSize: 20,
44 | fontWeight: FontWeight.w500,
45 | color: Colors.white),
46 | ),
47 | SizedBox(height: 25),
48 | SizedBox(
49 | height: 25,
50 | child: FlatButton(
51 | color: PaypalColors.LightGrey,
52 | textColor: PaypalColors.DarkBlue,
53 | child: Text(
54 | "paypal.me/rag.lothbrok",
55 | style: TextStyle(
56 | fontFamily: "worksans",
57 | color: PaypalColors.DarkBlue,
58 | fontSize: 14),
59 | ),
60 | onPressed: () {
61 | Navigator.of(context).push(
62 | MaterialPageRoute(
63 | builder: (BuildContext context) {
64 | return Profile();
65 | },
66 | fullscreenDialog: true,
67 | ),
68 | );
69 | },
70 | shape: RoundedRectangleBorder(
71 | borderRadius: BorderRadius.circular(30.0),
72 | ),
73 | ),
74 | ),
75 | SizedBox(height: 50),
76 | Container(
77 | margin: EdgeInsets.symmetric(horizontal: 20),
78 | child: Column(
79 | children: [
80 | TextFormField(
81 | decoration: InputDecoration(
82 | labelText: "E-mails",
83 | labelStyle: TextStyle(color: Colors.white),
84 | enabledBorder: UnderlineInputBorder(
85 | borderSide: BorderSide(color: Colors.white),
86 | ),
87 | focusedBorder: UnderlineInputBorder(
88 | borderSide: BorderSide(color: Colors.white),
89 | ),
90 | // contentPadding: EdgeInsets.only(top: 40, bottom: 20),
91 | suffixIcon: Padding(
92 | padding: const EdgeInsetsDirectional.only(
93 | top: 18, start: 50),
94 | child: Icon(Icons.chevron_right, color: Colors.white),
95 | ),
96 | ),
97 | style: TextStyle(
98 | fontFamily: "worksans",
99 | color: Colors.white,
100 | fontSize: 18),
101 | initialValue: "ragnar.loth@kattlegat.com",
102 | ),
103 | SizedBox(height: 10),
104 | TextFormField(
105 | decoration: InputDecoration(
106 | labelText: "Phone Numbers",
107 | labelStyle: TextStyle(color: Colors.white),
108 | enabledBorder: UnderlineInputBorder(
109 | borderSide: BorderSide(color: Colors.white),
110 | ),
111 | focusedBorder: UnderlineInputBorder(
112 | borderSide: BorderSide(color: Colors.white),
113 | ),
114 | // contentPadding: EdgeInsets.only(top: 40, bottom: 20),
115 | suffixIcon: Padding(
116 | padding: const EdgeInsetsDirectional.only(
117 | top: 18, start: 50),
118 | child: Icon(Icons.chevron_right, color: Colors.white),
119 | ),
120 | ),
121 | style: TextStyle(
122 | fontFamily: "worksans",
123 | color: Colors.white,
124 | fontSize: 18),
125 | initialValue: "01 12 45 87 66",
126 | ),
127 | SizedBox(height: 10),
128 | TextFormField(
129 | decoration: InputDecoration(
130 | labelText: "Addresses",
131 | labelStyle: TextStyle(color: Colors.white),
132 | enabledBorder: UnderlineInputBorder(
133 | borderSide: BorderSide(color: Colors.white),
134 | ),
135 | focusedBorder: UnderlineInputBorder(
136 | borderSide: BorderSide(color: Colors.white),
137 | ),
138 | // contentPadding: EdgeInsets.only(top: 40, bottom: 20),
139 | suffixIcon: Padding(
140 | padding: const EdgeInsetsDirectional.only(
141 | top: 18, start: 50),
142 | child: Icon(Icons.chevron_right, color: Colors.white),
143 | ),
144 | ),
145 | style: TextStyle(
146 | fontFamily: "worksans",
147 | color: Colors.white,
148 | fontSize: 18),
149 | initialValue: "Kattegat, 9600, Danemark",
150 | ),
151 | ],
152 | ),
153 | ),
154 | SizedBox(height: 50),
155 | SizedBox(
156 | width: 140,
157 | child: FlatButton(
158 | color: PaypalColors.LightGrey,
159 | textColor: PaypalColors.DarkBlue,
160 | child: Text(
161 | "Log Out",
162 | style: TextStyle(
163 | fontFamily: "worksans",
164 | color: PaypalColors.DarkBlue,
165 | fontSize: 18),
166 | ),
167 | onPressed: () {},
168 | shape: RoundedRectangleBorder(
169 | borderRadius: BorderRadius.circular(30.0),
170 | ),
171 | ),
172 | ),
173 | ],
174 | ),
175 | ),
176 | ),
177 | ),
178 | );
179 | }
180 | }
181 |
--------------------------------------------------------------------------------
/lib/screens/raisemoney.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class RaiseMoney extends StatefulWidget {
4 | @override
5 | _RaiseMoneyState createState() => _RaiseMoneyState();
6 | }
7 |
8 | class _RaiseMoneyState extends State {
9 | @override
10 | Widget build(BuildContext context) {
11 | return Center(
12 | child: Text(
13 | 'Raise Money',
14 | style: TextStyle(fontFamily: "worksans", fontSize: 25),
15 | ),
16 | );
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/screens/recieve.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Recieve extends StatefulWidget {
4 | @override
5 | _RecieveState createState() => _RecieveState();
6 | }
7 |
8 | class _RecieveState extends State {
9 | @override
10 | Widget build(BuildContext context) {
11 | return Center(
12 | child: Text(
13 | 'Recieve',
14 | style: TextStyle(fontFamily: "worksans", fontSize: 25),
15 | ),
16 | );
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/screens/send.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | import 'package:flutter_paypalredesign/util.dart';
5 | import 'package:flutter_paypalredesign/screens/send1.dart';
6 |
7 | class Send extends StatefulWidget {
8 | @override
9 | _SendState createState() => _SendState();
10 | }
11 |
12 | class _SendState extends State {
13 | @override
14 | Widget build(BuildContext context) {
15 | return SingleChildScrollView(
16 | child: Column(
17 | children: [
18 | Container(
19 | width: MediaQuery.of(context).size.width * 0.9,
20 | height: 40,
21 | child: Theme(
22 | data: ThemeData(
23 | primaryColor: PaypalColors.LightGrey,
24 | primaryColorDark: PaypalColors.LightGrey,
25 | ),
26 | child: TextFormField(
27 | textAlign: TextAlign.left,
28 | style: TextStyle(fontSize: 16),
29 | decoration: InputDecoration(
30 | contentPadding: EdgeInsets.all(5),
31 | fillColor: PaypalColors.LightGrey,
32 | filled: true,
33 | border: OutlineInputBorder(
34 | borderRadius: BorderRadius.circular(15.0),
35 | borderSide:
36 | BorderSide(color: PaypalColors.LightGrey, width: 0.0),
37 | ),
38 | enabledBorder: OutlineInputBorder(
39 | borderRadius: BorderRadius.circular(15.0),
40 | borderSide:
41 | BorderSide(color: PaypalColors.LightGrey, width: 0.0),
42 | ),
43 | prefixIcon: Padding(
44 | padding: EdgeInsets.all(0.0),
45 | child: Icon(
46 | Icons.search,
47 | color: PaypalColors.Grey,
48 | ),
49 | ),
50 | hintText: "Search name, email, phone number"),
51 | ),
52 | ),
53 | ),
54 | SizedBox(height: 15),
55 | Divider(
56 | height: 0.1,
57 | color: Color.fromRGBO(0, 0, 0, 0.3),
58 | ),
59 | Container(
60 | margin: EdgeInsets.symmetric(vertical: 25),
61 | child: Column(
62 | mainAxisAlignment: MainAxisAlignment.center,
63 | crossAxisAlignment: CrossAxisAlignment.start,
64 | children: [
65 | Container(
66 | margin: EdgeInsets.only(left: 20),
67 | child: Text(
68 | 'Suggestions',
69 | style: TextStyle(
70 | fontFamily: "worksans",
71 | fontSize: 16,
72 | color: PaypalColors.Grey),
73 | ),
74 | ),
75 | SizedBox(height: 5),
76 | ListView(
77 | shrinkWrap: true,
78 | children: [
79 | ListTile(
80 | leading: Container(
81 | width: 60,
82 | height: 60,
83 | child: CircleAvatar(
84 | backgroundColor: Colors.transparent,
85 | backgroundImage: AssetImage(
86 | 'assets/images/if_3_avatar_2754579.png'),
87 | ),
88 | ),
89 | title: Text('Floki',
90 | style: TextStyle(fontFamily: "worksans")),
91 | subtitle: Text('paypal.me/manosthegods',
92 | style: TextStyle(fontFamily: "worksans")),
93 | onTap: () {
94 | Navigator.of(context).push(
95 | MaterialPageRoute(builder: (context) => Send1()),
96 | );
97 | },
98 | ),
99 | ListTile(
100 | leading: Container(
101 | width: 60,
102 | height: 60,
103 | child: CircleAvatar(
104 | backgroundColor: Colors.transparent,
105 | backgroundImage: AssetImage(
106 | 'assets/images/if_9_avatar_2754584.png'),
107 | ),
108 | ),
109 | title: Text('Lagertha Lothbrok',
110 | style: TextStyle(fontFamily: "worksans")),
111 | subtitle: Text('paypal.me/queenofKat',
112 | style: TextStyle(fontFamily: "worksans")),
113 | ),
114 | ListTile(
115 | leading: Container(
116 | width: 60,
117 | height: 60,
118 | child: CircleAvatar(
119 | backgroundColor: Colors.transparent,
120 | backgroundImage: AssetImage(
121 | 'assets/images/if_12_avatar_2754577.png'),
122 | ),
123 | ),
124 | title: Text('Bjorn Lothbrok',
125 | style: TextStyle(fontFamily: "worksans")),
126 | subtitle: Text('paypal.me/bjornironside',
127 | style: TextStyle(fontFamily: "worksans")),
128 | ),
129 | ListTile(
130 | leading: Container(
131 | width: 60,
132 | height: 60,
133 | child: CircleAvatar(
134 | backgroundColor: Colors.transparent,
135 | backgroundImage: AssetImage(
136 | 'assets/images/if_8_avatar_2754583.png'),
137 | ),
138 | ),
139 | title: Text('Ivar Lothbrok',
140 | style: TextStyle(fontFamily: "worksans")),
141 | subtitle: Text('paypal.me/theboneless',
142 | style: TextStyle(fontFamily: "worksans")),
143 | ),
144 | ],
145 | ),
146 | ],
147 | ),
148 | )
149 | ],
150 | ),
151 | );
152 | }
153 | }
154 |
--------------------------------------------------------------------------------
/lib/screens/send1.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:ui';
3 | import 'package:flutter/material.dart';
4 |
5 | import 'package:flutter_paypalredesign/util.dart';
6 | import 'package:flutter_paypalredesign/screens/send2.dart';
7 |
8 | class Send1 extends StatefulWidget {
9 | @override
10 | _Send1State createState() => _Send1State();
11 | }
12 |
13 | class _Send1State extends State with SingleTickerProviderStateMixin {
14 | String ammountValue = '0.00';
15 | bool showAddNote = false;
16 | bool showPageLoader = false;
17 | bool showSpinner = false;
18 | bool showChecked = false;
19 | AnimationController animationController;
20 |
21 | @override
22 | void initState() {
23 | animationController =
24 | AnimationController(vsync: this, duration: Duration(seconds: 1));
25 |
26 | animationController.addListener(() {
27 | if (animationController.status.toString() ==
28 | 'AnimationStatus.completed') {
29 | setState(() {
30 | showSpinner = false;
31 | showChecked = true;
32 | });
33 | Timer(
34 | Duration(seconds: 1),
35 | () => setState(() {
36 | showPageLoader = false;
37 | Navigator.of(context).pop();
38 | }),
39 | );
40 | }
41 | });
42 | super.initState();
43 | }
44 |
45 | @override
46 | void dispose() {
47 | animationController.dispose();
48 | super.dispose();
49 | }
50 |
51 | _startPayment() {
52 | setState(() {
53 | showPageLoader = true;
54 | showSpinner = true;
55 | animationController.forward();
56 | });
57 | }
58 |
59 | Widget _showPageLoader() {
60 | return Stack(
61 | children: [
62 | Positioned.fill(
63 | child: BackdropFilter(
64 | filter: ImageFilter.blur(
65 | sigmaY: 10,
66 | sigmaX: 10,
67 | ),
68 | child: Container(
69 | color: Colors.white.withOpacity(0.6),
70 | ),
71 | ),
72 | ),
73 | showSpinner
74 | ? Align(
75 | alignment: Alignment.center,
76 | child: Image.asset('assets/images/Paypal-logo.png', height: 35),
77 | )
78 | : Container(),
79 | showSpinner
80 | ? Align(
81 | alignment: Alignment.center,
82 | child: RotationTransition(
83 | turns:
84 | Tween(begin: 0.0, end: 2.0).animate(animationController),
85 | child: Image.asset('assets/images/loading.png'),
86 | ),
87 | )
88 | : Container(),
89 | showChecked
90 | ? Align(
91 | alignment: Alignment.center,
92 | child: Column(
93 | mainAxisAlignment: MainAxisAlignment.center,
94 | children: [
95 | Image.asset('assets/images/checked.png'),
96 | SizedBox(height: 25),
97 | Material(
98 | child: Text(
99 | 'Transaction Successful',
100 | style: TextStyle(
101 | fontFamily: "worksans",
102 | fontSize: 17,
103 | color: PaypalColors.Green),
104 | ),
105 | ),
106 | ],
107 | ),
108 | )
109 | : Container(),
110 | ],
111 | );
112 | }
113 |
114 | @override
115 | Widget build(BuildContext context) {
116 | return MaterialApp(
117 | debugShowCheckedModeBanner: false,
118 | home: Container(
119 | width: 150,
120 | child: Stack(
121 | children: [
122 | Scaffold(
123 | backgroundColor: Colors.white,
124 | appBar: AppBar(
125 | automaticallyImplyLeading: true,
126 | leading: IconButton(
127 | icon: Icon(
128 | Icons.arrow_back,
129 | color: Colors.black,
130 | ),
131 | onPressed: () => Navigator.pop(context, false),
132 | ),
133 | title: Text('Send to Floki',
134 | style:
135 | TextStyle(fontFamily: "worksans", color: Colors.black)),
136 | centerTitle: true,
137 | backgroundColor: Colors.transparent,
138 | elevation: 0,
139 | ),
140 | body: SingleChildScrollView(
141 | child: Container(
142 | width: MediaQuery.of(context).size.width * 1,
143 | child: Column(
144 | mainAxisAlignment: MainAxisAlignment.center,
145 | crossAxisAlignment: CrossAxisAlignment.center,
146 | children: [
147 | Container(
148 | width: 150,
149 | height: 150,
150 | child: CircleAvatar(
151 | backgroundColor: Colors.transparent,
152 | backgroundImage: AssetImage(
153 | 'assets/images/if_3_avatar_2754579.png'),
154 | ),
155 | ),
156 | SizedBox(height: 15),
157 | Text(
158 | 'Floki',
159 | style: TextStyle(
160 | fontFamily: "worksans",
161 | fontSize: 22,
162 | fontWeight: FontWeight.w500),
163 | ),
164 | SizedBox(height: 15),
165 | SizedBox(
166 | height: 25,
167 | child: FlatButton(
168 | color: PaypalColors.DarkBlue,
169 | textColor: Colors.white,
170 | child: Text(
171 | "paypal.me/manosthegods",
172 | style: TextStyle(
173 | fontFamily: "worksans",
174 | color: Colors.white,
175 | fontSize: 14,
176 | fontWeight: FontWeight.w300),
177 | ),
178 | onPressed: () {},
179 | shape: RoundedRectangleBorder(
180 | borderRadius: BorderRadius.circular(30.0),
181 | ),
182 | ),
183 | ),
184 | Container(
185 | margin:
186 | EdgeInsets.symmetric(horizontal: 20, vertical: 80),
187 | child: Column(
188 | children: [
189 | Row(
190 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
191 | children: [
192 | Text(
193 | 'Amount',
194 | style: TextStyle(
195 | fontFamily: "worksans", fontSize: 17),
196 | ),
197 | Row(
198 | crossAxisAlignment: CrossAxisAlignment.end,
199 | children: [
200 | Text(
201 | 'USD',
202 | style: TextStyle(
203 | fontFamily: "worksans",
204 | fontSize: 12,
205 | color: PaypalColors.Grey),
206 | ),
207 | SizedBox(width: 5),
208 | InkWell(
209 | child: Text(
210 | this.ammountValue,
211 | style: TextStyle(
212 | fontFamily: "worksans",
213 | fontSize: 16,
214 | fontWeight: FontWeight.w500),
215 | ),
216 | onTap: () async {
217 | var navigationResult =
218 | await Navigator.push(
219 | context,
220 | MaterialPageRoute(
221 | builder: (context) => Send2(),
222 | fullscreenDialog: true,
223 | ),
224 | );
225 | setState(() {
226 | this.ammountValue =
227 | navigationResult.toString();
228 | if (navigationResult.toString() !=
229 | '0.0') {
230 | this.showAddNote = true;
231 | }
232 | });
233 | },
234 | ),
235 | ],
236 | ),
237 | ],
238 | ),
239 | SizedBox(height: 10),
240 | Divider(height: 0.1, color: PaypalColors.Grey),
241 | SizedBox(height: 30),
242 | Row(
243 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
244 | children: [
245 | Text(
246 | 'Transaction fees',
247 | style: TextStyle(
248 | fontFamily: "worksans", fontSize: 17),
249 | ),
250 | Row(
251 | crossAxisAlignment: CrossAxisAlignment.end,
252 | children: [
253 | Text(
254 | 'USD',
255 | style: TextStyle(
256 | fontFamily: "worksans",
257 | fontSize: 12,
258 | color: PaypalColors.Grey),
259 | ),
260 | SizedBox(width: 5),
261 | Text(
262 | '0.00',
263 | style: TextStyle(
264 | fontFamily: "worksans",
265 | fontSize: 16,
266 | fontWeight: FontWeight.w500),
267 | ),
268 | ],
269 | ),
270 | ],
271 | ),
272 | SizedBox(height: 10),
273 | Divider(height: 0.1, color: PaypalColors.Grey),
274 | SizedBox(height: 30),
275 | Row(
276 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
277 | children: [
278 | Image.asset('assets/images/Visa-logo.png'),
279 | Spacer(flex: 1),
280 | Column(
281 | mainAxisAlignment: MainAxisAlignment.start,
282 | crossAxisAlignment: CrossAxisAlignment.start,
283 | children: [
284 | Text(
285 | 'Visa',
286 | style: TextStyle(
287 | fontFamily: "worksans",
288 | fontSize: 16,
289 | fontWeight: FontWeight.w500),
290 | ),
291 | Text(
292 | 'Debit ****3017',
293 | style: TextStyle(
294 | fontFamily: "worksans",
295 | fontSize: 12,
296 | color: PaypalColors.Grey),
297 | ),
298 | ],
299 | ),
300 | Spacer(flex: 5),
301 | Icon(Icons.chevron_right,
302 | color: PaypalColors.Grey, size: 40),
303 | ],
304 | ),
305 | SizedBox(height: 1),
306 | Divider(height: 0.1, color: PaypalColors.Grey),
307 | SizedBox(height: 30),
308 | Opacity(
309 | opacity: this.showAddNote ? 1.0 : 0.0,
310 | child: Row(
311 | mainAxisAlignment:
312 | MainAxisAlignment.spaceBetween,
313 | children: [
314 | Text(
315 | 'Add Note',
316 | style: TextStyle(
317 | fontFamily: "worksans",
318 | fontSize: 17,
319 | color: PaypalColors.DarkBlue),
320 | ),
321 | Icon(Icons.chevron_right,
322 | color: PaypalColors.Grey, size: 40),
323 | ],
324 | ),
325 | ),
326 | SizedBox(height: 1),
327 | Opacity(
328 | opacity: this.showAddNote ? 1.0 : 0.0,
329 | child: Divider(
330 | height: 0.1, color: PaypalColors.Grey),
331 | ),
332 | SizedBox(height: 30),
333 | Opacity(
334 | // opacity: 1.0,
335 | opacity: this.showAddNote ? 1.0 : 0.0,
336 | child: SizedBox(
337 | width: MediaQuery.of(context).size.width,
338 | height: 40,
339 | child: FlatButton(
340 | color: PaypalColors.DarkBlue,
341 | textColor: PaypalColors.DarkBlue,
342 | disabledColor: PaypalColors.Grey,
343 | child: Text(
344 | "Send Now",
345 | style: TextStyle(
346 | fontFamily: "worksans",
347 | color: Colors.white,
348 | fontSize: 17,
349 | fontWeight: FontWeight.w300),
350 | ),
351 | onPressed: () => _startPayment(),
352 | shape: RoundedRectangleBorder(
353 | borderRadius: BorderRadius.circular(30.0),
354 | ),
355 | ),
356 | ),
357 | ),
358 | ],
359 | ),
360 | )
361 | ],
362 | ),
363 | ),
364 | ),
365 | ),
366 | showPageLoader ? _showPageLoader() : Container(),
367 | ],
368 | ),
369 | ),
370 | );
371 | }
372 | }
373 |
--------------------------------------------------------------------------------
/lib/screens/send2.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter/services.dart';
4 |
5 | import 'package:flutter_masked_text/flutter_masked_text.dart';
6 |
7 | import 'package:flutter_paypalredesign/util.dart';
8 | import 'package:community_material_icon/community_material_icon.dart';
9 |
10 | class Send2 extends StatefulWidget {
11 | @override
12 | _Send2State createState() => _Send2State();
13 | }
14 |
15 | class _Send2State extends State {
16 | var textFormFieldController =
17 | MoneyMaskedTextController(decimalSeparator: '.', thousandSeparator: ',');
18 |
19 | bool _isButtonDisabled = true;
20 |
21 | @override
22 | void initState() {
23 | textFormFieldController.updateValue(0.00);
24 | super.initState();
25 | }
26 |
27 |
28 | _checkInputForConfirm(double amount) {
29 | if (amount > 0.0) {
30 | setState(() {
31 | _isButtonDisabled = false;
32 | });
33 | } else {
34 | setState(() {
35 | _isButtonDisabled = true;
36 | });
37 | }
38 | }
39 |
40 | _startPayment() {
41 | Navigator.of(context).pop(textFormFieldController.numberValue);
42 | }
43 |
44 | @override
45 | Widget build(BuildContext context) {
46 | SystemChrome.setEnabledSystemUIOverlays([]);
47 | return MaterialApp(
48 | debugShowCheckedModeBanner: false,
49 | home: Container(
50 | child: Scaffold(
51 | backgroundColor: Colors.white,
52 | appBar: AppBar(
53 | backgroundColor: Colors.transparent,
54 | elevation: 0,
55 | title: Text(
56 | 'Enter amount',
57 | style: TextStyle(fontFamily: "worksans", color: Colors.black),
58 | ),
59 | centerTitle: true,
60 | actions: [
61 | IconButton(
62 | icon: Icon(CommunityMaterialIcons.close_circle,
63 | color: Colors.black),
64 | onPressed: () {
65 | Navigator.of(context)
66 | .pop(textFormFieldController.numberValue);
67 | },
68 | ),
69 | ],
70 | ),
71 | body: Center(
72 | child: SingleChildScrollView(
73 | child: Container(
74 | width: MediaQuery.of(context).size.width * 0.9,
75 | child: Column(
76 | children: [
77 | Row(
78 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
79 | crossAxisAlignment: CrossAxisAlignment.center,
80 | mainAxisSize: MainAxisSize.max,
81 | children: [
82 | Flexible(
83 | fit: FlexFit.tight,
84 | child: Text(
85 | 'USD',
86 | style: TextStyle(fontFamily: "sfprotext"),
87 | ),
88 | ),
89 | Spacer(flex: 1),
90 | Flexible(
91 | fit: FlexFit.loose,
92 | flex: 2,
93 | child: TextField(
94 | controller: textFormFieldController,
95 | keyboardType: TextInputType.numberWithOptions(
96 | signed: false, decimal: true),
97 | decoration: InputDecoration(
98 | prefixIcon: Padding(
99 | padding: EdgeInsetsDirectional.only(
100 | top: 13, start: 25),
101 | child: Text(
102 | '\$',
103 | style: TextStyle(fontSize: 20),
104 | ),
105 | ),
106 | prefixStyle: TextStyle(
107 | fontFamily: "vistolsans", fontSize: 25),
108 | border: InputBorder.none,
109 | ),
110 | style: TextStyle(
111 | fontFamily: "sfprotext",
112 | color: Colors.black,
113 | fontSize: 50),
114 | onChanged: (text) {
115 | _checkInputForConfirm(double.parse(text));
116 | },
117 | ),
118 | ),
119 | ],
120 | ),
121 | SizedBox(
122 | width: MediaQuery.of(context).size.width,
123 | height: 40,
124 | child: FlatButton(
125 | color: PaypalColors.DarkBlue,
126 | textColor: PaypalColors.DarkBlue,
127 | disabledColor: PaypalColors.Grey,
128 | child: Text(
129 | "Confirm",
130 | style: TextStyle(
131 | fontFamily: "worksans",
132 | color: Colors.white,
133 | fontSize: 17,
134 | fontWeight: FontWeight.w300),
135 | ),
136 | // onPressed: null,
137 | onPressed:
138 | _isButtonDisabled ? null : () => _startPayment(),
139 | shape: RoundedRectangleBorder(
140 | borderRadius: BorderRadius.circular(30.0),
141 | ),
142 | ),
143 | ),
144 | ],
145 | ),
146 | ),
147 | ),
148 | ),
149 | ),
150 | ),
151 | );
152 | }
153 | }
154 |
--------------------------------------------------------------------------------
/lib/util.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | double baseHeight = 640.0;
4 |
5 | double screenAwareSize(double size, BuildContext context) {
6 | return size * MediaQuery.of(context).size.height / baseHeight;
7 | }
8 |
9 | class PaypalColors {
10 | static const LightBlue = Color.fromRGBO(0, 154, 224, 1);
11 | static const DarkBlue = Color.fromRGBO(18, 106, 175, 1);
12 | static const LightGrey19 = Color.fromRGBO(112,112,112, 0.19);
13 | static const LightGrey = Color.fromRGBO(242, 242, 242, 1);
14 | static const Grey = Color.fromRGBO(157, 157, 157, 1);
15 | static const Black50 = Color.fromRGBO(0, 0, 0, 0.5);
16 | static const Green = Color.fromRGBO(61, 179, 158, 1);
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/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.4.2"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.0.0"
18 | characters:
19 | dependency: transitive
20 | description:
21 | name: characters
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.0.0"
25 | charcode:
26 | dependency: transitive
27 | description:
28 | name: charcode
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.1.3"
32 | clock:
33 | dependency: transitive
34 | description:
35 | name: clock
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.0.1"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.14.13"
46 | community_material_icon:
47 | dependency: "direct main"
48 | description:
49 | name: community_material_icon
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "3.5.95"
53 | cupertino_icons:
54 | dependency: "direct main"
55 | description:
56 | name: cupertino_icons
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "0.1.2"
60 | fake_async:
61 | dependency: transitive
62 | description:
63 | name: fake_async
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "1.1.0"
67 | flutter:
68 | dependency: "direct main"
69 | description: flutter
70 | source: sdk
71 | version: "0.0.0"
72 | flutter_masked_text:
73 | dependency: "direct main"
74 | description:
75 | name: flutter_masked_text
76 | url: "https://pub.dartlang.org"
77 | source: hosted
78 | version: "0.8.0"
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.8"
91 | meta:
92 | dependency: transitive
93 | description:
94 | name: meta
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "1.1.8"
98 | path:
99 | dependency: transitive
100 | description:
101 | name: path
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "1.7.0"
105 | sky_engine:
106 | dependency: transitive
107 | description: flutter
108 | source: sdk
109 | version: "0.0.99"
110 | source_span:
111 | dependency: transitive
112 | description:
113 | name: source_span
114 | url: "https://pub.dartlang.org"
115 | source: hosted
116 | version: "1.7.0"
117 | stack_trace:
118 | dependency: transitive
119 | description:
120 | name: stack_trace
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "1.9.5"
124 | stream_channel:
125 | dependency: transitive
126 | description:
127 | name: stream_channel
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "2.0.0"
131 | string_scanner:
132 | dependency: transitive
133 | description:
134 | name: string_scanner
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "1.0.5"
138 | term_glyph:
139 | dependency: transitive
140 | description:
141 | name: term_glyph
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "1.1.0"
145 | test_api:
146 | dependency: transitive
147 | description:
148 | name: test_api
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "0.2.17"
152 | typed_data:
153 | dependency: transitive
154 | description:
155 | name: typed_data
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "1.2.0"
159 | vector_math:
160 | dependency: transitive
161 | description:
162 | name: vector_math
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "2.0.8"
166 | sdks:
167 | dart: ">=2.9.0-14.0.dev <3.0.0"
168 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_paypalredesign
2 | description: A new Flutter project.
3 |
4 | version: 1.0.0+1
5 |
6 | environment:
7 | sdk: ">=2.1.0 <3.0.0"
8 |
9 | dependencies:
10 | flutter:
11 | sdk: flutter
12 |
13 | cupertino_icons: ^0.1.2
14 | community_material_icon: ^3.5.95
15 | flutter_masked_text: ^0.8.0
16 |
17 | dev_dependencies:
18 | flutter_test:
19 | sdk: flutter
20 |
21 | flutter:
22 |
23 | uses-material-design: true
24 |
25 | assets:
26 | - assets/images/chip_thumb.png
27 | - assets/images/icon_home.png
28 | - assets/images/icon_orion_user-group.png
29 | - assets/images/icon_recieve.png
30 | - assets/images/icon_school-bell.png
31 | - assets/images/icon_send.png
32 | - assets/images/icon_settings.png
33 | - assets/images/icon_shop.png
34 | - assets/images/Nike.png
35 | - assets/images/Paypal-logo-header.png
36 | - assets/images/Paypal-logo.png
37 | - assets/images/photo.png
38 | - assets/images/Visa-logo.png
39 | - assets/images/if_1_avatar_2754574.png
40 | - assets/images/if_2_avatar_2754578.png
41 | - assets/images/if_3_avatar_2754579.png
42 | - assets/images/if_4_avatar_2754580.png
43 | - assets/images/if_5_avatar_2754581.png
44 | - assets/images/if_8_avatar_2754583.png
45 | - assets/images/if_9_avatar_2754584.png
46 | - assets/images/if_10_avatar_2754575.png
47 | - assets/images/if_12_avatar_2754577.png
48 | - assets/images/loading.png
49 | - assets/images/checked.png
50 |
51 | fonts:
52 | # w100 Thin, the least thick
53 | # w200 Extra-light
54 | # w300 Light
55 | # w400 Normal / regular / plain
56 | # w500 Medium
57 | # w600 Semi-bold
58 | # w700 Bold
59 | # w800 Extra-bold
60 | # w900 Black, the most thick
61 | - family: sfprotext
62 | fonts:
63 | - asset: assets/fonts/sfprotext/SF-Pro-Text-Regular.otf
64 | weight: 300
65 | - asset: assets/fonts/sfprotext/SF-Pro-Text-Medium.otf
66 | weight: 500
67 | - asset: assets/fonts/sfprotext/SF-Pro-Text-Bold.otf
68 | weight: 600
69 | - asset: assets/fonts/sfprotext/SF-Pro-Text-Semibold.otf
70 | weight: 700
71 | - family: vistolsans
72 | fonts:
73 | - asset: assets/fonts/vistolsanslight/VistolSans-Light.otf
74 | - family: worksans
75 | fonts:
76 | - asset: assets/fonts/worksans/WorkSans-Thin.ttf
77 | weight: 100
78 | - asset: assets/fonts/worksans/WorkSans-Light.ttf
79 | weight: 200
80 | - asset: assets/fonts/worksans/WorkSans-Regular.ttf
81 | weight: 300
82 | - asset: assets/fonts/worksans/WorkSans-Semibold.ttf
83 | weight: 400
84 | - asset: assets/fonts/worksans/WorkSans-Medium.ttf
85 | weight: 500
86 | - asset: assets/fonts/worksans/WorkSans-Bold.ttf
87 | weight: 600
88 | - asset: assets/fonts/worksans/WorkSans-SemiBold.ttf
89 | weight: 700
90 | - asset: assets/fonts/worksans/WorkSans-ExtraBold.ttf
91 | weight: 800
92 | - asset: assets/fonts/worksans/WorkSans-Black.ttf
93 | weight: 900
--------------------------------------------------------------------------------
/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:flutter_paypalredesign/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(PaypalApp());
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 |
--------------------------------------------------------------------------------