├── ios
├── Flutter
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── AppFrameworkInfo.plist
├── Runner
│ ├── Runner-Bridging-Header.h
│ ├── Assets.xcassets
│ │ ├── LaunchImage.imageset
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── README.md
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ └── Info.plist
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── WorkspaceSettings.xcsettings
│ │ └── IDEWorkspaceChecks.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ └── IDEWorkspaceChecks.plist
│ ├── xcshareddata
│ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ └── project.pbxproj
└── .gitignore
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ └── Icon-512.png
├── manifest.json
└── index.html
├── android
├── gradle.properties
├── app
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable-v21
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── values
│ │ │ │ │ └── styles.xml
│ │ │ │ └── values-night
│ │ │ │ │ └── styles.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── budget_tracker_ui
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── .gitignore
├── settings.gradle
└── build.gradle
├── assets
└── images
│ ├── auto.png
│ ├── bank.png
│ ├── cash.png
│ ├── gift.png
│ ├── charity.png
│ └── eating.png
├── lib
├── main.dart
├── theme
│ └── colors.dart
├── json
│ ├── create_budget_json.dart
│ ├── day_month.dart
│ ├── budget_json.dart
│ └── daily_json.dart
├── widget
│ └── chart.dart
└── pages
│ ├── root_app.dart
│ ├── create_budge_page.dart
│ ├── daily_page.dart
│ ├── budget_page.dart
│ ├── stats_page.dart
│ └── profile_page.dart
├── .metadata
├── .gitignore
├── README.md
├── test
└── widget_test.dart
├── pubspec.yaml
└── pubspec.lock
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/web/favicon.png
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/assets/images/auto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/auto.png
--------------------------------------------------------------------------------
/assets/images/bank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/bank.png
--------------------------------------------------------------------------------
/assets/images/cash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/cash.png
--------------------------------------------------------------------------------
/assets/images/gift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/gift.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/assets/images/charity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/charity.png
--------------------------------------------------------------------------------
/assets/images/eating.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/assets/images/eating.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sopheamen007/app.mobile.budget-tracker-app-ui/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/budget_tracker_ui/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.budget_tracker_ui
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/pages/root_app.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | void main() {
5 | runApp(MaterialApp(
6 | debugShowCheckedModeBanner: false,
7 | home: RootApp(),
8 | ));
9 | }
10 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 5b6b67aeaf5a0c6594ebae025212b222322db6aa
8 | channel: master
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/lib/theme/colors.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | const Color primary = Color(0xFFFF3378);
4 | const Color secondary = Color(0xFFFF2278);
5 | const Color black = Color(0xFF000000);
6 | const Color white = Color(0xFFFFFFFF);
7 | const Color grey = Colors.grey;
8 | const Color red = Color(0xFFec5766);
9 | const Color green = Color(0xFF43aa8b);
10 | const Color blue = Color(0xFF28c2ff);
11 |
--------------------------------------------------------------------------------
/lib/json/create_budget_json.dart:
--------------------------------------------------------------------------------
1 | const List categories = [
2 | {"name": "Auto", "icon": "assets/images/auto.png"},
3 | {"name": "Bank", "icon": "assets/images/bank.png"},
4 | {"name": "Cash", "icon": "assets/images/cash.png"},
5 | {"name": "Charity", "icon": "assets/images/charity.png"},
6 | {"name": "Eating", "icon": "assets/images/eating.png"},
7 | {"name": "Gift", "icon": "assets/images/gift.png"}
8 | ];
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/json/day_month.dart:
--------------------------------------------------------------------------------
1 | List days = [
2 | {"label": "Sun", "day": "28"},
3 | {"label": "Mon", "day": "29"},
4 | {"label": "Tue", "day": "30"},
5 | {"label": "Wed", "day": "1"},
6 | {"label": "Thu", "day": "2"},
7 | {"label": "Fri", "day": "3"},
8 | {"label": "Sat", "day": "4"},
9 | ];
10 | List months = [
11 | {"label": "2018", "day": "Jan"},
12 | {"label": "2018", "day": "Feb"},
13 | {"label": "2018", "day": "Mar"},
14 | {"label": "2018", "day": "Apr"},
15 | {"label": "2018", "day": "May"},
16 | {"label": "2018", "day": "Jun"},
17 | ];
18 |
--------------------------------------------------------------------------------
/lib/json/budget_json.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/theme/colors.dart';
2 |
3 | const List budget_json = [
4 | {
5 | "name": "Gift",
6 | "price": "\$2250.00",
7 | "label_percentage": "45%",
8 | "percentage": 0.45,
9 | "color": green
10 | },
11 | {
12 | "name": "Automobile",
13 | "price": "\$3000.00",
14 | "label_percentage": "70%",
15 | "percentage": 0.7,
16 | "color": red
17 | },
18 | {
19 | "name": "Bank",
20 | "price": "\$4000.00",
21 | "label_percentage": "90%",
22 | "percentage": 0.9,
23 | "color": blue
24 | }
25 | ];
26 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "budget_tracker_ui",
3 | "short_name": "budget_tracker_ui",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | }
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/lib/json/daily_json.dart:
--------------------------------------------------------------------------------
1 | const List daily = [
2 | {
3 | "icon": "assets/images/bank.png",
4 | "name": "Bank",
5 | "date": "Fri 10AM",
6 | "price": "\$340.00"
7 | },
8 | {
9 | "icon": "assets/images/auto.png",
10 | "name": "Automobile",
11 | "date": "Mon 8AM",
12 | "price": "\$70.00"
13 | },
14 | {
15 | "icon": "assets/images/gift.png",
16 | "name": "Gift",
17 | "date": "Sat 6PM",
18 | "price": "\$110.00"
19 | },
20 | {
21 | "icon": "assets/images/eating.png",
22 | "name": "Eating",
23 | "date": "Sun 5PM",
24 | "price": "\$60.00"
25 | },
26 | {
27 | "icon": "assets/images/charity.png",
28 | "name": "Charity",
29 | "date": "Wed 12PM",
30 | "price": "\$1200.00"
31 | }
32 | ];
33 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Budget Tracker App UI
2 |
3 | - [Support me on Patreon](https://www.patreon.com/sopheamenvan?fan_landing=true)
4 | - [Watch on youtube Part I](https://youtu.be/whDdLQIUnHA)
5 | - [Watch on youtube Part II](https://youtu.be/VGj4ayNAm6Q)
6 |
7 | 
8 |
9 | A new Flutter project.
10 |
11 | ## Getting Started
12 |
13 | This project is a starting point for a Flutter application.
14 |
15 | A few resources to get you started if this is your first Flutter project:
16 |
17 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
18 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
19 |
20 | For help getting started with Flutter, view our
21 | [online documentation](https://flutter.dev/docs), which offers tutorials,
22 | samples, guidance on mobile development, and a full API reference.
23 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/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:budget_tracker_ui/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | budget_tracker_ui
30 |
31 |
32 |
33 |
36 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/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 | budget_tracker_ui
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 |
--------------------------------------------------------------------------------
/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 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | defaultConfig {
36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 | applicationId "com.example.budget_tracker_ui"
38 | minSdkVersion 16
39 | targetSdkVersion 30
40 | versionCode flutterVersionCode.toInteger()
41 | versionName flutterVersionName
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
59 | }
60 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
13 |
17 |
21 |
26 |
30 |
31 |
32 |
33 |
34 |
35 |
37 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/lib/widget/chart.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/theme/colors.dart';
2 | import 'package:fl_chart/fl_chart.dart';
3 | import 'package:flutter/material.dart';
4 |
5 | List gradientColors = [primary];
6 |
7 | LineChartData mainData() {
8 | return LineChartData(
9 | gridData: FlGridData(
10 | show: true,
11 | drawHorizontalLine: true,
12 | getDrawingHorizontalLine: (value) {
13 | return FlLine(
14 | color: const Color(0xff37434d),
15 | strokeWidth: 0.1,
16 | );
17 | }),
18 | titlesData: FlTitlesData(
19 | show: true,
20 | bottomTitles: SideTitles(
21 | showTitles: true,
22 | reservedSize: 22,
23 | getTextStyles: (value) =>
24 | const TextStyle(color: Color(0xff68737d), fontSize: 12),
25 | getTitles: (value) {
26 | switch (value.toInt()) {
27 | case 2:
28 | return '1';
29 | case 5:
30 | return '11';
31 | case 8:
32 | return '21';
33 | }
34 | return '';
35 | },
36 | margin: 8,
37 | ),
38 | leftTitles: SideTitles(
39 | showTitles: true,
40 | getTextStyles: (value) => const TextStyle(
41 | color: Color(0xff67727d),
42 | fontSize: 12,
43 | ),
44 | getTitles: (value) {
45 | switch (value.toInt()) {
46 | case 1:
47 | return '10k';
48 | case 3:
49 | return '50k';
50 | case 5:
51 | return '100k';
52 | }
53 | return '';
54 | },
55 | reservedSize: 28,
56 | margin: 12,
57 | ),
58 | ),
59 | borderData: FlBorderData(
60 | show: false,
61 | ),
62 | minX: 0,
63 | maxX: 11,
64 | minY: 0,
65 | maxY: 6,
66 | lineBarsData: [
67 | LineChartBarData(
68 | spots: [
69 | FlSpot(0, 3),
70 | FlSpot(2.6, 2),
71 | FlSpot(4.9, 5),
72 | FlSpot(6.8, 3.1),
73 | FlSpot(8, 4),
74 | FlSpot(9.5, 3),
75 | FlSpot(11, 4),
76 | ],
77 | isCurved: true,
78 | colors: gradientColors,
79 | barWidth: 3,
80 | isStrokeCapRound: true,
81 | dotData: FlDotData(
82 | show: false,
83 | ),
84 | ),
85 | ],
86 | );
87 | }
88 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/lib/pages/root_app.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/pages/budget_page.dart';
2 | import 'package:budget_tracker_ui/pages/create_budge_page.dart';
3 | import 'package:budget_tracker_ui/pages/daily_page.dart';
4 | import 'package:budget_tracker_ui/pages/profile_page.dart';
5 | import 'package:budget_tracker_ui/pages/stats_page.dart';
6 | import 'package:budget_tracker_ui/theme/colors.dart';
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_icons/flutter_icons.dart';
9 | import 'package:animated_bottom_navigation_bar/animated_bottom_navigation_bar.dart';
10 |
11 | class RootApp extends StatefulWidget {
12 | @override
13 | _RootAppState createState() => _RootAppState();
14 | }
15 |
16 | class _RootAppState extends State {
17 | int pageIndex = 0;
18 | List pages = [
19 | DailyPage(),
20 | StatsPage(),
21 | BudgetPage(),
22 | ProfilePage(),
23 | CreatBudgetPage()
24 | ];
25 |
26 | @override
27 | void initState() {
28 | // TODO: implement initState
29 | super.initState();
30 | }
31 |
32 | @override
33 | void dispose() {
34 | super.dispose();
35 | }
36 |
37 | @override
38 | Widget build(BuildContext context) {
39 | return Scaffold(
40 | body: getBody(),
41 | bottomNavigationBar: getFooter(),
42 | floatingActionButton: FloatingActionButton(
43 | onPressed: () {
44 | selectedTab(4);
45 | },
46 | child: Icon(
47 | Icons.add,
48 | size: 25,
49 | ),
50 | backgroundColor: Colors.pink
51 | //params
52 | ),
53 | floatingActionButtonLocation:
54 | FloatingActionButtonLocation.centerDocked);
55 | }
56 |
57 | Widget getBody() {
58 | return IndexedStack(
59 | index: pageIndex,
60 | children: pages,
61 | );
62 | }
63 |
64 | Widget getFooter() {
65 | List iconItems = [
66 | Ionicons.md_calendar,
67 | Ionicons.md_stats,
68 | Ionicons.md_wallet,
69 | Ionicons.ios_person,
70 | ];
71 |
72 | return AnimatedBottomNavigationBar(
73 | activeColor: primary,
74 | splashColor: secondary,
75 | inactiveColor: Colors.black.withOpacity(0.5),
76 | icons: iconItems,
77 | activeIndex: pageIndex,
78 | gapLocation: GapLocation.center,
79 | notchSmoothness: NotchSmoothness.softEdge,
80 | leftCornerRadius: 10,
81 | iconSize: 25,
82 | rightCornerRadius: 10,
83 | onTap: (index) {
84 | selectedTab(index);
85 | },
86 | //other params
87 | );
88 | }
89 |
90 | selectedTab(index) {
91 | setState(() {
92 | pageIndex = index;
93 | });
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: budget_tracker_ui
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: "none" # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.7.0 <3.0.0"
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 |
27 | # The following adds the Cupertino Icons font to your application.
28 | # Use with the CupertinoIcons class for iOS style icons.
29 | cupertino_icons: ^1.0.1
30 | flutter_icons: ^1.1.0
31 | page_transition: ^1.1.7+6
32 | animated_bottom_navigation_bar: ^0.2.1
33 | fl_chart: ^0.12.2
34 | percent_indicator: "^2.1.7+2"
35 |
36 | dev_dependencies:
37 | flutter_test:
38 | sdk: flutter
39 |
40 | # For information on the generic Dart part of this file, see the
41 | # following page: https://dart.dev/tools/pub/pubspec
42 |
43 | # The following section is specific to Flutter.
44 | flutter:
45 | # The following line ensures that the Material Icons font is
46 | # included with your application, so that you can use the icons in
47 | # the material Icons class.
48 | uses-material-design: true
49 | # To add assets to your application, add an assets section, like this:
50 | assets:
51 | - assets/images/
52 | # - images/a_dot_ham.jpeg
53 | # An image asset can refer to one or more resolution-specific "variants", see
54 | # https://flutter.dev/assets-and-images/#resolution-aware.
55 | # For details regarding adding assets from package dependencies, see
56 | # https://flutter.dev/assets-and-images/#from-packages
57 | # To add custom fonts to your application, add a fonts section here,
58 | # in this "flutter" section. Each entry in this list should have a
59 | # "family" key with the font family name, and a "fonts" key with a
60 | # list giving the asset and other descriptors for the font. For
61 | # example:
62 | # fonts:
63 | # - family: Schyler
64 | # fonts:
65 | # - asset: fonts/Schyler-Regular.ttf
66 | # - asset: fonts/Schyler-Italic.ttf
67 | # style: italic
68 | # - family: Trajan Pro
69 | # fonts:
70 | # - asset: fonts/TrajanPro.ttf
71 | # - asset: fonts/TrajanPro_Bold.ttf
72 | # weight: 700
73 | #
74 | # For details regarding fonts from package dependencies,
75 | # see https://flutter.dev/custom-fonts/#from-packages
76 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | animated_bottom_navigation_bar:
5 | dependency: "direct main"
6 | description:
7 | name: animated_bottom_navigation_bar
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "0.2.1"
11 | async:
12 | dependency: transitive
13 | description:
14 | name: async
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.5.0-nullsafety.3"
18 | boolean_selector:
19 | dependency: transitive
20 | description:
21 | name: boolean_selector
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.1.0-nullsafety.3"
25 | characters:
26 | dependency: transitive
27 | description:
28 | name: characters
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.1.0-nullsafety.5"
32 | charcode:
33 | dependency: transitive
34 | description:
35 | name: charcode
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.2.0-nullsafety.3"
39 | clock:
40 | dependency: transitive
41 | description:
42 | name: clock
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.1.0-nullsafety.3"
46 | collection:
47 | dependency: transitive
48 | description:
49 | name: collection
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "1.15.0-nullsafety.5"
53 | cupertino_icons:
54 | dependency: "direct main"
55 | description:
56 | name: cupertino_icons
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.0.2"
60 | equatable:
61 | dependency: transitive
62 | description:
63 | name: equatable
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "1.2.5"
67 | fake_async:
68 | dependency: transitive
69 | description:
70 | name: fake_async
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "1.2.0-nullsafety.3"
74 | fl_chart:
75 | dependency: "direct main"
76 | description:
77 | name: fl_chart
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "0.12.2"
81 | flutter:
82 | dependency: "direct main"
83 | description: flutter
84 | source: sdk
85 | version: "0.0.0"
86 | flutter_icons:
87 | dependency: "direct main"
88 | description:
89 | name: flutter_icons
90 | url: "https://pub.dartlang.org"
91 | source: hosted
92 | version: "1.1.0"
93 | flutter_test:
94 | dependency: "direct dev"
95 | description: flutter
96 | source: sdk
97 | version: "0.0.0"
98 | matcher:
99 | dependency: transitive
100 | description:
101 | name: matcher
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "0.12.10-nullsafety.3"
105 | meta:
106 | dependency: transitive
107 | description:
108 | name: meta
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "1.3.0-nullsafety.6"
112 | page_transition:
113 | dependency: "direct main"
114 | description:
115 | name: page_transition
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "1.1.7+6"
119 | path:
120 | dependency: transitive
121 | description:
122 | name: path
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "1.8.0-nullsafety.3"
126 | path_drawing:
127 | dependency: transitive
128 | description:
129 | name: path_drawing
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "0.4.1+1"
133 | path_parsing:
134 | dependency: transitive
135 | description:
136 | name: path_parsing
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "0.1.4"
140 | percent_indicator:
141 | dependency: "direct main"
142 | description:
143 | name: percent_indicator
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "2.1.9"
147 | sky_engine:
148 | dependency: transitive
149 | description: flutter
150 | source: sdk
151 | version: "0.0.99"
152 | source_span:
153 | dependency: transitive
154 | description:
155 | name: source_span
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "1.8.0-nullsafety.4"
159 | stack_trace:
160 | dependency: transitive
161 | description:
162 | name: stack_trace
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "1.10.0-nullsafety.6"
166 | stream_channel:
167 | dependency: transitive
168 | description:
169 | name: stream_channel
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "2.1.0-nullsafety.3"
173 | string_scanner:
174 | dependency: transitive
175 | description:
176 | name: string_scanner
177 | url: "https://pub.dartlang.org"
178 | source: hosted
179 | version: "1.1.0-nullsafety.3"
180 | term_glyph:
181 | dependency: transitive
182 | description:
183 | name: term_glyph
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "1.2.0-nullsafety.3"
187 | test_api:
188 | dependency: transitive
189 | description:
190 | name: test_api
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "0.2.19-nullsafety.6"
194 | typed_data:
195 | dependency: transitive
196 | description:
197 | name: typed_data
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "1.3.0-nullsafety.5"
201 | vector_math:
202 | dependency: transitive
203 | description:
204 | name: vector_math
205 | url: "https://pub.dartlang.org"
206 | source: hosted
207 | version: "2.1.0-nullsafety.5"
208 | sdks:
209 | dart: ">=2.12.0-0.0 <3.0.0"
210 | flutter: ">=0.3.6 <2.0.0"
211 |
--------------------------------------------------------------------------------
/lib/pages/create_budge_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/json/create_budget_json.dart';
2 | import 'package:budget_tracker_ui/theme/colors.dart';
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_icons/flutter_icons.dart';
5 |
6 | class CreatBudgetPage extends StatefulWidget {
7 | @override
8 | _CreatBudgetPageState createState() => _CreatBudgetPageState();
9 | }
10 |
11 | class _CreatBudgetPageState extends State {
12 | int activeCategory = 0;
13 | TextEditingController _budgetName =
14 | TextEditingController(text: "Grocery Budget");
15 | TextEditingController _budgetPrice = TextEditingController(text: "\$1500.00");
16 | @override
17 | Widget build(BuildContext context) {
18 | return Scaffold(
19 | backgroundColor: grey.withOpacity(0.05),
20 | body: getBody(),
21 | );
22 | }
23 |
24 | Widget getBody() {
25 | var size = MediaQuery.of(context).size;
26 | return SingleChildScrollView(
27 | child: Column(
28 | crossAxisAlignment: CrossAxisAlignment.start,
29 | children: [
30 | Container(
31 | decoration: BoxDecoration(color: white, boxShadow: [
32 | BoxShadow(
33 | color: grey.withOpacity(0.01),
34 | spreadRadius: 10,
35 | blurRadius: 3,
36 | // changes position of shadow
37 | ),
38 | ]),
39 | child: Padding(
40 | padding: const EdgeInsets.only(
41 | top: 60, right: 20, left: 20, bottom: 25),
42 | child: Column(
43 | children: [
44 | Row(
45 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
46 | children: [
47 | Text(
48 | "Create budget",
49 | style: TextStyle(
50 | fontSize: 20,
51 | fontWeight: FontWeight.bold,
52 | color: black),
53 | ),
54 | Row(
55 | children: [Icon(AntDesign.search1)],
56 | )
57 | ],
58 | ),
59 | ],
60 | ),
61 | ),
62 | ),
63 | Padding(
64 | padding: const EdgeInsets.only(left: 20, right: 20, top: 30),
65 | child: Text(
66 | "Choose category",
67 | style: TextStyle(
68 | fontSize: 16,
69 | fontWeight: FontWeight.bold,
70 | color: black.withOpacity(0.5)),
71 | ),
72 | ),
73 | SizedBox(
74 | height: 20,
75 | ),
76 | SingleChildScrollView(
77 | scrollDirection: Axis.horizontal,
78 | child: Row(
79 | children: List.generate(categories.length, (index) {
80 | return GestureDetector(
81 | onTap: () {
82 | setState(() {
83 | activeCategory = index;
84 | });
85 | },
86 | child: Padding(
87 | padding: const EdgeInsets.only(
88 | left: 10,
89 | ),
90 | child: Container(
91 | margin: EdgeInsets.only(
92 | left: 10,
93 | ),
94 | width: 150,
95 | height: 170,
96 | decoration: BoxDecoration(
97 | color: white,
98 | border: Border.all(
99 | width: 2,
100 | color: activeCategory == index
101 | ? primary
102 | : Colors.transparent),
103 | borderRadius: BorderRadius.circular(12),
104 | boxShadow: [
105 | BoxShadow(
106 | color: grey.withOpacity(0.01),
107 | spreadRadius: 10,
108 | blurRadius: 3,
109 | // changes position of shadow
110 | ),
111 | ]),
112 | child: Padding(
113 | padding: const EdgeInsets.only(
114 | left: 25, right: 25, top: 20, bottom: 20),
115 | child: Column(
116 | crossAxisAlignment: CrossAxisAlignment.start,
117 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
118 | children: [
119 | Container(
120 | width: 40,
121 | height: 40,
122 | decoration: BoxDecoration(
123 | shape: BoxShape.circle,
124 | color: grey.withOpacity(0.15)),
125 | child: Center(
126 | child: Image.asset(
127 | categories[index]['icon'],
128 | width: 30,
129 | height: 30,
130 | fit: BoxFit.contain,
131 | ),
132 | )),
133 | Text(
134 | categories[index]['name'],
135 | style: TextStyle(
136 | fontWeight: FontWeight.bold,
137 | fontSize: 20,
138 | ),
139 | )
140 | ],
141 | ),
142 | ),
143 | ),
144 | ),
145 | );
146 | })),
147 | ),
148 | SizedBox(
149 | height: 50,
150 | ),
151 | Padding(
152 | padding: const EdgeInsets.only(left: 20, right: 20),
153 | child: Column(
154 | crossAxisAlignment: CrossAxisAlignment.start,
155 | children: [
156 | Text(
157 | "budget name",
158 | style: TextStyle(
159 | fontWeight: FontWeight.w500,
160 | fontSize: 13,
161 | color: Color(0xff67727d)),
162 | ),
163 | TextField(
164 | controller: _budgetName,
165 | cursorColor: black,
166 | style: TextStyle(
167 | fontSize: 17, fontWeight: FontWeight.bold, color: black),
168 | decoration: InputDecoration(
169 | hintText: "Enter Budget Name", border: InputBorder.none),
170 | ),
171 | SizedBox(
172 | height: 20,
173 | ),
174 | Row(
175 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
176 | children: [
177 | Container(
178 | width: (size.width - 140),
179 | child: Column(
180 | crossAxisAlignment: CrossAxisAlignment.start,
181 | children: [
182 | Text(
183 | "Enter budget",
184 | style: TextStyle(
185 | fontWeight: FontWeight.w500,
186 | fontSize: 13,
187 | color: Color(0xff67727d)),
188 | ),
189 | TextField(
190 | controller: _budgetPrice,
191 | cursorColor: black,
192 | style: TextStyle(
193 | fontSize: 17,
194 | fontWeight: FontWeight.bold,
195 | color: black),
196 | decoration: InputDecoration(
197 | hintText: "Enter Budget",
198 | border: InputBorder.none),
199 | ),
200 | ],
201 | ),
202 | ),
203 | SizedBox(
204 | width: 20,
205 | ),
206 | Container(
207 | width: 50,
208 | height: 50,
209 | decoration: BoxDecoration(
210 | color: primary,
211 | borderRadius: BorderRadius.circular(15)),
212 | child: Icon(
213 | Icons.arrow_forward,
214 | color: white,
215 | ),
216 | ),
217 | ],
218 | )
219 | ],
220 | ),
221 | )
222 | ],
223 | ),
224 | );
225 | }
226 | }
227 |
--------------------------------------------------------------------------------
/lib/pages/daily_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/json/daily_json.dart';
2 | import 'package:budget_tracker_ui/json/day_month.dart';
3 | import 'package:budget_tracker_ui/theme/colors.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter_icons/flutter_icons.dart';
6 |
7 | class DailyPage extends StatefulWidget {
8 | @override
9 | _DailyPageState createState() => _DailyPageState();
10 | }
11 |
12 | class _DailyPageState extends State {
13 | int activeDay = 3;
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | backgroundColor: grey.withOpacity(0.05),
18 | body: getBody(),
19 | );
20 | }
21 |
22 | Widget getBody() {
23 | var size = MediaQuery.of(context).size;
24 | return SingleChildScrollView(
25 | child: Column(
26 | children: [
27 | Container(
28 | decoration: BoxDecoration(color: white, boxShadow: [
29 | BoxShadow(
30 | color: grey.withOpacity(0.01),
31 | spreadRadius: 10,
32 | blurRadius: 3,
33 | // changes position of shadow
34 | ),
35 | ]),
36 | child: Padding(
37 | padding: const EdgeInsets.only(
38 | top: 60, right: 20, left: 20, bottom: 25),
39 | child: Column(
40 | children: [
41 | Row(
42 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
43 | children: [
44 | Text(
45 | "Daily Transaction",
46 | style: TextStyle(
47 | fontSize: 20,
48 | fontWeight: FontWeight.bold,
49 | color: black),
50 | ),
51 | Icon(AntDesign.search1)
52 | ],
53 | ),
54 | SizedBox(
55 | height: 25,
56 | ),
57 | Row(
58 | crossAxisAlignment: CrossAxisAlignment.start,
59 | children: List.generate(days.length, (index) {
60 | return GestureDetector(
61 | onTap: () {
62 | setState(() {
63 | activeDay = index;
64 | });
65 | },
66 | child: Container(
67 | width: (MediaQuery.of(context).size.width - 40) / 7,
68 | child: Column(
69 | children: [
70 | Text(
71 | days[index]['label'],
72 | style: TextStyle(fontSize: 10),
73 | ),
74 | SizedBox(
75 | height: 10,
76 | ),
77 | Container(
78 | width: 30,
79 | height: 30,
80 | decoration: BoxDecoration(
81 | color: activeDay == index
82 | ? primary
83 | : Colors.transparent,
84 | shape: BoxShape.circle,
85 | border: Border.all(
86 | color: activeDay == index
87 | ? primary
88 | : black.withOpacity(0.1))),
89 | child: Center(
90 | child: Text(
91 | days[index]['day'],
92 | style: TextStyle(
93 | fontSize: 10,
94 | fontWeight: FontWeight.w600,
95 | color: activeDay == index
96 | ? white
97 | : black),
98 | ),
99 | ),
100 | )
101 | ],
102 | ),
103 | ),
104 | );
105 | }))
106 | ],
107 | ),
108 | ),
109 | ),
110 | SizedBox(
111 | height: 30,
112 | ),
113 | Padding(
114 | padding: const EdgeInsets.only(left: 20, right: 20),
115 | child: Column(
116 | children: List.generate(daily.length, (index) {
117 | return Column(
118 | children: [
119 | Row(
120 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
121 | children: [
122 | Container(
123 | width: (size.width - 40) * 0.7,
124 | child: Row(
125 | children: [
126 | Container(
127 | width: 50,
128 | height: 50,
129 | decoration: BoxDecoration(
130 | shape: BoxShape.circle,
131 | color: grey.withOpacity(0.1),
132 | ),
133 | child: Center(
134 | child: Image.asset(
135 | daily[index]['icon'],
136 | width: 30,
137 | height: 30,
138 | ),
139 | ),
140 | ),
141 | SizedBox(width: 15),
142 | Container(
143 | width: (size.width - 90) * 0.5,
144 | child: Column(
145 | mainAxisAlignment: MainAxisAlignment.center,
146 | crossAxisAlignment: CrossAxisAlignment.start,
147 | children: [
148 | Text(
149 | daily[index]['name'],
150 | style: TextStyle(
151 | fontSize: 15,
152 | color: black,
153 | fontWeight: FontWeight.w500),
154 | overflow: TextOverflow.ellipsis,
155 | ),
156 | SizedBox(height: 5),
157 | Text(
158 | daily[index]['date'],
159 | style: TextStyle(
160 | fontSize: 12,
161 | color: black.withOpacity(0.5),
162 | fontWeight: FontWeight.w400),
163 | overflow: TextOverflow.ellipsis,
164 | ),
165 | ],
166 | ),
167 | )
168 | ],
169 | ),
170 | ),
171 | Container(
172 | width: (size.width - 40) * 0.3,
173 | child: Row(
174 | mainAxisAlignment: MainAxisAlignment.end,
175 | children: [
176 | Text(
177 | daily[index]['price'],
178 | style: TextStyle(
179 | fontWeight: FontWeight.w600,
180 | fontSize: 15,
181 | color: Colors.green),
182 | ),
183 | ],
184 | ),
185 | )
186 | ],
187 | ),
188 | Padding(
189 | padding: const EdgeInsets.only(left: 65, top: 8),
190 | child: Divider(
191 | thickness: 0.8,
192 | ),
193 | )
194 | ],
195 | );
196 | })),
197 | ),
198 | SizedBox(
199 | height: 15,
200 | ),
201 | Padding(
202 | padding: const EdgeInsets.only(left: 20, right: 20),
203 | child: Row(
204 | children: [
205 | Spacer(),
206 | Padding(
207 | padding: const EdgeInsets.only(right: 80),
208 | child: Text(
209 | "Total",
210 | style: TextStyle(
211 | fontSize: 16,
212 | color: black.withOpacity(0.4),
213 | fontWeight: FontWeight.w600),
214 | overflow: TextOverflow.ellipsis,
215 | ),
216 | ),
217 | Spacer(),
218 | Padding(
219 | padding: const EdgeInsets.only(top: 5),
220 | child: Text(
221 | "\$1780.00",
222 | style: TextStyle(
223 | fontSize: 20,
224 | color: black,
225 | fontWeight: FontWeight.bold),
226 | overflow: TextOverflow.ellipsis,
227 | ),
228 | ),
229 | ],
230 | ),
231 | )
232 | ],
233 | ),
234 | );
235 | }
236 | }
237 |
--------------------------------------------------------------------------------
/lib/pages/budget_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/json/budget_json.dart';
2 | import 'package:budget_tracker_ui/json/day_month.dart';
3 | import 'package:budget_tracker_ui/theme/colors.dart';
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter_icons/flutter_icons.dart';
6 |
7 | class BudgetPage extends StatefulWidget {
8 | @override
9 | _BudgetPageState createState() => _BudgetPageState();
10 | }
11 |
12 | class _BudgetPageState extends State {
13 | int activeDay = 3;
14 | @override
15 | Widget build(BuildContext context) {
16 | return Scaffold(
17 | backgroundColor: grey.withOpacity(0.05),
18 | body: getBody(),
19 | );
20 | }
21 |
22 | Widget getBody() {
23 | var size = MediaQuery.of(context).size;
24 |
25 | return SingleChildScrollView(
26 | child: Column(
27 | children: [
28 | Container(
29 | decoration: BoxDecoration(color: white, boxShadow: [
30 | BoxShadow(
31 | color: grey.withOpacity(0.01),
32 | spreadRadius: 10,
33 | blurRadius: 3,
34 | // changes position of shadow
35 | ),
36 | ]),
37 | child: Padding(
38 | padding: const EdgeInsets.only(
39 | top: 60, right: 20, left: 20, bottom: 25),
40 | child: Column(
41 | children: [
42 | Row(
43 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
44 | children: [
45 | Text(
46 | "Budget",
47 | style: TextStyle(
48 | fontSize: 20,
49 | fontWeight: FontWeight.bold,
50 | color: black),
51 | ),
52 | Row(
53 | children: [
54 | Icon(
55 | Icons.add,
56 | size: 25,
57 | ),
58 | SizedBox(
59 | width: 20,
60 | ),
61 | Icon(AntDesign.search1)
62 | ],
63 | )
64 | ],
65 | ),
66 | SizedBox(
67 | height: 25,
68 | ),
69 | Row(
70 | crossAxisAlignment: CrossAxisAlignment.start,
71 | children: List.generate(months.length, (index) {
72 | return GestureDetector(
73 | onTap: () {
74 | setState(() {
75 | activeDay = index;
76 | });
77 | },
78 | child: Container(
79 | width: (MediaQuery.of(context).size.width - 40) / 6,
80 | child: Column(
81 | children: [
82 | Text(
83 | months[index]['label'],
84 | style: TextStyle(fontSize: 10),
85 | ),
86 | SizedBox(
87 | height: 10,
88 | ),
89 | Container(
90 | decoration: BoxDecoration(
91 | color: activeDay == index
92 | ? primary
93 | : black.withOpacity(0.02),
94 | borderRadius: BorderRadius.circular(5),
95 | border: Border.all(
96 | color: activeDay == index
97 | ? primary
98 | : black.withOpacity(0.1))),
99 | child: Padding(
100 | padding: const EdgeInsets.only(
101 | left: 12, right: 12, top: 7, bottom: 7),
102 | child: Text(
103 | months[index]['day'],
104 | style: TextStyle(
105 | fontSize: 10,
106 | fontWeight: FontWeight.w600,
107 | color: activeDay == index
108 | ? white
109 | : black),
110 | ),
111 | ),
112 | )
113 | ],
114 | ),
115 | ),
116 | );
117 | }))
118 | ],
119 | ),
120 | ),
121 | ),
122 | SizedBox(
123 | height: 20,
124 | ),
125 | Padding(
126 | padding: const EdgeInsets.only(left: 20, right: 20),
127 | child: Column(
128 | children: List.generate(budget_json.length, (index) {
129 | return Padding(
130 | padding: const EdgeInsets.only(bottom: 20),
131 | child: Container(
132 | width: double.infinity,
133 | decoration: BoxDecoration(
134 | color: white,
135 | borderRadius: BorderRadius.circular(12),
136 | boxShadow: [
137 | BoxShadow(
138 | color: grey.withOpacity(0.01),
139 | spreadRadius: 10,
140 | blurRadius: 3,
141 | // changes position of shadow
142 | ),
143 | ]),
144 | child: Padding(
145 | padding: EdgeInsets.only(
146 | left: 25, right: 25, bottom: 25, top: 25),
147 | child: Column(
148 | crossAxisAlignment: CrossAxisAlignment.start,
149 | children: [
150 | Text(
151 | budget_json[index]['name'],
152 | style: TextStyle(
153 | fontWeight: FontWeight.w500,
154 | fontSize: 13,
155 | color: Color(0xff67727d).withOpacity(0.6)),
156 | ),
157 | SizedBox(
158 | height: 10,
159 | ),
160 | Row(
161 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
162 | children: [
163 | Row(
164 | children: [
165 | Text(
166 | budget_json[index]['price'],
167 | style: TextStyle(
168 | fontWeight: FontWeight.bold,
169 | fontSize: 20,
170 | ),
171 | ),
172 | SizedBox(
173 | width: 8,
174 | ),
175 | Padding(
176 | padding: const EdgeInsets.only(top: 3),
177 | child: Text(
178 | budget_json[index]['label_percentage'],
179 | style: TextStyle(
180 | fontWeight: FontWeight.w500,
181 | fontSize: 13,
182 | color:
183 | Color(0xff67727d).withOpacity(0.6)),
184 | ),
185 | ),
186 | ],
187 | ),
188 | Padding(
189 | padding: const EdgeInsets.only(top: 3),
190 | child: Text(
191 | "\$5000.00",
192 | style: TextStyle(
193 | fontWeight: FontWeight.w500,
194 | fontSize: 13,
195 | color: Color(0xff67727d).withOpacity(0.6)),
196 | ),
197 | ),
198 | ],
199 | ),
200 | SizedBox(
201 | height: 15,
202 | ),
203 | Stack(
204 | children: [
205 | Container(
206 | width: (size.width - 40),
207 | height: 4,
208 | decoration: BoxDecoration(
209 | borderRadius: BorderRadius.circular(5),
210 | color: Color(0xff67727d).withOpacity(0.1)),
211 | ),
212 | Container(
213 | width: (size.width - 40) *
214 | budget_json[index]['percentage'],
215 | height: 4,
216 | decoration: BoxDecoration(
217 | borderRadius: BorderRadius.circular(5),
218 | color: budget_json[index]['color']),
219 | ),
220 | ],
221 | )
222 | ],
223 | ),
224 | ),
225 | ),
226 | );
227 | })),
228 | )
229 | ],
230 | ),
231 | );
232 | }
233 | }
234 |
--------------------------------------------------------------------------------
/lib/pages/stats_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/json/day_month.dart';
2 | import 'package:budget_tracker_ui/theme/colors.dart';
3 | import 'package:budget_tracker_ui/widget/chart.dart';
4 | import 'package:flutter/gestures.dart';
5 | import 'package:flutter/material.dart';
6 | import 'package:flutter_icons/flutter_icons.dart';
7 | import 'package:fl_chart/fl_chart.dart';
8 |
9 | class StatsPage extends StatefulWidget {
10 | @override
11 | _StatsPageState createState() => _StatsPageState();
12 | }
13 |
14 | class _StatsPageState extends State {
15 | int activeDay = 3;
16 |
17 | bool showAvg = false;
18 | @override
19 | Widget build(BuildContext context) {
20 | return Scaffold(
21 | backgroundColor: grey.withOpacity(0.05),
22 | body: getBody(),
23 | );
24 | }
25 |
26 | Widget getBody() {
27 | var size = MediaQuery.of(context).size;
28 |
29 | List expenses = [
30 | {
31 | "icon": Icons.arrow_back,
32 | "color": blue,
33 | "label": "Income",
34 | "cost": "\$6593.75"
35 | },
36 | {
37 | "icon": Icons.arrow_forward,
38 | "color": red,
39 | "label": "Expense",
40 | "cost": "\$2645.50"
41 | }
42 | ];
43 | return SingleChildScrollView(
44 | child: Column(
45 | children: [
46 | Container(
47 | decoration: BoxDecoration(color: white, boxShadow: [
48 | BoxShadow(
49 | color: grey.withOpacity(0.01),
50 | spreadRadius: 10,
51 | blurRadius: 3,
52 | // changes position of shadow
53 | ),
54 | ]),
55 | child: Padding(
56 | padding: const EdgeInsets.only(
57 | top: 60, right: 20, left: 20, bottom: 25),
58 | child: Column(
59 | children: [
60 | Row(
61 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
62 | children: [
63 | Text(
64 | "Stats",
65 | style: TextStyle(
66 | fontSize: 20,
67 | fontWeight: FontWeight.bold,
68 | color: black),
69 | ),
70 | Icon(AntDesign.search1)
71 | ],
72 | ),
73 | SizedBox(
74 | height: 25,
75 | ),
76 | Row(
77 | crossAxisAlignment: CrossAxisAlignment.start,
78 | children: List.generate(months.length, (index) {
79 | return GestureDetector(
80 | onTap: () {
81 | setState(() {
82 | activeDay = index;
83 | });
84 | },
85 | child: Container(
86 | width: (MediaQuery.of(context).size.width - 40) / 6,
87 | child: Column(
88 | children: [
89 | Text(
90 | months[index]['label'],
91 | style: TextStyle(fontSize: 10),
92 | ),
93 | SizedBox(
94 | height: 10,
95 | ),
96 | Container(
97 | decoration: BoxDecoration(
98 | color: activeDay == index
99 | ? primary
100 | : black.withOpacity(0.02),
101 | borderRadius: BorderRadius.circular(5),
102 | border: Border.all(
103 | color: activeDay == index
104 | ? primary
105 | : black.withOpacity(0.1))),
106 | child: Padding(
107 | padding: const EdgeInsets.only(
108 | left: 12, right: 12, top: 7, bottom: 7),
109 | child: Text(
110 | months[index]['day'],
111 | style: TextStyle(
112 | fontSize: 10,
113 | fontWeight: FontWeight.w600,
114 | color: activeDay == index
115 | ? white
116 | : black),
117 | ),
118 | ),
119 | )
120 | ],
121 | ),
122 | ),
123 | );
124 | }))
125 | ],
126 | ),
127 | ),
128 | ),
129 | SizedBox(
130 | height: 20,
131 | ),
132 | Padding(
133 | padding: const EdgeInsets.only(left: 20, right: 20),
134 | child: Container(
135 | width: double.infinity,
136 | height: 250,
137 | decoration: BoxDecoration(
138 | color: white,
139 | borderRadius: BorderRadius.circular(12),
140 | boxShadow: [
141 | BoxShadow(
142 | color: grey.withOpacity(0.01),
143 | spreadRadius: 10,
144 | blurRadius: 3,
145 | // changes position of shadow
146 | ),
147 | ]),
148 | child: Padding(
149 | padding: EdgeInsets.all(10),
150 | child: Stack(
151 | children: [
152 | Padding(
153 | padding: const EdgeInsets.only(
154 | top: 10,
155 | ),
156 | child: Column(
157 | crossAxisAlignment: CrossAxisAlignment.start,
158 | children: [
159 | Text(
160 | "Net balance",
161 | style: TextStyle(
162 | fontWeight: FontWeight.w500,
163 | fontSize: 13,
164 | color: Color(0xff67727d)),
165 | ),
166 | SizedBox(
167 | height: 10,
168 | ),
169 | Text(
170 | "\$2446.90",
171 | style: TextStyle(
172 | fontWeight: FontWeight.bold,
173 | fontSize: 25,
174 | ),
175 | )
176 | ],
177 | ),
178 | ),
179 | Positioned(
180 | bottom: 0,
181 | child: Container(
182 | width: (size.width - 20),
183 | height: 150,
184 | child: LineChart(
185 | mainData(),
186 | ),
187 | ),
188 | )
189 | ],
190 | ),
191 | ),
192 | ),
193 | ),
194 | SizedBox(
195 | height: 20,
196 | ),
197 | Wrap(
198 | spacing: 20,
199 | children: List.generate(expenses.length, (index) {
200 | return Container(
201 | width: (size.width - 60) / 2,
202 | height: 170,
203 | decoration: BoxDecoration(
204 | color: white,
205 | borderRadius: BorderRadius.circular(12),
206 | boxShadow: [
207 | BoxShadow(
208 | color: grey.withOpacity(0.01),
209 | spreadRadius: 10,
210 | blurRadius: 3,
211 | // changes position of shadow
212 | ),
213 | ]),
214 | child: Padding(
215 | padding: const EdgeInsets.only(
216 | left: 25, right: 25, top: 20, bottom: 20),
217 | child: Column(
218 | crossAxisAlignment: CrossAxisAlignment.start,
219 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
220 | children: [
221 | Container(
222 | width: 40,
223 | height: 40,
224 | decoration: BoxDecoration(
225 | shape: BoxShape.circle,
226 | color: expenses[index]['color']),
227 | child: Center(
228 | child: Icon(
229 | expenses[index]['icon'],
230 | color: white,
231 | )),
232 | ),
233 | Column(
234 | crossAxisAlignment: CrossAxisAlignment.start,
235 | children: [
236 | Text(
237 | expenses[index]['label'],
238 | style: TextStyle(
239 | fontWeight: FontWeight.w500,
240 | fontSize: 13,
241 | color: Color(0xff67727d)),
242 | ),
243 | SizedBox(
244 | height: 8,
245 | ),
246 | Text(
247 | expenses[index]['cost'],
248 | style: TextStyle(
249 | fontWeight: FontWeight.bold,
250 | fontSize: 20,
251 | ),
252 | )
253 | ],
254 | )
255 | ],
256 | ),
257 | ),
258 | );
259 | }))
260 | ],
261 | ),
262 | );
263 | }
264 | }
265 |
--------------------------------------------------------------------------------
/lib/pages/profile_page.dart:
--------------------------------------------------------------------------------
1 | import 'package:budget_tracker_ui/theme/colors.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_icons/flutter_icons.dart';
4 | import 'package:percent_indicator/circular_percent_indicator.dart';
5 |
6 | class ProfilePage extends StatefulWidget {
7 | @override
8 | _ProfilePageState createState() => _ProfilePageState();
9 | }
10 |
11 | class _ProfilePageState extends State {
12 | TextEditingController _email =
13 | TextEditingController(text: "abbie_wilson@gmail.com");
14 | TextEditingController dateOfBirth = TextEditingController(text: "04-19-1992");
15 | TextEditingController password = TextEditingController(text: "123456");
16 | @override
17 | Widget build(BuildContext context) {
18 | return Scaffold(
19 | backgroundColor: grey.withOpacity(0.05),
20 | body: getBody(),
21 | );
22 | }
23 |
24 | Widget getBody() {
25 | var size = MediaQuery.of(context).size;
26 | return SingleChildScrollView(
27 | child: Column(
28 | crossAxisAlignment: CrossAxisAlignment.start,
29 | children: [
30 | Container(
31 | decoration: BoxDecoration(color: white, boxShadow: [
32 | BoxShadow(
33 | color: grey.withOpacity(0.01),
34 | spreadRadius: 10,
35 | blurRadius: 3,
36 | // changes position of shadow
37 | ),
38 | ]),
39 | child: Padding(
40 | padding: const EdgeInsets.only(
41 | top: 60, right: 20, left: 20, bottom: 25),
42 | child: Column(
43 | children: [
44 | Row(
45 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
46 | children: [
47 | Text(
48 | "Profile",
49 | style: TextStyle(
50 | fontSize: 20,
51 | fontWeight: FontWeight.bold,
52 | color: black),
53 | ),
54 | Icon(AntDesign.setting)
55 | ],
56 | ),
57 | SizedBox(
58 | height: 25,
59 | ),
60 | Row(
61 | children: [
62 | Container(
63 | width: (size.width - 40) * 0.4,
64 | child: Container(
65 | child: Stack(
66 | children: [
67 | RotatedBox(
68 | quarterTurns: -2,
69 | child: CircularPercentIndicator(
70 | circularStrokeCap: CircularStrokeCap.round,
71 | backgroundColor: grey.withOpacity(0.3),
72 | radius: 110.0,
73 | lineWidth: 6.0,
74 | percent: 0.53,
75 | progressColor: primary),
76 | ),
77 | Positioned(
78 | top: 16,
79 | left: 13,
80 | child: Container(
81 | width: 85,
82 | height: 85,
83 | decoration: BoxDecoration(
84 | shape: BoxShape.circle,
85 | image: DecorationImage(
86 | image: NetworkImage(
87 | "https://images.unsplash.com/photo-1531256456869-ce942a665e80?ixid=MXwxMjA3fDB8MHxzZWFyY2h8MTI4fHxwcm9maWxlfGVufDB8fDB8&ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60"),
88 | fit: BoxFit.cover)),
89 | ),
90 | )
91 | ],
92 | ),
93 | ),
94 | ),
95 | Container(
96 | width: (size.width - 40) * 0.6,
97 | child: Column(
98 | crossAxisAlignment: CrossAxisAlignment.start,
99 | children: [
100 | Text(
101 | "Abbie Wilson",
102 | style: TextStyle(
103 | fontSize: 20,
104 | fontWeight: FontWeight.bold,
105 | color: black),
106 | ),
107 | SizedBox(
108 | height: 10,
109 | ),
110 | Text(
111 | "Credit score: 73.50",
112 | style: TextStyle(
113 | fontSize: 14,
114 | fontWeight: FontWeight.w500,
115 | color: black.withOpacity(0.4)),
116 | ),
117 | ],
118 | ),
119 | )
120 | ],
121 | ),
122 | SizedBox(
123 | height: 25,
124 | ),
125 | Container(
126 | width: double.infinity,
127 | decoration: BoxDecoration(
128 | color: primary,
129 | borderRadius: BorderRadius.circular(12),
130 | boxShadow: [
131 | BoxShadow(
132 | color: primary.withOpacity(0.01),
133 | spreadRadius: 10,
134 | blurRadius: 3,
135 | // changes position of shadow
136 | ),
137 | ]),
138 | child: Padding(
139 | padding: const EdgeInsets.only(
140 | left: 20, right: 20, top: 25, bottom: 25),
141 | child: Row(
142 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
143 | children: [
144 | Column(
145 | crossAxisAlignment: CrossAxisAlignment.start,
146 | children: [
147 | Text(
148 | "United Bank Asia",
149 | style: TextStyle(
150 | fontWeight: FontWeight.w500,
151 | fontSize: 12,
152 | color: white),
153 | ),
154 | SizedBox(
155 | height: 10,
156 | ),
157 | Text(
158 | "\$2446.90",
159 | style: TextStyle(
160 | fontWeight: FontWeight.bold,
161 | fontSize: 20,
162 | color: white),
163 | ),
164 | ],
165 | ),
166 | Container(
167 | decoration: BoxDecoration(
168 | borderRadius: BorderRadius.circular(10),
169 | border: Border.all(color: white)),
170 | child: Padding(
171 | padding: const EdgeInsets.all(13.0),
172 | child: Text(
173 | "Update",
174 | style: TextStyle(color: white),
175 | ),
176 | ),
177 | )
178 | ],
179 | ),
180 | ),
181 | )
182 | ],
183 | ),
184 | ),
185 | ),
186 | SizedBox(
187 | height: 50,
188 | ),
189 | Padding(
190 | padding: const EdgeInsets.only(left: 20, right: 20),
191 | child: Column(
192 | crossAxisAlignment: CrossAxisAlignment.start,
193 | children: [
194 | Text(
195 | "Email",
196 | style: TextStyle(
197 | fontWeight: FontWeight.w500,
198 | fontSize: 13,
199 | color: Color(0xff67727d)),
200 | ),
201 | TextField(
202 | controller: _email,
203 | cursorColor: black,
204 | style: TextStyle(
205 | fontSize: 17, fontWeight: FontWeight.bold, color: black),
206 | decoration: InputDecoration(
207 | hintText: "Email", border: InputBorder.none),
208 | ),
209 | SizedBox(
210 | height: 20,
211 | ),
212 | Text(
213 | "Date of birth",
214 | style: TextStyle(
215 | fontWeight: FontWeight.w500,
216 | fontSize: 13,
217 | color: Color(0xff67727d)),
218 | ),
219 | TextField(
220 | controller: dateOfBirth,
221 | cursorColor: black,
222 | style: TextStyle(
223 | fontSize: 17, fontWeight: FontWeight.bold, color: black),
224 | decoration: InputDecoration(
225 | hintText: "Date of birth", border: InputBorder.none),
226 | ),
227 | SizedBox(
228 | height: 20,
229 | ),
230 | Text(
231 | "Date of birth",
232 | style: TextStyle(
233 | fontWeight: FontWeight.w500,
234 | fontSize: 13,
235 | color: Color(0xff67727d)),
236 | ),
237 | TextField(
238 | obscureText: true,
239 | controller: password,
240 | cursorColor: black,
241 | style: TextStyle(
242 | fontSize: 17, fontWeight: FontWeight.bold, color: black),
243 | decoration: InputDecoration(
244 | hintText: "Password", border: InputBorder.none),
245 | ),
246 | ],
247 | ),
248 | )
249 | ],
250 | ),
251 | );
252 | }
253 | }
254 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
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 | DEVELOPMENT_TEAM = LP846EEF49;
292 | ENABLE_BITCODE = NO;
293 | INFOPLIST_FILE = Runner/Info.plist;
294 | LD_RUNPATH_SEARCH_PATHS = (
295 | "$(inherited)",
296 | "@executable_path/Frameworks",
297 | );
298 | PRODUCT_BUNDLE_IDENTIFIER = com.example.budgetTrackerUi;
299 | PRODUCT_NAME = "$(TARGET_NAME)";
300 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
301 | SWIFT_VERSION = 5.0;
302 | VERSIONING_SYSTEM = "apple-generic";
303 | };
304 | name = Profile;
305 | };
306 | 97C147031CF9000F007C117D /* Debug */ = {
307 | isa = XCBuildConfiguration;
308 | buildSettings = {
309 | ALWAYS_SEARCH_USER_PATHS = NO;
310 | CLANG_ANALYZER_NONNULL = YES;
311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
312 | CLANG_CXX_LIBRARY = "libc++";
313 | CLANG_ENABLE_MODULES = YES;
314 | CLANG_ENABLE_OBJC_ARC = YES;
315 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
316 | CLANG_WARN_BOOL_CONVERSION = YES;
317 | CLANG_WARN_COMMA = YES;
318 | CLANG_WARN_CONSTANT_CONVERSION = YES;
319 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
321 | CLANG_WARN_EMPTY_BODY = YES;
322 | CLANG_WARN_ENUM_CONVERSION = YES;
323 | CLANG_WARN_INFINITE_RECURSION = YES;
324 | CLANG_WARN_INT_CONVERSION = YES;
325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
326 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
327 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
329 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
330 | CLANG_WARN_STRICT_PROTOTYPES = YES;
331 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
332 | CLANG_WARN_UNREACHABLE_CODE = YES;
333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
335 | COPY_PHASE_STRIP = NO;
336 | DEBUG_INFORMATION_FORMAT = dwarf;
337 | ENABLE_STRICT_OBJC_MSGSEND = YES;
338 | ENABLE_TESTABILITY = YES;
339 | GCC_C_LANGUAGE_STANDARD = gnu99;
340 | GCC_DYNAMIC_NO_PIC = NO;
341 | GCC_NO_COMMON_BLOCKS = YES;
342 | GCC_OPTIMIZATION_LEVEL = 0;
343 | GCC_PREPROCESSOR_DEFINITIONS = (
344 | "DEBUG=1",
345 | "$(inherited)",
346 | );
347 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
348 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
349 | GCC_WARN_UNDECLARED_SELECTOR = YES;
350 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
351 | GCC_WARN_UNUSED_FUNCTION = YES;
352 | GCC_WARN_UNUSED_VARIABLE = YES;
353 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
354 | MTL_ENABLE_DEBUG_INFO = YES;
355 | ONLY_ACTIVE_ARCH = YES;
356 | SDKROOT = iphoneos;
357 | TARGETED_DEVICE_FAMILY = "1,2";
358 | };
359 | name = Debug;
360 | };
361 | 97C147041CF9000F007C117D /* Release */ = {
362 | isa = XCBuildConfiguration;
363 | buildSettings = {
364 | ALWAYS_SEARCH_USER_PATHS = NO;
365 | CLANG_ANALYZER_NONNULL = YES;
366 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
367 | CLANG_CXX_LIBRARY = "libc++";
368 | CLANG_ENABLE_MODULES = YES;
369 | CLANG_ENABLE_OBJC_ARC = YES;
370 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
371 | CLANG_WARN_BOOL_CONVERSION = YES;
372 | CLANG_WARN_COMMA = YES;
373 | CLANG_WARN_CONSTANT_CONVERSION = YES;
374 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
375 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
376 | CLANG_WARN_EMPTY_BODY = YES;
377 | CLANG_WARN_ENUM_CONVERSION = YES;
378 | CLANG_WARN_INFINITE_RECURSION = YES;
379 | CLANG_WARN_INT_CONVERSION = YES;
380 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
381 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
382 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
383 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
384 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
385 | CLANG_WARN_STRICT_PROTOTYPES = YES;
386 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
387 | CLANG_WARN_UNREACHABLE_CODE = YES;
388 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
389 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
390 | COPY_PHASE_STRIP = NO;
391 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
392 | ENABLE_NS_ASSERTIONS = NO;
393 | ENABLE_STRICT_OBJC_MSGSEND = YES;
394 | GCC_C_LANGUAGE_STANDARD = gnu99;
395 | GCC_NO_COMMON_BLOCKS = YES;
396 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
397 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
398 | GCC_WARN_UNDECLARED_SELECTOR = YES;
399 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
400 | GCC_WARN_UNUSED_FUNCTION = YES;
401 | GCC_WARN_UNUSED_VARIABLE = YES;
402 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
403 | MTL_ENABLE_DEBUG_INFO = NO;
404 | SDKROOT = iphoneos;
405 | SUPPORTED_PLATFORMS = iphoneos;
406 | SWIFT_COMPILATION_MODE = wholemodule;
407 | SWIFT_OPTIMIZATION_LEVEL = "-O";
408 | TARGETED_DEVICE_FAMILY = "1,2";
409 | VALIDATE_PRODUCT = YES;
410 | };
411 | name = Release;
412 | };
413 | 97C147061CF9000F007C117D /* Debug */ = {
414 | isa = XCBuildConfiguration;
415 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
416 | buildSettings = {
417 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
418 | CLANG_ENABLE_MODULES = YES;
419 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
420 | DEVELOPMENT_TEAM = LP846EEF49;
421 | ENABLE_BITCODE = NO;
422 | INFOPLIST_FILE = Runner/Info.plist;
423 | LD_RUNPATH_SEARCH_PATHS = (
424 | "$(inherited)",
425 | "@executable_path/Frameworks",
426 | );
427 | PRODUCT_BUNDLE_IDENTIFIER = com.example.budgetTrackerUi;
428 | PRODUCT_NAME = "$(TARGET_NAME)";
429 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
430 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
431 | SWIFT_VERSION = 5.0;
432 | VERSIONING_SYSTEM = "apple-generic";
433 | };
434 | name = Debug;
435 | };
436 | 97C147071CF9000F007C117D /* Release */ = {
437 | isa = XCBuildConfiguration;
438 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
439 | buildSettings = {
440 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
441 | CLANG_ENABLE_MODULES = YES;
442 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
443 | DEVELOPMENT_TEAM = LP846EEF49;
444 | ENABLE_BITCODE = NO;
445 | INFOPLIST_FILE = Runner/Info.plist;
446 | LD_RUNPATH_SEARCH_PATHS = (
447 | "$(inherited)",
448 | "@executable_path/Frameworks",
449 | );
450 | PRODUCT_BUNDLE_IDENTIFIER = com.example.budgetTrackerUi;
451 | PRODUCT_NAME = "$(TARGET_NAME)";
452 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
453 | SWIFT_VERSION = 5.0;
454 | VERSIONING_SYSTEM = "apple-generic";
455 | };
456 | name = Release;
457 | };
458 | /* End XCBuildConfiguration section */
459 |
460 | /* Begin XCConfigurationList section */
461 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
462 | isa = XCConfigurationList;
463 | buildConfigurations = (
464 | 97C147031CF9000F007C117D /* Debug */,
465 | 97C147041CF9000F007C117D /* Release */,
466 | 249021D3217E4FDB00AE95B9 /* Profile */,
467 | );
468 | defaultConfigurationIsVisible = 0;
469 | defaultConfigurationName = Release;
470 | };
471 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
472 | isa = XCConfigurationList;
473 | buildConfigurations = (
474 | 97C147061CF9000F007C117D /* Debug */,
475 | 97C147071CF9000F007C117D /* Release */,
476 | 249021D4217E4FDB00AE95B9 /* Profile */,
477 | );
478 | defaultConfigurationIsVisible = 0;
479 | defaultConfigurationName = Release;
480 | };
481 | /* End XCConfigurationList section */
482 | };
483 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
484 | }
485 |
--------------------------------------------------------------------------------