├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── isaacpitwa
│ │ │ │ └── practice
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── 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-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── images
│ ├── avatar-1.png
│ ├── avatar-2.png
│ ├── avatar-3.png
│ ├── avatar-4.png
│ ├── avatar-5.png
│ └── avatar-6.png
└── screenshots
│ ├── contact-page-2.png
│ ├── drawer.png
│ ├── send-money-page.png
│ └── wallet.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── 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
│ └── Runner-Bridging-Header.h
├── lib
├── contact_page.dart
├── home_page.dart
├── main.dart
└── send_money_page.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 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/.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: 18116933e77adc82f80866c928266a5b4f1ed645
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Wallet Application Flutter
2 | > Wallet application is a mobile application user interface for managing one's day to day finances expenses exploring different user screens required for a kind of application
3 |
4 |
5 | ### Wallet Page
6 |
7 |
8 | ### Contact Page
9 |
10 |
11 | ### Send Money Page
12 |
13 |
14 | ### Contact Page
15 |
16 |
17 | ## Built With
18 |
19 | - Webpack
20 | - HTML & CSS
21 | - GitFlow
22 | - Linters
23 | - Documented Work
24 |
25 |
26 | ## Development set up
27 | Clone Repository using
28 | `git@github.com:isaacpitwa/wallet_app.git`
29 |
30 | OR using HTTPS
31 |
32 | `https://github.com/isaacpitwa/wallet_app.git`
33 |
34 | move into project directory
35 | `cd wallet_app`
36 |
37 | Install Project dependancies using `pub`
38 |
39 | `flutter pub get`
40 |
41 | launch project locally on real device or Emulator
42 |
43 | `flutter run`
44 |
45 |
46 | ## 👤 Author
47 |
48 | - GitHub: [@isaacpitwa](https://github.com/isaacpitwa)
49 | - Twitter: [@isaacpitwa](https://twitter.com/isaacpitwa)
50 | - LinkedIn: [LinkedIn](https://linkedin.com/in/isaac-pitwa)
51 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 30
30 |
31 | compileOptions {
32 | sourceCompatibility JavaVersion.VERSION_1_8
33 | targetCompatibility JavaVersion.VERSION_1_8
34 | }
35 |
36 | kotlinOptions {
37 | jvmTarget = '1.8'
38 | }
39 |
40 | sourceSets {
41 | main.java.srcDirs += 'src/main/kotlin'
42 | }
43 |
44 | defaultConfig {
45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46 | applicationId "com.isaacpitwa.practice"
47 | minSdkVersion 16
48 | targetSdkVersion 30
49 | versionCode flutterVersionCode.toInteger()
50 | versionName flutterVersionName
51 | }
52 |
53 | buildTypes {
54 | release {
55 | // TODO: Add your own signing config for the release build.
56 | // Signing with the debug keys for now, so `flutter run --release` works.
57 | signingConfig signingConfigs.debug
58 | }
59 | }
60 | }
61 |
62 | flutter {
63 | source '../..'
64 | }
65 |
66 | dependencies {
67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68 | }
69 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
13 |
17 |
21 |
26 |
30 |
31 |
32 |
33 |
34 |
35 |
37 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/isaacpitwa/practice/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.isaacpitwa.practice
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
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.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/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-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/images/avatar-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-1.png
--------------------------------------------------------------------------------
/assets/images/avatar-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-2.png
--------------------------------------------------------------------------------
/assets/images/avatar-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-3.png
--------------------------------------------------------------------------------
/assets/images/avatar-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-4.png
--------------------------------------------------------------------------------
/assets/images/avatar-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-5.png
--------------------------------------------------------------------------------
/assets/images/avatar-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/images/avatar-6.png
--------------------------------------------------------------------------------
/assets/screenshots/contact-page-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/screenshots/contact-page-2.png
--------------------------------------------------------------------------------
/assets/screenshots/drawer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/screenshots/drawer.png
--------------------------------------------------------------------------------
/assets/screenshots/send-money-page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/screenshots/send-money-page.png
--------------------------------------------------------------------------------
/assets/screenshots/wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/assets/screenshots/wallet.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/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 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
32 | end
33 |
34 | post_install do |installer|
35 | installer.pods_project.targets.each do |target|
36 | flutter_additional_ios_build_settings(target)
37 | end
38 | end
39 |
--------------------------------------------------------------------------------
/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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXCopyFilesBuildPhase section */
19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
20 | isa = PBXCopyFilesBuildPhase;
21 | buildActionMask = 2147483647;
22 | dstPath = "";
23 | dstSubfolderSpec = 10;
24 | files = (
25 | );
26 | name = "Embed Frameworks";
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXCopyFilesBuildPhase section */
30 |
31 | /* Begin PBXFileReference section */
32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
45 | /* End PBXFileReference section */
46 |
47 | /* Begin PBXFrameworksBuildPhase section */
48 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
49 | isa = PBXFrameworksBuildPhase;
50 | buildActionMask = 2147483647;
51 | files = (
52 | );
53 | runOnlyForDeploymentPostprocessing = 0;
54 | };
55 | /* End PBXFrameworksBuildPhase section */
56 |
57 | /* Begin PBXGroup section */
58 | 9740EEB11CF90186004384FC /* Flutter */ = {
59 | isa = PBXGroup;
60 | children = (
61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
65 | );
66 | name = Flutter;
67 | sourceTree = "";
68 | };
69 | 97C146E51CF9000F007C117D = {
70 | isa = PBXGroup;
71 | children = (
72 | 9740EEB11CF90186004384FC /* Flutter */,
73 | 97C146F01CF9000F007C117D /* Runner */,
74 | 97C146EF1CF9000F007C117D /* Products */,
75 | );
76 | sourceTree = "";
77 | };
78 | 97C146EF1CF9000F007C117D /* Products */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 97C146EE1CF9000F007C117D /* Runner.app */,
82 | );
83 | name = Products;
84 | sourceTree = "";
85 | };
86 | 97C146F01CF9000F007C117D /* Runner */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
92 | 97C147021CF9000F007C117D /* Info.plist */,
93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
97 | );
98 | path = Runner;
99 | sourceTree = "";
100 | };
101 | /* End PBXGroup section */
102 |
103 | /* Begin PBXNativeTarget section */
104 | 97C146ED1CF9000F007C117D /* Runner */ = {
105 | isa = PBXNativeTarget;
106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
107 | buildPhases = (
108 | 9740EEB61CF901F6004384FC /* Run Script */,
109 | 97C146EA1CF9000F007C117D /* Sources */,
110 | 97C146EB1CF9000F007C117D /* Frameworks */,
111 | 97C146EC1CF9000F007C117D /* Resources */,
112 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = Runner;
120 | productName = Runner;
121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | 97C146E61CF9000F007C117D /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | LastUpgradeCheck = 1020;
131 | ORGANIZATIONNAME = "";
132 | TargetAttributes = {
133 | 97C146ED1CF9000F007C117D = {
134 | CreatedOnToolsVersion = 7.3.1;
135 | LastSwiftMigration = 1100;
136 | };
137 | };
138 | };
139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
140 | compatibilityVersion = "Xcode 9.3";
141 | developmentRegion = en;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | Base,
146 | );
147 | mainGroup = 97C146E51CF9000F007C117D;
148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
149 | projectDirPath = "";
150 | projectRoot = "";
151 | targets = (
152 | 97C146ED1CF9000F007C117D /* Runner */,
153 | );
154 | };
155 | /* End PBXProject section */
156 |
157 | /* Begin PBXResourcesBuildPhase section */
158 | 97C146EC1CF9000F007C117D /* Resources */ = {
159 | isa = PBXResourcesBuildPhase;
160 | buildActionMask = 2147483647;
161 | files = (
162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | /* End PBXResourcesBuildPhase section */
170 |
171 | /* Begin PBXShellScriptBuildPhase section */
172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173 | isa = PBXShellScriptBuildPhase;
174 | buildActionMask = 2147483647;
175 | files = (
176 | );
177 | inputPaths = (
178 | );
179 | name = "Thin Binary";
180 | outputPaths = (
181 | );
182 | runOnlyForDeploymentPostprocessing = 0;
183 | shellPath = /bin/sh;
184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
185 | };
186 | 9740EEB61CF901F6004384FC /* Run Script */ = {
187 | isa = PBXShellScriptBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | );
191 | inputPaths = (
192 | );
193 | name = "Run Script";
194 | outputPaths = (
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | shellPath = /bin/sh;
198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
199 | };
200 | /* End PBXShellScriptBuildPhase section */
201 |
202 | /* Begin PBXSourcesBuildPhase section */
203 | 97C146EA1CF9000F007C117D /* Sources */ = {
204 | isa = PBXSourcesBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
209 | );
210 | runOnlyForDeploymentPostprocessing = 0;
211 | };
212 | /* End PBXSourcesBuildPhase section */
213 |
214 | /* Begin PBXVariantGroup section */
215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
216 | isa = PBXVariantGroup;
217 | children = (
218 | 97C146FB1CF9000F007C117D /* Base */,
219 | );
220 | name = Main.storyboard;
221 | sourceTree = "";
222 | };
223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
224 | isa = PBXVariantGroup;
225 | children = (
226 | 97C147001CF9000F007C117D /* Base */,
227 | );
228 | name = LaunchScreen.storyboard;
229 | sourceTree = "";
230 | };
231 | /* End PBXVariantGroup section */
232 |
233 | /* Begin XCBuildConfiguration section */
234 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
235 | isa = XCBuildConfiguration;
236 | buildSettings = {
237 | ALWAYS_SEARCH_USER_PATHS = NO;
238 | CLANG_ANALYZER_NONNULL = YES;
239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
240 | CLANG_CXX_LIBRARY = "libc++";
241 | CLANG_ENABLE_MODULES = YES;
242 | CLANG_ENABLE_OBJC_ARC = YES;
243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
244 | CLANG_WARN_BOOL_CONVERSION = YES;
245 | CLANG_WARN_COMMA = YES;
246 | CLANG_WARN_CONSTANT_CONVERSION = YES;
247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
249 | CLANG_WARN_EMPTY_BODY = YES;
250 | CLANG_WARN_ENUM_CONVERSION = YES;
251 | CLANG_WARN_INFINITE_RECURSION = YES;
252 | CLANG_WARN_INT_CONVERSION = YES;
253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
258 | CLANG_WARN_STRICT_PROTOTYPES = YES;
259 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
260 | CLANG_WARN_UNREACHABLE_CODE = YES;
261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
263 | COPY_PHASE_STRIP = NO;
264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
265 | ENABLE_NS_ASSERTIONS = NO;
266 | ENABLE_STRICT_OBJC_MSGSEND = YES;
267 | GCC_C_LANGUAGE_STANDARD = gnu99;
268 | GCC_NO_COMMON_BLOCKS = YES;
269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
271 | GCC_WARN_UNDECLARED_SELECTOR = YES;
272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273 | GCC_WARN_UNUSED_FUNCTION = YES;
274 | GCC_WARN_UNUSED_VARIABLE = YES;
275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
276 | MTL_ENABLE_DEBUG_INFO = NO;
277 | SDKROOT = iphoneos;
278 | SUPPORTED_PLATFORMS = iphoneos;
279 | TARGETED_DEVICE_FAMILY = "1,2";
280 | VALIDATE_PRODUCT = YES;
281 | };
282 | name = Profile;
283 | };
284 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
285 | isa = XCBuildConfiguration;
286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
287 | buildSettings = {
288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289 | CLANG_ENABLE_MODULES = YES;
290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
291 | ENABLE_BITCODE = NO;
292 | INFOPLIST_FILE = Runner/Info.plist;
293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294 | PRODUCT_BUNDLE_IDENTIFIER = com.isaacpitwa.practice;
295 | PRODUCT_NAME = "$(TARGET_NAME)";
296 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
297 | SWIFT_VERSION = 5.0;
298 | VERSIONING_SYSTEM = "apple-generic";
299 | };
300 | name = Profile;
301 | };
302 | 97C147031CF9000F007C117D /* Debug */ = {
303 | isa = XCBuildConfiguration;
304 | buildSettings = {
305 | ALWAYS_SEARCH_USER_PATHS = NO;
306 | CLANG_ANALYZER_NONNULL = YES;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
312 | CLANG_WARN_BOOL_CONVERSION = YES;
313 | CLANG_WARN_COMMA = YES;
314 | CLANG_WARN_CONSTANT_CONVERSION = YES;
315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
317 | CLANG_WARN_EMPTY_BODY = YES;
318 | CLANG_WARN_ENUM_CONVERSION = YES;
319 | CLANG_WARN_INFINITE_RECURSION = YES;
320 | CLANG_WARN_INT_CONVERSION = YES;
321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
326 | CLANG_WARN_STRICT_PROTOTYPES = YES;
327 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
328 | CLANG_WARN_UNREACHABLE_CODE = YES;
329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
331 | COPY_PHASE_STRIP = NO;
332 | DEBUG_INFORMATION_FORMAT = dwarf;
333 | ENABLE_STRICT_OBJC_MSGSEND = YES;
334 | ENABLE_TESTABILITY = YES;
335 | GCC_C_LANGUAGE_STANDARD = gnu99;
336 | GCC_DYNAMIC_NO_PIC = NO;
337 | GCC_NO_COMMON_BLOCKS = YES;
338 | GCC_OPTIMIZATION_LEVEL = 0;
339 | GCC_PREPROCESSOR_DEFINITIONS = (
340 | "DEBUG=1",
341 | "$(inherited)",
342 | );
343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
345 | GCC_WARN_UNDECLARED_SELECTOR = YES;
346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347 | GCC_WARN_UNUSED_FUNCTION = YES;
348 | GCC_WARN_UNUSED_VARIABLE = YES;
349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
350 | MTL_ENABLE_DEBUG_INFO = YES;
351 | ONLY_ACTIVE_ARCH = YES;
352 | SDKROOT = iphoneos;
353 | TARGETED_DEVICE_FAMILY = "1,2";
354 | };
355 | name = Debug;
356 | };
357 | 97C147041CF9000F007C117D /* Release */ = {
358 | isa = XCBuildConfiguration;
359 | buildSettings = {
360 | ALWAYS_SEARCH_USER_PATHS = NO;
361 | CLANG_ANALYZER_NONNULL = YES;
362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
363 | CLANG_CXX_LIBRARY = "libc++";
364 | CLANG_ENABLE_MODULES = YES;
365 | CLANG_ENABLE_OBJC_ARC = YES;
366 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
367 | CLANG_WARN_BOOL_CONVERSION = YES;
368 | CLANG_WARN_COMMA = YES;
369 | CLANG_WARN_CONSTANT_CONVERSION = YES;
370 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
372 | CLANG_WARN_EMPTY_BODY = YES;
373 | CLANG_WARN_ENUM_CONVERSION = YES;
374 | CLANG_WARN_INFINITE_RECURSION = YES;
375 | CLANG_WARN_INT_CONVERSION = YES;
376 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
377 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
379 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
381 | CLANG_WARN_STRICT_PROTOTYPES = YES;
382 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
383 | CLANG_WARN_UNREACHABLE_CODE = YES;
384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
386 | COPY_PHASE_STRIP = NO;
387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
388 | ENABLE_NS_ASSERTIONS = NO;
389 | ENABLE_STRICT_OBJC_MSGSEND = YES;
390 | GCC_C_LANGUAGE_STANDARD = gnu99;
391 | GCC_NO_COMMON_BLOCKS = YES;
392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
394 | GCC_WARN_UNDECLARED_SELECTOR = YES;
395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
396 | GCC_WARN_UNUSED_FUNCTION = YES;
397 | GCC_WARN_UNUSED_VARIABLE = YES;
398 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
399 | MTL_ENABLE_DEBUG_INFO = NO;
400 | SDKROOT = iphoneos;
401 | SUPPORTED_PLATFORMS = iphoneos;
402 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
403 | TARGETED_DEVICE_FAMILY = "1,2";
404 | VALIDATE_PRODUCT = YES;
405 | };
406 | name = Release;
407 | };
408 | 97C147061CF9000F007C117D /* Debug */ = {
409 | isa = XCBuildConfiguration;
410 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
411 | buildSettings = {
412 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
413 | CLANG_ENABLE_MODULES = YES;
414 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
415 | ENABLE_BITCODE = NO;
416 | INFOPLIST_FILE = Runner/Info.plist;
417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
418 | PRODUCT_BUNDLE_IDENTIFIER = com.isaacpitwa.practice;
419 | PRODUCT_NAME = "$(TARGET_NAME)";
420 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
421 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
422 | SWIFT_VERSION = 5.0;
423 | VERSIONING_SYSTEM = "apple-generic";
424 | };
425 | name = Debug;
426 | };
427 | 97C147071CF9000F007C117D /* Release */ = {
428 | isa = XCBuildConfiguration;
429 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | CLANG_ENABLE_MODULES = YES;
433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
434 | ENABLE_BITCODE = NO;
435 | INFOPLIST_FILE = Runner/Info.plist;
436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
437 | PRODUCT_BUNDLE_IDENTIFIER = com.isaacpitwa.practice;
438 | PRODUCT_NAME = "$(TARGET_NAME)";
439 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
440 | SWIFT_VERSION = 5.0;
441 | VERSIONING_SYSTEM = "apple-generic";
442 | };
443 | name = Release;
444 | };
445 | /* End XCBuildConfiguration section */
446 |
447 | /* Begin XCConfigurationList section */
448 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
449 | isa = XCConfigurationList;
450 | buildConfigurations = (
451 | 97C147031CF9000F007C117D /* Debug */,
452 | 97C147041CF9000F007C117D /* Release */,
453 | 249021D3217E4FDB00AE95B9 /* Profile */,
454 | );
455 | defaultConfigurationIsVisible = 0;
456 | defaultConfigurationName = Release;
457 | };
458 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
459 | isa = XCConfigurationList;
460 | buildConfigurations = (
461 | 97C147061CF9000F007C117D /* Debug */,
462 | 97C147071CF9000F007C117D /* Release */,
463 | 249021D4217E4FDB00AE95B9 /* Profile */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | /* End XCConfigurationList section */
469 | };
470 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
471 | }
472 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/isaacpitwa/wallet_app/76b20d27342cb6ae9794408ac1d6a306f74812f6/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 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | practice
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/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/contact_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:animate_do/animate_do.dart';
2 | import 'package:align_positioned/align_positioned.dart';
3 | import 'package:flutter/material.dart';
4 |
5 | import 'send_money_page.dart';
6 |
7 | class ContactsScreen extends StatefulWidget {
8 | const ContactsScreen({Key? key}) : super(key: key);
9 |
10 | @override
11 | _ContactsScreenState createState() => _ContactsScreenState();
12 | }
13 |
14 | class _ContactsScreenState extends State {
15 | final List _contacts = [
16 | {
17 | 'name': 'John',
18 | 'avatar': 'assets/images/avatar-1.png',
19 | },
20 | {
21 | 'name': 'Samantha',
22 | 'avatar': 'assets/images/avatar-2.png',
23 | },
24 | {
25 | 'name': 'Mary',
26 | 'avatar': 'assets/images/avatar-3.png',
27 | },
28 | {
29 | 'name': 'Julian',
30 | 'avatar': 'assets/images/avatar-4.png',
31 | },
32 | {
33 | 'name': 'Sara',
34 | 'avatar': 'assets/images/avatar-5.png',
35 | },
36 | {
37 | 'name': 'Kabir Singh',
38 | 'avatar': 'assets/images/avatar-6.png',
39 | }
40 | ];
41 | @override
42 | Widget build(BuildContext context) {
43 | return Scaffold(
44 | backgroundColor: const Color(0xff161621),
45 | appBar: AppBar(
46 | backgroundColor: Colors.transparent,
47 | elevation: 0,
48 | title: const Text('Contacts', style: TextStyle(color: Colors.blueGrey),),
49 | centerTitle: true,
50 | leading: const BackButton(color: Colors.blueGrey,),
51 | bottom: PreferredSize(
52 | preferredSize: const Size.fromHeight(50),
53 | child: FadeInDown(
54 | duration: const Duration(milliseconds: 500),
55 | child: Container(
56 | height: 45,
57 | margin: const EdgeInsets.only(bottom: 10),
58 | padding: const EdgeInsets.symmetric(horizontal: 20),
59 | child: TextField(
60 | cursorColor: Colors.black,
61 | decoration: InputDecoration(
62 | contentPadding: const EdgeInsets.symmetric(vertical: 10),
63 | prefixIcon: const Icon(Icons.search, color: Colors.grey,),
64 | hintText: 'Search contacts',
65 | hintStyle: const TextStyle(color: Colors.grey),
66 | filled: true,
67 | fillColor: const Color(0xff272730),
68 | border: OutlineInputBorder(
69 | borderRadius: BorderRadius.circular(10),
70 | borderSide: BorderSide.none,
71 | ),
72 | ),
73 | ),
74 | ),
75 | ),
76 | ),
77 | ),
78 | body: SingleChildScrollView(
79 | child: Column(
80 | crossAxisAlignment: CrossAxisAlignment.start,
81 | children: [
82 | const SizedBox(height: 50,),
83 | FadeInUp(
84 | duration: const Duration(milliseconds: 500),
85 | child: Container(
86 | width: double.infinity,
87 | height: 300,
88 | padding: const EdgeInsets.all(90.0),
89 | decoration: BoxDecoration(
90 | shape: BoxShape.circle,
91 | border: Border.all(color: Colors.grey.shade200, width: 1.0),
92 | ),
93 | child: Stack(
94 | children: [
95 | for (double i = 0; i < 360; i += 60)
96 | AnimChain(
97 | initialDelay: Duration(milliseconds: i.toInt())
98 | )
99 | .next(
100 | wait: const Duration(milliseconds: 1000),
101 | widget: AnimatedAlignPositioned(
102 | dx: 0,
103 | dy: 150,
104 | duration: const Duration(seconds: 1),
105 | rotateDegrees: 0,
106 | touch: Touch.middle,
107 | child: user(0, i),
108 | ),
109 | )
110 | .next(
111 | wait: const Duration(seconds: 2),
112 | widget: AnimatedAlignPositioned(
113 | dx: i / 360,
114 | dy: 150,
115 | duration: const Duration(seconds: 1),
116 | rotateDegrees: i,
117 | touch: Touch.middle,
118 | child: user(0, i),
119 | ),
120 | ),
121 | ],
122 | ),
123 | ),
124 | ),
125 | const SizedBox(height: 80,),
126 | FadeInRight(
127 | duration: const Duration(milliseconds: 500),
128 | child: Padding(
129 | padding: const EdgeInsets.only(left: 20.0, bottom: 15.0, top: 10.0),
130 | child: Text('Most Recent', style: TextStyle(fontSize: 16, color: Colors.grey.shade200, fontWeight: FontWeight.w500),),
131 | ),
132 | ),
133 | Container(
134 | height: 90,
135 | padding: const EdgeInsets.only(left: 20),
136 | child: ListView.builder(
137 | scrollDirection: Axis.horizontal,
138 | itemCount: _contacts.length,
139 | itemBuilder: (context, index) {
140 | return FadeInRight(
141 | duration: Duration(milliseconds: (index * 100) + 500),
142 | child: GestureDetector(
143 | onTap: () {
144 | Navigator.push(context,
145 | MaterialPageRoute(
146 | builder: (context) => TransferMoney(
147 | name: _contacts[index]['name'],
148 | avatar: _contacts[index]['avatar']
149 | )
150 | )
151 | );
152 | },
153 | child: Container(
154 | margin: const EdgeInsets.only(right: 20),
155 | child: Column(
156 | mainAxisAlignment: MainAxisAlignment.center,
157 | children: [
158 | CircleAvatar(
159 | radius: 30,
160 | backgroundColor: Colors.blueGrey[100],
161 | backgroundImage: AssetImage(_contacts[index]['avatar']),
162 | ),
163 | const SizedBox(height: 10,),
164 | Text(_contacts[index]['name'], style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w600,color: Colors.blueGrey),),
165 | ],
166 | ),
167 | ),
168 | ),
169 | );
170 | },
171 | ),
172 | ),
173 | const SizedBox(height: 30,),
174 | FadeInRight(
175 | duration: const Duration(milliseconds: 500),
176 | child: Padding(
177 | padding: const EdgeInsets.only(left: 20.0, bottom: 15.0, top: 10.0),
178 | child: Text('All Contacts', style: TextStyle(fontSize: 16, color: Colors.grey.shade200, fontWeight: FontWeight.w500),),
179 | ),
180 | ),
181 | Container(
182 | height: MediaQuery.of(context).size.height - 200,
183 | padding: const EdgeInsets.only(left: 20),
184 | child: ListView.builder(
185 | physics: const BouncingScrollPhysics(),
186 | itemCount: _contacts.length,
187 | itemBuilder: (context, index) {
188 | return FadeInRight(
189 | duration: Duration(milliseconds: (index * 100) + 500),
190 | child: Container(
191 | margin: const EdgeInsets.only(bottom: 20),
192 | child: Row(
193 | children: [
194 | Row(
195 | children: [
196 | CircleAvatar(
197 | radius: 30,
198 | backgroundColor: Colors.red[100],
199 | backgroundImage: AssetImage(_contacts[index]['avatar']),
200 | ),
201 | const SizedBox(width: 10,),
202 | Text(_contacts[index]['name'], style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w600,color: Colors.blueGrey),),
203 | ],
204 | ),
205 | const Spacer(),
206 | IconButton(
207 | icon: const Icon(Icons.arrow_forward_ios, color: Colors.blueGrey, size: 15,),
208 | onPressed: () {},
209 | ),
210 | ],
211 | ),
212 | ),
213 | );
214 | },
215 | ),
216 | ),
217 | ]
218 | )
219 | ),
220 | );
221 | }
222 | user(int index, double number) {
223 | index = number ~/ 60;
224 | return FadeInRight(
225 | delay: const Duration(seconds: 1),
226 | duration: Duration(milliseconds: (index * 100) + 500),
227 | child: GestureDetector(
228 | onTap: () {
229 | Navigator.push(context,
230 | MaterialPageRoute(
231 | builder: (context) => TransferMoney(
232 | name: _contacts[index]['name'],
233 | avatar: _contacts[index]['avatar']
234 | )
235 | )
236 | );
237 | },
238 | child: Container(
239 | margin: const EdgeInsets.only(right: 20),
240 | child: Column(
241 | mainAxisAlignment: MainAxisAlignment.center,
242 | children: [
243 | Transform.rotate(
244 | angle: number / 60 * 5.2,
245 | child: CircleAvatar(
246 | radius: 30,
247 | backgroundColor: Colors.green.shade100,
248 | backgroundImage: AssetImage(_contacts[index]['avatar']),
249 | ),
250 | ),
251 | ],
252 | ),
253 | ),
254 | ),
255 | );
256 | }
257 |
258 | Container circle(Color color, [double diameter = 50.0]) {
259 | return Container(
260 | width: diameter,
261 | height: diameter,
262 | decoration: BoxDecoration(
263 | color: color,
264 | shape: BoxShape.circle,
265 | ));
266 | }
267 | }
268 |
--------------------------------------------------------------------------------
/lib/home_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:fl_chart/fl_chart.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:google_fonts/google_fonts.dart';
4 | import 'package:iconsax/iconsax.dart';
5 | import 'package:practice/contact_page.dart';
6 | import 'package:practice/send_money_page.dart';
7 | import 'package:salomon_bottom_bar/salomon_bottom_bar.dart';
8 | import 'package:animate_do/animate_do.dart';
9 |
10 | class HomeScreen extends StatefulWidget {
11 | const HomeScreen({Key? key}) : super(key: key);
12 |
13 | @override
14 | _HomeScreenState createState() => _HomeScreenState();
15 | }
16 |
17 | class _HomeScreenState extends State {
18 | bool _isLoaded = false;
19 | int _currentIndex = 0;
20 | @override
21 | void initState() {
22 | super.initState();
23 |
24 | // make _isLoaded true after 2 seconds
25 | Future.delayed(const Duration(seconds: 2), () {
26 | setState(() {
27 | _isLoaded = true;
28 | });
29 | });
30 | }
31 |
32 | @override
33 | Widget build(BuildContext context) {
34 | return Scaffold(
35 | backgroundColor: const Color(0xff161621),
36 | appBar: AppBar(
37 | backgroundColor: Colors.transparent,
38 | iconTheme: const IconThemeData(color: Colors.blueGrey),
39 | elevation: 0,
40 | actions: [
41 | IconButton(
42 | icon: const Icon(
43 | Icons.notifications,
44 | color: Colors.blueGrey,
45 | ),
46 | onPressed: () {},
47 | ),
48 | IconButton(
49 | icon: const Icon(
50 | Icons.more_vert,
51 | color: Colors.blueGrey,
52 | ),
53 | onPressed: () {},
54 | ),
55 | ],
56 | ),
57 | drawer: Drawer(
58 | child: Container(
59 | padding: const EdgeInsets.only(top: 30),
60 | color: const Color(0xff161621),
61 | child: ListTileTheme(
62 | textColor: Colors.blueGrey,
63 | iconColor: Colors.blueGrey,
64 | child: Column(
65 | crossAxisAlignment: CrossAxisAlignment.start,
66 | children: [
67 | Container(
68 | width: 80.0,
69 | height: 80.0,
70 | margin: const EdgeInsets.only(
71 | left: 20,
72 | top: 24.0,
73 | ),
74 | clipBehavior: Clip.antiAlias,
75 | decoration: const BoxDecoration(
76 | color: Colors.blueGrey,
77 | shape: BoxShape.circle,
78 | ),
79 | child: Image.asset('assets/images/avatar-1.png')
80 | ),
81 | const SizedBox(height: 10,),
82 | const Padding(
83 | padding: EdgeInsets.only(left: 30.0),
84 | child: Text("John Doe",
85 | style: TextStyle(color: Colors.blueGrey, fontWeight: FontWeight.w600),),
86 | ),
87 | const Spacer(),
88 | const Divider(color: Colors.blueGrey,),
89 | ListTile(
90 | onTap: () {},
91 | leading: const Icon(Iconsax.home),
92 | title: const Text('Dashboard'),
93 | ),
94 | ListTile(
95 | onTap: () {},
96 | leading: const Icon(Iconsax.chart_2),
97 | title: const Text('Analytics'),
98 | ),
99 | ListTile(
100 | onTap: () {
101 | Navigator.push(context, MaterialPageRoute(builder: (context) => const ContactsScreen()));
102 | },
103 | leading:const Icon(Iconsax.profile_2user),
104 | title: const Text('Contacts'),
105 | ),
106 | const SizedBox(height: 50,),
107 | Divider(color: Colors.grey.shade800),
108 | ListTile(
109 | onTap: () {},
110 | leading: const Icon(Iconsax.setting_2),
111 | title: const Text('Settings'),
112 | ),
113 | ListTile(
114 | onTap: () {},
115 | leading: const Icon(Iconsax.support),
116 | title: const Text('Support'),
117 | ),
118 | const Spacer(),
119 | const Padding(
120 | padding: EdgeInsets.all(20.0),
121 | child: Text('Version 1.0.0', style: TextStyle(color: Colors.blueGrey),),
122 | )
123 | ],
124 | ),
125 | ),
126 | ),
127 | ),
128 | body: NestedScrollView(
129 | headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
130 | return [
131 | SliverToBoxAdapter(
132 | child: Container(
133 | padding: const EdgeInsets.all(20),
134 | width: double.infinity,
135 | child: Column(
136 | crossAxisAlignment: CrossAxisAlignment.start,
137 | children: [
138 | SizedBox(
139 | width: double.infinity,
140 | child: Column(
141 | children: [
142 | FadeInUp(
143 | duration: const Duration(milliseconds: 800),
144 | child: Text(
145 | "Balance",
146 | style: TextStyle(
147 | color: Colors.blueGrey.shade300,
148 | fontSize: 20),
149 | )),
150 | const SizedBox(
151 | height: 20,
152 | ),
153 | FadeInUp(
154 | duration: const Duration(milliseconds: 800),
155 | child: Text(
156 | "\$ 12,500.00",
157 | style: GoogleFonts.sora(
158 | fontSize: 40,
159 | fontWeight: FontWeight.bold,
160 | color: Colors.white),
161 | ),
162 | ),
163 | ],
164 | ),
165 | ),
166 | FadeInUp(
167 | duration: const Duration(milliseconds: 1000),
168 | child: SizedBox(
169 | width: double.infinity,
170 | height: 250,
171 | child: LineChart(
172 | mainData(),
173 | swapAnimationDuration:
174 | const Duration(milliseconds: 1000), // Optional
175 | swapAnimationCurve: Curves.linear, // Optional
176 | ),
177 | ),
178 | ),
179 | ],
180 | ),
181 | ),
182 | )
183 | ];
184 | },
185 | body: Container(
186 | padding: const EdgeInsets.all(20),
187 | child:
188 | Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
189 | FadeInUp(
190 | duration:const Duration(milliseconds: 1000),
191 | child: Row(
192 | mainAxisAlignment: MainAxisAlignment.center,
193 | children: [
194 | MaterialButton(
195 | onPressed: () {
196 | Navigator.of(context).pushReplacementNamed('/');
197 | },
198 | padding: const EdgeInsets.symmetric(
199 | horizontal: 30, vertical: 15),
200 | shape: RoundedRectangleBorder(
201 | borderRadius: BorderRadius.circular(10)),
202 | color: const Color(0xff02d39a).withOpacity(0.7),
203 | child: Row(
204 | children: const [
205 | Icon(
206 | Iconsax.wallet,
207 | color: Colors.white,
208 | ),
209 | SizedBox(
210 | width: 10,
211 | ),
212 | Text(
213 | "Payment",
214 | style: TextStyle(color: Colors.white),
215 | ),
216 | ],
217 | ),
218 | ),
219 | const SizedBox(
220 | width: 20,
221 | ),
222 | MaterialButton(
223 | onPressed: () {
224 | Navigator.push(context, MaterialPageRoute(builder: (context) => const TransferMoney(name: 'Isaac Pitwa',avatar: 'assets/images/avatar-1.png',)),);
225 | },
226 | shape: RoundedRectangleBorder(
227 | side: BorderSide(
228 | color: const Color(0xff02d39a).withOpacity(0.4),
229 | width: 1),
230 | borderRadius: BorderRadius.circular(10)),
231 | splashColor: const Color(0xff02d39a).withOpacity(0.4),
232 | highlightColor: const Color(0xff02d39a).withOpacity(0.4),
233 | padding: const EdgeInsets.symmetric(
234 | horizontal: 30, vertical: 15),
235 | color: Colors.transparent,
236 | elevation: 0,
237 | child: Row(
238 | children: const [
239 | Icon(
240 | Iconsax.arrow_3,
241 | color: Colors.white,
242 | ),
243 | SizedBox(
244 | width: 10,
245 | ),
246 | Text(
247 | "Transfer",
248 | style: TextStyle(color: Colors.white),
249 | ),
250 | ],
251 | ),
252 | )
253 | ],
254 | ),
255 | ),
256 | const SizedBox(
257 | height: 40,
258 | ),
259 | // recent transactions
260 | FadeInUp(
261 | duration: const Duration(milliseconds: 1000),
262 | child: Text(
263 | "Recent Transactions",
264 | style: TextStyle(
265 | color: Colors.blueGrey.shade300, fontSize: 16),
266 | )),
267 | const SizedBox(
268 | height: 20,
269 | ),
270 | Expanded(
271 | child: SizedBox(
272 | height: 200,
273 | child: ListView.builder(
274 | physics: const NeverScrollableScrollPhysics(),
275 | itemCount: 5,
276 | itemBuilder: (context, index) {
277 | return FadeInUp(
278 | from: 50,
279 | duration: Duration(milliseconds: 1000 + index * 100),
280 | child: Container(
281 | padding: const EdgeInsets.symmetric(
282 | horizontal: 20, vertical: 20),
283 | margin: const EdgeInsets.only(bottom: 15),
284 | decoration: BoxDecoration(
285 | borderRadius: BorderRadius.circular(10),
286 | // color: Colors.black.withOpacity(0.3),
287 | border: Border.all(
288 | color: Colors.blueGrey.withOpacity(0.3),
289 | width: 1)),
290 | child: Row(
291 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
292 | children: const [
293 | Icon(
294 | Iconsax.arrow_3,
295 | color: Colors.blueGrey,
296 | ),
297 | SizedBox(
298 | width: 10,
299 | ),
300 | Text(
301 | "Transfer",
302 | style: TextStyle(color: Colors.blueGrey),
303 | ),
304 | SizedBox(
305 | width: 10,
306 | ),
307 | Text(
308 | "\$ 12,500.00",
309 | style: TextStyle(
310 | color: Colors.blueGrey,
311 | fontWeight: FontWeight.bold),
312 | ),
313 | SizedBox(
314 | width: 10,
315 | ),
316 | Text(
317 | "12:00 PM",
318 | style: TextStyle(
319 | color: Colors.blueGrey, fontSize: 12),
320 | ),
321 | ],
322 | ),
323 | ),
324 | );
325 | },
326 | ),
327 | ),
328 | ),
329 | ]),
330 | )),
331 | bottomNavigationBar: SalomonBottomBar(
332 | currentIndex: _currentIndex,
333 | selectedItemColor: Colors.white,
334 | unselectedItemColor: Colors.white,
335 | margin: const EdgeInsets.only(bottom: 30, top: 10, right: 20, left: 20),
336 | onTap: (index) {
337 | setState(() {
338 | _currentIndex = index;
339 | });
340 | },
341 | items: [
342 | SalomonBottomBarItem(
343 | icon: const Icon(Icons.home),
344 | title: const Text("Home"),
345 | selectedColor: Colors.white),
346 | SalomonBottomBarItem(
347 | icon: const Icon(Icons.explore_outlined),
348 | title: const Text("Likes"),
349 | selectedColor: Colors.pink),
350 | SalomonBottomBarItem(
351 | icon: const Icon(Icons.data_usage),
352 | title: const Text("Search"),
353 | selectedColor: Colors.orange),
354 | SalomonBottomBarItem(
355 | icon: const Icon(Icons.settings),
356 | title: const Text("Profile"),
357 | selectedColor: Colors.teal)
358 | ],
359 | ),
360 | );
361 | }
362 |
363 | List gradientColors = [
364 | const Color(0xff23b6e6),
365 | const Color(0xff02d39a),
366 | ];
367 |
368 | LineChartData mainData() {
369 | return LineChartData(
370 | borderData: FlBorderData(
371 | show: false,
372 | ),
373 | gridData: FlGridData(
374 | show: true,
375 | horizontalInterval: 1.6,
376 | getDrawingHorizontalLine: (value) {
377 | return FlLine(
378 | dashArray: const [3, 3],
379 | color: const Color(0xff37434d).withOpacity(0.2),
380 | strokeWidth: 2,
381 | );
382 | },
383 | drawVerticalLine: false),
384 | titlesData: FlTitlesData(
385 | show: true,
386 | rightTitles: SideTitles(showTitles: false),
387 | topTitles: SideTitles(showTitles: false),
388 | bottomTitles: SideTitles(
389 | showTitles: true,
390 | reservedSize: 22,
391 | interval: 1,
392 | getTextStyles: (context, value) => const TextStyle(
393 | color: Color(0xff68737d),
394 | fontWeight: FontWeight.bold,
395 | fontSize: 11),
396 | getTitles: (value) {
397 | switch (value.toInt()) {
398 | case 0:
399 | return 'MAR';
400 | case 4:
401 | return 'JUN';
402 | case 8:
403 | return 'SEP';
404 | case 11:
405 | return 'OCT';
406 | }
407 | return '';
408 | },
409 | margin: 10,
410 | ),
411 | leftTitles: SideTitles(
412 | showTitles: true,
413 | interval: 1,
414 | getTextStyles: (context, value) => const TextStyle(
415 | color: Color(0xff67727d),
416 | fontWeight: FontWeight.bold,
417 | fontSize: 12,
418 | ),
419 | getTitles: (value) {
420 | switch (value.toInt()) {
421 | case 1:
422 | return '10k';
423 | case 3:
424 | return '30k';
425 | case 5:
426 | return '50k';
427 | }
428 | return '';
429 | },
430 | reservedSize: 25,
431 | margin: 12,
432 | ),
433 | ),
434 | minX: 0,
435 | maxX: 11,
436 | minY: 0,
437 | maxY: 6,
438 | lineBarsData: [
439 | LineChartBarData(
440 | spots: _isLoaded
441 | ? [
442 | const FlSpot(0, 3),
443 | const FlSpot(2.4, 2),
444 | const FlSpot(4.4, 3),
445 | const FlSpot(6.4, 3.1),
446 | const FlSpot(8, 4),
447 | const FlSpot(9.5, 4),
448 | const FlSpot(11, 5),
449 | ]
450 | : [
451 | const FlSpot(0, 0),
452 | const FlSpot(2.4, 0),
453 | const FlSpot(4.4, 0),
454 | const FlSpot(6.4, 0),
455 | const FlSpot(8, 0),
456 | const FlSpot(9.5, 0),
457 | const FlSpot(11, 0)
458 | ],
459 | isCurved: true,
460 | colors: gradientColors,
461 | barWidth: 2,
462 | dotData: FlDotData(
463 | show: false,
464 | ),
465 | belowBarData: BarAreaData(
466 | show: true,
467 | gradientFrom: const Offset(0, 0),
468 | gradientTo: const Offset(0, 1),
469 | colors: [
470 | const Color(0xff02d39a).withOpacity(0.1),
471 | const Color(0xff02d39a).withOpacity(0),
472 | ]),
473 | ),
474 | ],
475 | );
476 | }
477 | }
478 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'home_page.dart';
4 |
5 | void main() {
6 | runApp(const MyApp());
7 | }
8 |
9 | class MyApp extends StatelessWidget {
10 | const MyApp({Key? key}) : super(key: key);
11 |
12 | // This widget is the root of your application.
13 | @override
14 | Widget build(BuildContext context) {
15 | return MaterialApp(
16 | debugShowCheckedModeBanner: false,
17 | title: 'Wallet',
18 | theme: ThemeData(
19 | primarySwatch: Colors.blue,
20 | ),
21 | home: HomeScreen(),
22 | );
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/lib/send_money_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:animate_do/animate_do.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_bounce/flutter_bounce.dart' as bouncing_widget;
4 | import 'package:pattern_formatter/pattern_formatter.dart';
5 |
6 | class TransferMoney extends StatefulWidget {
7 | final String name;
8 | final String avatar;
9 | const TransferMoney({Key? key, required this.name, required this.avatar})
10 | : super(key: key);
11 |
12 | @override
13 | _TransferMoneyState createState() => _TransferMoneyState();
14 | }
15 |
16 | class _TransferMoneyState extends State {
17 | var amount = TextEditingController(text: "0.00");
18 |
19 | final FocusNode _focusNode = FocusNode();
20 | final TextEditingController _editingController = TextEditingController();
21 | bool isFocused = false;
22 |
23 | final List _feedbacks = [
24 | 'Awsome 🙌',
25 | 'Nice 🔥',
26 | "Cool 🤩",
27 | 'Amazing work 👍🏼',
28 | ];
29 |
30 | @override
31 | void initState() {
32 | super.initState();
33 |
34 | _focusNode.addListener(onFocusChanged);
35 | }
36 |
37 | void onFocusChanged() {
38 | setState(() {
39 | isFocused = _focusNode.hasFocus;
40 | });
41 | }
42 |
43 | @override
44 | Widget build(BuildContext context) {
45 | return Scaffold(
46 | backgroundColor: const Color(0xff161621),
47 | appBar: AppBar(
48 | backgroundColor: Colors.transparent,
49 | elevation: 0,
50 | title: const Text(
51 | 'Send Money',
52 | style: TextStyle(color: Colors.blueGrey),
53 | ),
54 | leading: const BackButton(
55 | color: Colors.blueGrey,
56 | ),
57 | ),
58 | body: SingleChildScrollView(
59 | child: SizedBox(
60 | width: double.infinity,
61 | child: Column(
62 | crossAxisAlignment: CrossAxisAlignment.center,
63 | children: [
64 | const SizedBox(
65 | height: 50,
66 | ),
67 | FadeInDown(
68 | from: 100,
69 | duration: const Duration(milliseconds: 1000),
70 | child: Container(
71 | width: 130,
72 | height: 130,
73 | padding: const EdgeInsets.all(8),
74 | decoration: BoxDecoration(
75 | color: Colors.pink.shade50,
76 | borderRadius: BorderRadius.circular(100),
77 | ),
78 | child: ClipRRect(
79 | borderRadius: BorderRadius.circular(50),
80 | child: Image.asset(widget.avatar)),
81 | ),
82 | ),
83 | const SizedBox(
84 | height: 50,
85 | ),
86 | FadeInUp(
87 | from: 60,
88 | delay: const Duration(milliseconds: 500),
89 | duration: const Duration(milliseconds: 1000),
90 | child: const Text(
91 | "Send Money To",
92 | style: TextStyle(color: Colors.grey),
93 | )),
94 | const SizedBox(
95 | height: 10,
96 | ),
97 | FadeInUp(
98 | from: 30,
99 | delay: const Duration(milliseconds: 800),
100 | duration: const Duration(milliseconds: 1000),
101 | child: Text(
102 | widget.name,
103 | style:
104 | const TextStyle(fontSize: 24, fontWeight: FontWeight.bold, color:Colors.blueGrey),
105 | )),
106 | const SizedBox(
107 | height: 20,
108 | ),
109 | FadeInUp(
110 | from: 40,
111 | delay: const Duration(milliseconds: 800),
112 | duration: const Duration(milliseconds: 1000),
113 | child: Padding(
114 | padding: const EdgeInsets.symmetric(horizontal: 50.0),
115 | child: TextField(
116 | controller: amount,
117 | textAlign: TextAlign.center,
118 | keyboardType: const TextInputType.numberWithOptions(
119 | signed: true, decimal: true),
120 | cursorColor: Colors.black,
121 | style: TextStyle(
122 | color: Colors.grey.shade200,
123 | fontSize: 30,
124 | fontWeight: FontWeight.bold),
125 | onSubmitted: (value) {
126 | setState(() {
127 | amount.text = "\$" + value + ".00";
128 | });
129 | },
130 | onTap: () {
131 | setState(() {
132 | if (amount.text == "0.00") {
133 | amount.text = "";
134 | } else {
135 | amount.text =
136 | amount.text.replaceAll(RegExp(r'.00'), '');
137 | }
138 | });
139 | },
140 | inputFormatters: [ThousandsFormatter()],
141 | decoration: InputDecoration(
142 | hintText: "Enter Amount",
143 | hintStyle:
144 | TextStyle(color: Colors.grey.shade200, fontSize: 20),
145 | border: OutlineInputBorder(
146 | borderRadius: BorderRadius.circular(10),
147 | borderSide: BorderSide.none,
148 | ),
149 | focusedBorder: OutlineInputBorder(
150 | borderRadius: BorderRadius.circular(10),
151 | borderSide: BorderSide.none,
152 | )),
153 | ),
154 | ),
155 | ),
156 | const SizedBox(
157 | height: 10,
158 | ),
159 | // note textfield
160 | FadeInUp(
161 | from: 60,
162 | delay: const Duration(milliseconds: 800),
163 | duration: const Duration(milliseconds: 1000),
164 | child: AnimatedContainer(
165 | margin: const EdgeInsets.symmetric(horizontal: 30),
166 | duration: const Duration(milliseconds: 500),
167 | decoration: BoxDecoration(
168 | color: const Color(0xff272730),
169 | borderRadius: BorderRadius.circular(8),
170 | border: Border.all(
171 | color: isFocused
172 | ? const Color(0xff02d39a)
173 | : const Color(0xff272730),
174 | width: 2),
175 | // // boxShadow:
176 | ),
177 | child: TextField(
178 | maxLines: 3,
179 | focusNode: _focusNode,
180 | controller: _editingController,
181 | keyboardType: TextInputType.text,
182 | cursorColor: Colors.grey.shade200,
183 | style: TextStyle(
184 | color: Colors.grey.shade200,
185 | fontSize: 18,
186 | fontWeight: FontWeight.w500),
187 | decoration: const InputDecoration(
188 | contentPadding: EdgeInsets.symmetric(
189 | vertical: 20, horizontal: 20),
190 | hintText: "Message ...",
191 | hintStyle: TextStyle(
192 | color: Colors.grey,
193 | fontSize: 15,
194 | fontWeight: FontWeight.w500),
195 | border: InputBorder.none),
196 | ),
197 | ),
198 | ),
199 | const SizedBox(
200 | height: 20,
201 | ),
202 | FadeInUp(
203 | from: 60,
204 | delay: const Duration(milliseconds: 800),
205 | duration: const Duration(milliseconds: 1000),
206 | child: Container(
207 | height: 50,
208 | padding: const EdgeInsets.symmetric(horizontal: 30),
209 | child: ListView.builder(
210 | scrollDirection: Axis.horizontal,
211 | itemCount: _feedbacks.length,
212 | itemBuilder: (context, index) {
213 | return FadeInRight(
214 | from: 100,
215 | delay: Duration(milliseconds: index * 500),
216 | duration: const Duration(milliseconds: 1000),
217 | child: bouncing_widget.Bounce(
218 | duration: const Duration(milliseconds: 100),
219 | onPressed: () {
220 | _editingController.text = _feedbacks[index];
221 | _focusNode.requestFocus();
222 | },
223 | child: Container(
224 | margin: const EdgeInsets.only(right: 20),
225 | padding: const EdgeInsets.symmetric(
226 | horizontal: 20, vertical: 8),
227 | decoration: BoxDecoration(
228 | color: const Color(0xff272730),
229 | borderRadius: BorderRadius.circular(8),
230 | border: Border.all(
231 | color: Colors.grey.shade800, width: 2),
232 | ),
233 | child: Text(
234 | _feedbacks[index],
235 | style: TextStyle(
236 | color: Colors.grey.shade200, fontSize: 16),
237 | ),
238 | ),
239 | ),
240 | );
241 | },
242 | ),
243 | ),
244 | ),
245 | const SizedBox(
246 | height: 50,
247 | ),
248 | FadeInUp(
249 | duration: const Duration(milliseconds: 1000),
250 | child: Padding(
251 | padding: const EdgeInsets.symmetric(horizontal: 50.0),
252 | child: Material(
253 | elevation: 5,
254 | borderRadius: BorderRadius.circular(10),
255 | color: const Color(0xff02d39a).withOpacity(0.7),
256 | child: MaterialButton(
257 | onPressed: () {
258 | Navigator.of(context).pushReplacementNamed('/');
259 | },
260 | minWidth: double.infinity,
261 | height: 50,
262 | child: const Text(
263 | "Send",
264 | style: TextStyle(color: Colors.white, fontSize: 16),
265 | ),
266 | ),
267 | ),
268 | ),
269 | ),
270 | ],
271 | ),
272 | ),
273 | ));
274 | }
275 | }
276 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | align_positioned:
5 | dependency: "direct main"
6 | description:
7 | name: align_positioned
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "3.0.0"
11 | animate_do:
12 | dependency: "direct main"
13 | description:
14 | name: animate_do
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.0.0"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.8.1"
25 | boolean_selector:
26 | dependency: transitive
27 | description:
28 | name: boolean_selector
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "2.1.0"
32 | characters:
33 | dependency: transitive
34 | description:
35 | name: characters
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.1.0"
39 | charcode:
40 | dependency: transitive
41 | description:
42 | name: charcode
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.3.1"
46 | clock:
47 | dependency: transitive
48 | description:
49 | name: clock
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "1.1.0"
53 | collection:
54 | dependency: transitive
55 | description:
56 | name: collection
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.15.0"
60 | crypto:
61 | dependency: transitive
62 | description:
63 | name: crypto
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "3.0.1"
67 | cupertino_icons:
68 | dependency: "direct main"
69 | description:
70 | name: cupertino_icons
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "1.0.4"
74 | equatable:
75 | dependency: transitive
76 | description:
77 | name: equatable
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "2.0.3"
81 | fake_async:
82 | dependency: transitive
83 | description:
84 | name: fake_async
85 | url: "https://pub.dartlang.org"
86 | source: hosted
87 | version: "1.2.0"
88 | ffi:
89 | dependency: transitive
90 | description:
91 | name: ffi
92 | url: "https://pub.dartlang.org"
93 | source: hosted
94 | version: "1.1.2"
95 | file:
96 | dependency: transitive
97 | description:
98 | name: file
99 | url: "https://pub.dartlang.org"
100 | source: hosted
101 | version: "6.1.2"
102 | fl_chart:
103 | dependency: "direct main"
104 | description:
105 | name: fl_chart
106 | url: "https://pub.dartlang.org"
107 | source: hosted
108 | version: "0.40.6"
109 | flutter:
110 | dependency: "direct main"
111 | description: flutter
112 | source: sdk
113 | version: "0.0.0"
114 | flutter_bounce:
115 | dependency: "direct main"
116 | description:
117 | name: flutter_bounce
118 | url: "https://pub.dartlang.org"
119 | source: hosted
120 | version: "1.1.0"
121 | flutter_lints:
122 | dependency: "direct dev"
123 | description:
124 | name: flutter_lints
125 | url: "https://pub.dartlang.org"
126 | source: hosted
127 | version: "1.0.4"
128 | flutter_test:
129 | dependency: "direct dev"
130 | description: flutter
131 | source: sdk
132 | version: "0.0.0"
133 | google_fonts:
134 | dependency: "direct main"
135 | description:
136 | name: google_fonts
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "2.1.1"
140 | http:
141 | dependency: transitive
142 | description:
143 | name: http
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "0.13.4"
147 | http_parser:
148 | dependency: transitive
149 | description:
150 | name: http_parser
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "4.0.0"
154 | iconsax:
155 | dependency: "direct main"
156 | description:
157 | name: iconsax
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "0.0.8"
161 | intl:
162 | dependency: transitive
163 | description:
164 | name: intl
165 | url: "https://pub.dartlang.org"
166 | source: hosted
167 | version: "0.17.0"
168 | lints:
169 | dependency: transitive
170 | description:
171 | name: lints
172 | url: "https://pub.dartlang.org"
173 | source: hosted
174 | version: "1.0.1"
175 | matcher:
176 | dependency: transitive
177 | description:
178 | name: matcher
179 | url: "https://pub.dartlang.org"
180 | source: hosted
181 | version: "0.12.10"
182 | matrix4_transform:
183 | dependency: transitive
184 | description:
185 | name: matrix4_transform
186 | url: "https://pub.dartlang.org"
187 | source: hosted
188 | version: "2.0.1"
189 | meta:
190 | dependency: transitive
191 | description:
192 | name: meta
193 | url: "https://pub.dartlang.org"
194 | source: hosted
195 | version: "1.7.0"
196 | path:
197 | dependency: transitive
198 | description:
199 | name: path
200 | url: "https://pub.dartlang.org"
201 | source: hosted
202 | version: "1.8.0"
203 | path_provider:
204 | dependency: transitive
205 | description:
206 | name: path_provider
207 | url: "https://pub.dartlang.org"
208 | source: hosted
209 | version: "2.0.8"
210 | path_provider_android:
211 | dependency: transitive
212 | description:
213 | name: path_provider_android
214 | url: "https://pub.dartlang.org"
215 | source: hosted
216 | version: "2.0.11"
217 | path_provider_ios:
218 | dependency: transitive
219 | description:
220 | name: path_provider_ios
221 | url: "https://pub.dartlang.org"
222 | source: hosted
223 | version: "2.0.7"
224 | path_provider_linux:
225 | dependency: transitive
226 | description:
227 | name: path_provider_linux
228 | url: "https://pub.dartlang.org"
229 | source: hosted
230 | version: "2.1.4"
231 | path_provider_macos:
232 | dependency: transitive
233 | description:
234 | name: path_provider_macos
235 | url: "https://pub.dartlang.org"
236 | source: hosted
237 | version: "2.0.4"
238 | path_provider_platform_interface:
239 | dependency: transitive
240 | description:
241 | name: path_provider_platform_interface
242 | url: "https://pub.dartlang.org"
243 | source: hosted
244 | version: "2.0.1"
245 | path_provider_windows:
246 | dependency: transitive
247 | description:
248 | name: path_provider_windows
249 | url: "https://pub.dartlang.org"
250 | source: hosted
251 | version: "2.0.4"
252 | pattern_formatter:
253 | dependency: "direct main"
254 | description:
255 | name: pattern_formatter
256 | url: "https://pub.dartlang.org"
257 | source: hosted
258 | version: "2.0.0"
259 | platform:
260 | dependency: transitive
261 | description:
262 | name: platform
263 | url: "https://pub.dartlang.org"
264 | source: hosted
265 | version: "3.1.0"
266 | plugin_platform_interface:
267 | dependency: transitive
268 | description:
269 | name: plugin_platform_interface
270 | url: "https://pub.dartlang.org"
271 | source: hosted
272 | version: "2.0.2"
273 | process:
274 | dependency: transitive
275 | description:
276 | name: process
277 | url: "https://pub.dartlang.org"
278 | source: hosted
279 | version: "4.2.4"
280 | salomon_bottom_bar:
281 | dependency: "direct main"
282 | description:
283 | name: salomon_bottom_bar
284 | url: "https://pub.dartlang.org"
285 | source: hosted
286 | version: "3.2.0"
287 | sky_engine:
288 | dependency: transitive
289 | description: flutter
290 | source: sdk
291 | version: "0.0.99"
292 | source_span:
293 | dependency: transitive
294 | description:
295 | name: source_span
296 | url: "https://pub.dartlang.org"
297 | source: hosted
298 | version: "1.8.1"
299 | stack_trace:
300 | dependency: transitive
301 | description:
302 | name: stack_trace
303 | url: "https://pub.dartlang.org"
304 | source: hosted
305 | version: "1.10.0"
306 | stream_channel:
307 | dependency: transitive
308 | description:
309 | name: stream_channel
310 | url: "https://pub.dartlang.org"
311 | source: hosted
312 | version: "2.1.0"
313 | string_scanner:
314 | dependency: transitive
315 | description:
316 | name: string_scanner
317 | url: "https://pub.dartlang.org"
318 | source: hosted
319 | version: "1.1.0"
320 | term_glyph:
321 | dependency: transitive
322 | description:
323 | name: term_glyph
324 | url: "https://pub.dartlang.org"
325 | source: hosted
326 | version: "1.2.0"
327 | test_api:
328 | dependency: transitive
329 | description:
330 | name: test_api
331 | url: "https://pub.dartlang.org"
332 | source: hosted
333 | version: "0.4.2"
334 | typed_data:
335 | dependency: transitive
336 | description:
337 | name: typed_data
338 | url: "https://pub.dartlang.org"
339 | source: hosted
340 | version: "1.3.0"
341 | vector_math:
342 | dependency: transitive
343 | description:
344 | name: vector_math
345 | url: "https://pub.dartlang.org"
346 | source: hosted
347 | version: "2.1.0"
348 | win32:
349 | dependency: transitive
350 | description:
351 | name: win32
352 | url: "https://pub.dartlang.org"
353 | source: hosted
354 | version: "2.3.3"
355 | xdg_directories:
356 | dependency: transitive
357 | description:
358 | name: xdg_directories
359 | url: "https://pub.dartlang.org"
360 | source: hosted
361 | version: "0.2.0"
362 | sdks:
363 | dart: ">=2.14.0 <3.0.0"
364 | flutter: ">=2.5.0"
365 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: practice
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `flutter pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.12.0 <3.0.0"
22 |
23 | # Dependencies specify other packages that your package needs in order to work.
24 | # To automatically upgrade your package dependencies to the latest versions
25 | # consider running `flutter pub upgrade --major-versions`. Alternatively,
26 | # dependencies can be manually updated by changing the version numbers below to
27 | # the latest version available on pub.dev. To see which dependencies have newer
28 | # versions available, run `flutter pub outdated`.
29 | dependencies:
30 | flutter:
31 | sdk: flutter
32 |
33 |
34 | # The following adds the Cupertino Icons font to your application.
35 | # Use with the CupertinoIcons class for iOS style icons.
36 | cupertino_icons: ^1.0.2
37 | salomon_bottom_bar: ^3.2.0
38 | google_fonts: ^2.1.1
39 | iconsax: ^0.0.8
40 | fl_chart: ^0.40.6
41 | animate_do: ^2.0.0
42 | pattern_formatter: ^2.0.0
43 | flutter_bounce: ^1.1.0
44 | align_positioned: ^3.0.0
45 |
46 | dev_dependencies:
47 | flutter_test:
48 | sdk: flutter
49 |
50 | # The "flutter_lints" package below contains a set of recommended lints to
51 | # encourage good coding practices. The lint set provided by the package is
52 | # activated in the `analysis_options.yaml` file located at the root of your
53 | # package. See that file for information about deactivating specific lint
54 | # rules and activating additional ones.
55 | flutter_lints: ^1.0.0
56 |
57 | # For information on the generic Dart part of this file, see the
58 | # following page: https://dart.dev/tools/pub/pubspec
59 |
60 | # The following section is specific to Flutter.
61 | flutter:
62 |
63 | # The following line ensures that the Material Icons font is
64 | # included with your application, so that you can use the icons in
65 | # the material Icons class.
66 | uses-material-design: true
67 |
68 | # To add assets to your application, add an assets section, like this:
69 | assets:
70 | - assets/images/
71 | # An image asset can refer to one or more resolution-specific "variants", see
72 | # https://flutter.dev/assets-and-images/#resolution-aware.
73 |
74 | # For details regarding adding assets from package dependencies, see
75 | # https://flutter.dev/assets-and-images/#from-packages
76 |
77 | # To add custom fonts to your application, add a fonts section here,
78 | # in this "flutter" section. Each entry in this list should have a
79 | # "family" key with the font family name, and a "fonts" key with a
80 | # list giving the asset and other descriptors for the font. For
81 | # example:
82 | # fonts:
83 | # - family: Schyler
84 | # fonts:
85 | # - asset: fonts/Schyler-Regular.ttf
86 | # - asset: fonts/Schyler-Italic.ttf
87 | # style: italic
88 | # - family: Trajan Pro
89 | # fonts:
90 | # - asset: fonts/TrajanPro.ttf
91 | # - asset: fonts/TrajanPro_Bold.ttf
92 | # weight: 700
93 | #
94 | # For details regarding fonts from package dependencies,
95 | # see https://flutter.dev/custom-fonts/#from-packages
96 |
--------------------------------------------------------------------------------
/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:practice/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(const MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------