├── .gitignore ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── rally_app_flutter │ │ │ │ └── MainActivity.java │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── ic_arrow_back_24px.png ├── ic_arrow_forward_ios_24px.png ├── ic_attach_money_24px.png ├── ic_bar_chart_24px.png ├── ic_credit_card_24px.png ├── ic_info_outline_24px.png ├── ic_money_off_24px.png ├── ic_not_interested_24px.png ├── ic_pie_chart_24px.png ├── ic_pie_chart_outlined_24px.png ├── ic_search_24px.png ├── ic_settings_24px.png ├── ic_sort_24px.png ├── logo.png └── thumb.png ├── fonts ├── Eczar-Bold.ttf ├── Eczar-ExtraBold.ttf ├── Eczar-Medium.ttf ├── Eczar-Regular.ttf ├── Eczar-SemiBold.ttf ├── RobotoCondensed-Bold.ttf ├── RobotoCondensed-BoldItalic.ttf ├── RobotoCondensed-Italic.ttf ├── RobotoCondensed-Light.ttf ├── RobotoCondensed-LightItalic.ttf └── RobotoCondensed-Regular.ttf ├── ios ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ └── contents.xcworkspacedata └── Runner │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── main.m ├── lib ├── app.dart ├── charts │ ├── rally_line_chart.dart │ ├── rally_pie_chart.dart │ └── vertical_fraction_bar.dart ├── dummy_data │ └── dummy_data.dart ├── financial_entity │ ├── financial_entity.dart │ ├── financial_entity_card.dart │ ├── financial_entity_details.dart │ └── financial_entity_view.dart ├── main.dart ├── pages │ ├── home_page.dart │ ├── login_page.dart │ └── subpages │ │ ├── accounts.dart │ │ ├── bills.dart │ │ ├── budgets.dart │ │ ├── details.dart │ │ ├── overview.dart │ │ └── settings.dart └── util │ ├── colors.dart │ ├── constants.dart │ └── formatters.dart ├── pubspec.lock └── pubspec.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # Visual Studio Code related 19 | .vscode/ 20 | 21 | # Flutter/Dart/Pub related 22 | **/doc/api/ 23 | .dart_tool/ 24 | .flutter-plugins 25 | .packages 26 | .pub-cache/ 27 | .pub/ 28 | /build/ 29 | 30 | # Android related 31 | **/android/**/gradle-wrapper.jar 32 | **/android/.gradle 33 | **/android/captures/ 34 | **/android/gradlew 35 | **/android/gradlew.bat 36 | **/android/local.properties 37 | **/android/**/GeneratedPluginRegistrant.java 38 | 39 | # iOS/XCode related 40 | **/ios/**/*.mode1v3 41 | **/ios/**/*.mode2v3 42 | **/ios/**/*.moved-aside 43 | **/ios/**/*.pbxuser 44 | **/ios/**/*.perspectivev3 45 | **/ios/**/*sync/ 46 | **/ios/**/.sconsign.dblite 47 | **/ios/**/.tags* 48 | **/ios/**/.vagrant/ 49 | **/ios/**/DerivedData/ 50 | **/ios/**/Icon? 51 | **/ios/**/Pods/ 52 | **/ios/**/.symlinks/ 53 | **/ios/**/profile 54 | **/ios/**/xcuserdata 55 | **/ios/.generated/ 56 | **/ios/Flutter/App.framework 57 | **/ios/Flutter/Flutter.framework 58 | **/ios/Flutter/Generated.xcconfig 59 | **/ios/Flutter/app.flx 60 | **/ios/Flutter/app.zip 61 | **/ios/Flutter/flutter_assets/ 62 | **/ios/ServiceDefinitions.json 63 | **/ios/Runner/GeneratedPluginRegistrant.* 64 | 65 | # Exceptions to above rules. 66 | !**/ios/**/default.mode1v3 67 | !**/ios/**/default.mode2v3 68 | !**/ios/**/default.pbxuser 69 | !**/ios/**/default.perspectivev3 70 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 71 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 8661d8aecd626f7f57ccbcb735553edc05a2e713 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # rally_app_flutter 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.io/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 28 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.example.rally_app_flutter" 37 | minSdkVersion 16 38 | targetSdkVersion 28 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | testImplementation 'junit:junit:4.12' 59 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 61 | } 62 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 9 | 13 | 20 | 24 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/example/rally_app_flutter/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.rally_app_flutter; 2 | 3 | import android.os.Bundle; 4 | import io.flutter.app.FlutterActivity; 5 | import io.flutter.plugins.GeneratedPluginRegistrant; 6 | 7 | public class MainActivity extends FlutterActivity { 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | GeneratedPluginRegistrant.registerWith(this); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.2.1' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /assets/ic_arrow_back_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_arrow_back_24px.png -------------------------------------------------------------------------------- /assets/ic_arrow_forward_ios_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_arrow_forward_ios_24px.png -------------------------------------------------------------------------------- /assets/ic_attach_money_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_attach_money_24px.png -------------------------------------------------------------------------------- /assets/ic_bar_chart_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_bar_chart_24px.png -------------------------------------------------------------------------------- /assets/ic_credit_card_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_credit_card_24px.png -------------------------------------------------------------------------------- /assets/ic_info_outline_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_info_outline_24px.png -------------------------------------------------------------------------------- /assets/ic_money_off_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_money_off_24px.png -------------------------------------------------------------------------------- /assets/ic_not_interested_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_not_interested_24px.png -------------------------------------------------------------------------------- /assets/ic_pie_chart_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_pie_chart_24px.png -------------------------------------------------------------------------------- /assets/ic_pie_chart_outlined_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_pie_chart_outlined_24px.png -------------------------------------------------------------------------------- /assets/ic_search_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_search_24px.png -------------------------------------------------------------------------------- /assets/ic_settings_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_settings_24px.png -------------------------------------------------------------------------------- /assets/ic_sort_24px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/ic_sort_24px.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/logo.png -------------------------------------------------------------------------------- /assets/thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/assets/thumb.png -------------------------------------------------------------------------------- /fonts/Eczar-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/Eczar-Bold.ttf -------------------------------------------------------------------------------- /fonts/Eczar-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/Eczar-ExtraBold.ttf -------------------------------------------------------------------------------- /fonts/Eczar-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/Eczar-Medium.ttf -------------------------------------------------------------------------------- /fonts/Eczar-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/Eczar-Regular.ttf -------------------------------------------------------------------------------- /fonts/Eczar-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/Eczar-SemiBold.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-Bold.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-BoldItalic.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-Italic.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-Light.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-LightItalic.ttf -------------------------------------------------------------------------------- /fonts/RobotoCondensed-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/fonts/RobotoCondensed-Regular.ttf -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 15 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 16 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 17 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 18 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXCopyFilesBuildPhase section */ 25 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 26 | isa = PBXCopyFilesBuildPhase; 27 | buildActionMask = 2147483647; 28 | dstPath = ""; 29 | dstSubfolderSpec = 10; 30 | files = ( 31 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 32 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 33 | ); 34 | name = "Embed Frameworks"; 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXCopyFilesBuildPhase section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 41 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 42 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 43 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 45 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 46 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 47 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 48 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 49 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 50 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 52 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 54 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 55 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 64 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | /* End PBXFrameworksBuildPhase section */ 69 | 70 | /* Begin PBXGroup section */ 71 | 9740EEB11CF90186004384FC /* Flutter */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 3B80C3931E831B6300D905FE /* App.framework */, 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 77 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 78 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 79 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 80 | ); 81 | name = Flutter; 82 | sourceTree = ""; 83 | }; 84 | 97C146E51CF9000F007C117D = { 85 | isa = PBXGroup; 86 | children = ( 87 | 9740EEB11CF90186004384FC /* Flutter */, 88 | 97C146F01CF9000F007C117D /* Runner */, 89 | 97C146EF1CF9000F007C117D /* Products */, 90 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 97C146EF1CF9000F007C117D /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 97C146EE1CF9000F007C117D /* Runner.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 97C146F01CF9000F007C117D /* Runner */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 106 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 107 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 108 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 109 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 110 | 97C147021CF9000F007C117D /* Info.plist */, 111 | 97C146F11CF9000F007C117D /* Supporting Files */, 112 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 113 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 114 | ); 115 | path = Runner; 116 | sourceTree = ""; 117 | }; 118 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 97C146F21CF9000F007C117D /* main.m */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | /* End PBXGroup section */ 127 | 128 | /* Begin PBXNativeTarget section */ 129 | 97C146ED1CF9000F007C117D /* Runner */ = { 130 | isa = PBXNativeTarget; 131 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 132 | buildPhases = ( 133 | 9740EEB61CF901F6004384FC /* Run Script */, 134 | 97C146EA1CF9000F007C117D /* Sources */, 135 | 97C146EB1CF9000F007C117D /* Frameworks */, 136 | 97C146EC1CF9000F007C117D /* Resources */, 137 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 138 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 139 | ); 140 | buildRules = ( 141 | ); 142 | dependencies = ( 143 | ); 144 | name = Runner; 145 | productName = Runner; 146 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 147 | productType = "com.apple.product-type.application"; 148 | }; 149 | /* End PBXNativeTarget section */ 150 | 151 | /* Begin PBXProject section */ 152 | 97C146E61CF9000F007C117D /* Project object */ = { 153 | isa = PBXProject; 154 | attributes = { 155 | LastUpgradeCheck = 0910; 156 | ORGANIZATIONNAME = "The Chromium Authors"; 157 | TargetAttributes = { 158 | 97C146ED1CF9000F007C117D = { 159 | CreatedOnToolsVersion = 7.3.1; 160 | }; 161 | }; 162 | }; 163 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 164 | compatibilityVersion = "Xcode 3.2"; 165 | developmentRegion = English; 166 | hasScannedForEncodings = 0; 167 | knownRegions = ( 168 | en, 169 | Base, 170 | ); 171 | mainGroup = 97C146E51CF9000F007C117D; 172 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 173 | projectDirPath = ""; 174 | projectRoot = ""; 175 | targets = ( 176 | 97C146ED1CF9000F007C117D /* Runner */, 177 | ); 178 | }; 179 | /* End PBXProject section */ 180 | 181 | /* Begin PBXResourcesBuildPhase section */ 182 | 97C146EC1CF9000F007C117D /* Resources */ = { 183 | isa = PBXResourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 187 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 188 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 189 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 190 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 191 | ); 192 | runOnlyForDeploymentPostprocessing = 0; 193 | }; 194 | /* End PBXResourcesBuildPhase section */ 195 | 196 | /* Begin PBXShellScriptBuildPhase section */ 197 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 198 | isa = PBXShellScriptBuildPhase; 199 | buildActionMask = 2147483647; 200 | files = ( 201 | ); 202 | inputPaths = ( 203 | ); 204 | name = "Thin Binary"; 205 | outputPaths = ( 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | shellPath = /bin/sh; 209 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 210 | }; 211 | 9740EEB61CF901F6004384FC /* Run Script */ = { 212 | isa = PBXShellScriptBuildPhase; 213 | buildActionMask = 2147483647; 214 | files = ( 215 | ); 216 | inputPaths = ( 217 | ); 218 | name = "Run Script"; 219 | outputPaths = ( 220 | ); 221 | runOnlyForDeploymentPostprocessing = 0; 222 | shellPath = /bin/sh; 223 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 224 | }; 225 | /* End PBXShellScriptBuildPhase section */ 226 | 227 | /* Begin PBXSourcesBuildPhase section */ 228 | 97C146EA1CF9000F007C117D /* Sources */ = { 229 | isa = PBXSourcesBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 233 | 97C146F31CF9000F007C117D /* main.m in Sources */, 234 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | /* End PBXSourcesBuildPhase section */ 239 | 240 | /* Begin PBXVariantGroup section */ 241 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 242 | isa = PBXVariantGroup; 243 | children = ( 244 | 97C146FB1CF9000F007C117D /* Base */, 245 | ); 246 | name = Main.storyboard; 247 | sourceTree = ""; 248 | }; 249 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 250 | isa = PBXVariantGroup; 251 | children = ( 252 | 97C147001CF9000F007C117D /* Base */, 253 | ); 254 | name = LaunchScreen.storyboard; 255 | sourceTree = ""; 256 | }; 257 | /* End PBXVariantGroup section */ 258 | 259 | /* Begin XCBuildConfiguration section */ 260 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 261 | isa = XCBuildConfiguration; 262 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 263 | buildSettings = { 264 | ALWAYS_SEARCH_USER_PATHS = NO; 265 | CLANG_ANALYZER_NONNULL = YES; 266 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 267 | CLANG_CXX_LIBRARY = "libc++"; 268 | CLANG_ENABLE_MODULES = YES; 269 | CLANG_ENABLE_OBJC_ARC = YES; 270 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 271 | CLANG_WARN_BOOL_CONVERSION = YES; 272 | CLANG_WARN_COMMA = YES; 273 | CLANG_WARN_CONSTANT_CONVERSION = YES; 274 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 275 | CLANG_WARN_EMPTY_BODY = YES; 276 | CLANG_WARN_ENUM_CONVERSION = YES; 277 | CLANG_WARN_INFINITE_RECURSION = YES; 278 | CLANG_WARN_INT_CONVERSION = YES; 279 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 280 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 281 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 282 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 283 | CLANG_WARN_STRICT_PROTOTYPES = YES; 284 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 285 | CLANG_WARN_UNREACHABLE_CODE = YES; 286 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 288 | COPY_PHASE_STRIP = NO; 289 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 290 | ENABLE_NS_ASSERTIONS = NO; 291 | ENABLE_STRICT_OBJC_MSGSEND = YES; 292 | GCC_C_LANGUAGE_STANDARD = gnu99; 293 | GCC_NO_COMMON_BLOCKS = YES; 294 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 295 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 296 | GCC_WARN_UNDECLARED_SELECTOR = YES; 297 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 298 | GCC_WARN_UNUSED_FUNCTION = YES; 299 | GCC_WARN_UNUSED_VARIABLE = YES; 300 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 301 | MTL_ENABLE_DEBUG_INFO = NO; 302 | SDKROOT = iphoneos; 303 | TARGETED_DEVICE_FAMILY = "1,2"; 304 | VALIDATE_PRODUCT = YES; 305 | }; 306 | name = Profile; 307 | }; 308 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 309 | isa = XCBuildConfiguration; 310 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 311 | buildSettings = { 312 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 313 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 314 | DEVELOPMENT_TEAM = S8QB4VV633; 315 | ENABLE_BITCODE = NO; 316 | FRAMEWORK_SEARCH_PATHS = ( 317 | "$(inherited)", 318 | "$(PROJECT_DIR)/Flutter", 319 | ); 320 | INFOPLIST_FILE = Runner/Info.plist; 321 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 322 | LIBRARY_SEARCH_PATHS = ( 323 | "$(inherited)", 324 | "$(PROJECT_DIR)/Flutter", 325 | ); 326 | PRODUCT_BUNDLE_IDENTIFIER = com.example.rallyAppFlutter; 327 | PRODUCT_NAME = "$(TARGET_NAME)"; 328 | VERSIONING_SYSTEM = "apple-generic"; 329 | }; 330 | name = Profile; 331 | }; 332 | 97C147031CF9000F007C117D /* Debug */ = { 333 | isa = XCBuildConfiguration; 334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 335 | buildSettings = { 336 | ALWAYS_SEARCH_USER_PATHS = NO; 337 | CLANG_ANALYZER_NONNULL = YES; 338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 339 | CLANG_CXX_LIBRARY = "libc++"; 340 | CLANG_ENABLE_MODULES = YES; 341 | CLANG_ENABLE_OBJC_ARC = YES; 342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 343 | CLANG_WARN_BOOL_CONVERSION = YES; 344 | CLANG_WARN_COMMA = YES; 345 | CLANG_WARN_CONSTANT_CONVERSION = YES; 346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 347 | CLANG_WARN_EMPTY_BODY = YES; 348 | CLANG_WARN_ENUM_CONVERSION = YES; 349 | CLANG_WARN_INFINITE_RECURSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 352 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 354 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 355 | CLANG_WARN_STRICT_PROTOTYPES = YES; 356 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 357 | CLANG_WARN_UNREACHABLE_CODE = YES; 358 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 359 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 360 | COPY_PHASE_STRIP = NO; 361 | DEBUG_INFORMATION_FORMAT = dwarf; 362 | ENABLE_STRICT_OBJC_MSGSEND = YES; 363 | ENABLE_TESTABILITY = YES; 364 | GCC_C_LANGUAGE_STANDARD = gnu99; 365 | GCC_DYNAMIC_NO_PIC = NO; 366 | GCC_NO_COMMON_BLOCKS = YES; 367 | GCC_OPTIMIZATION_LEVEL = 0; 368 | GCC_PREPROCESSOR_DEFINITIONS = ( 369 | "DEBUG=1", 370 | "$(inherited)", 371 | ); 372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 376 | GCC_WARN_UNUSED_FUNCTION = YES; 377 | GCC_WARN_UNUSED_VARIABLE = YES; 378 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 379 | MTL_ENABLE_DEBUG_INFO = YES; 380 | ONLY_ACTIVE_ARCH = YES; 381 | SDKROOT = iphoneos; 382 | TARGETED_DEVICE_FAMILY = "1,2"; 383 | }; 384 | name = Debug; 385 | }; 386 | 97C147041CF9000F007C117D /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 389 | buildSettings = { 390 | ALWAYS_SEARCH_USER_PATHS = NO; 391 | CLANG_ANALYZER_NONNULL = YES; 392 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 393 | CLANG_CXX_LIBRARY = "libc++"; 394 | CLANG_ENABLE_MODULES = YES; 395 | CLANG_ENABLE_OBJC_ARC = YES; 396 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 397 | CLANG_WARN_BOOL_CONVERSION = YES; 398 | CLANG_WARN_COMMA = YES; 399 | CLANG_WARN_CONSTANT_CONVERSION = YES; 400 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 401 | CLANG_WARN_EMPTY_BODY = YES; 402 | CLANG_WARN_ENUM_CONVERSION = YES; 403 | CLANG_WARN_INFINITE_RECURSION = YES; 404 | CLANG_WARN_INT_CONVERSION = YES; 405 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 406 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 407 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 408 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 409 | CLANG_WARN_STRICT_PROTOTYPES = YES; 410 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 411 | CLANG_WARN_UNREACHABLE_CODE = YES; 412 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 414 | COPY_PHASE_STRIP = NO; 415 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 416 | ENABLE_NS_ASSERTIONS = NO; 417 | ENABLE_STRICT_OBJC_MSGSEND = YES; 418 | GCC_C_LANGUAGE_STANDARD = gnu99; 419 | GCC_NO_COMMON_BLOCKS = YES; 420 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 421 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 422 | GCC_WARN_UNDECLARED_SELECTOR = YES; 423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 424 | GCC_WARN_UNUSED_FUNCTION = YES; 425 | GCC_WARN_UNUSED_VARIABLE = YES; 426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 427 | MTL_ENABLE_DEBUG_INFO = NO; 428 | SDKROOT = iphoneos; 429 | TARGETED_DEVICE_FAMILY = "1,2"; 430 | VALIDATE_PRODUCT = YES; 431 | }; 432 | name = Release; 433 | }; 434 | 97C147061CF9000F007C117D /* Debug */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 440 | ENABLE_BITCODE = NO; 441 | FRAMEWORK_SEARCH_PATHS = ( 442 | "$(inherited)", 443 | "$(PROJECT_DIR)/Flutter", 444 | ); 445 | INFOPLIST_FILE = Runner/Info.plist; 446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 447 | LIBRARY_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | PRODUCT_BUNDLE_IDENTIFIER = com.example.rallyAppFlutter; 452 | PRODUCT_NAME = "$(TARGET_NAME)"; 453 | VERSIONING_SYSTEM = "apple-generic"; 454 | }; 455 | name = Debug; 456 | }; 457 | 97C147071CF9000F007C117D /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 460 | buildSettings = { 461 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 462 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 463 | ENABLE_BITCODE = NO; 464 | FRAMEWORK_SEARCH_PATHS = ( 465 | "$(inherited)", 466 | "$(PROJECT_DIR)/Flutter", 467 | ); 468 | INFOPLIST_FILE = Runner/Info.plist; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 470 | LIBRARY_SEARCH_PATHS = ( 471 | "$(inherited)", 472 | "$(PROJECT_DIR)/Flutter", 473 | ); 474 | PRODUCT_BUNDLE_IDENTIFIER = com.example.rallyAppFlutter; 475 | PRODUCT_NAME = "$(TARGET_NAME)"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | }; 478 | name = Release; 479 | }; 480 | /* End XCBuildConfiguration section */ 481 | 482 | /* Begin XCConfigurationList section */ 483 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | 97C147031CF9000F007C117D /* Debug */, 487 | 97C147041CF9000F007C117D /* Release */, 488 | 249021D3217E4FDB00AE95B9 /* Profile */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 494 | isa = XCConfigurationList; 495 | buildConfigurations = ( 496 | 97C147061CF9000F007C117D /* Debug */, 497 | 97C147071CF9000F007C117D /* Release */, 498 | 249021D4217E4FDB00AE95B9 /* Profile */, 499 | ); 500 | defaultConfigurationIsVisible = 0; 501 | defaultConfigurationName = Release; 502 | }; 503 | /* End XCConfigurationList section */ 504 | }; 505 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 506 | } 507 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 56 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 77 | 83 | 84 | 85 | 86 | 88 | 89 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/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/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashishrawat2911/Flutter-ExpenseDemo/dcc99deea2099fedf368eccf74d4160ac3f9b3c5/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | rally_app_flutter 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /lib/app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/util/colors.dart'; 4 | import 'package:rally_app_flutter/pages/home_page.dart'; 5 | import 'package:rally_app_flutter/pages/login_page.dart'; 6 | 7 | /// The RallyApp is a MaterialApp with a theme and 2 routes. 8 | /// 9 | /// The home route is the main page with tabs for sub pages. 10 | /// The login route is the initial route. 11 | class RallyApp extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | return MaterialApp( 15 | title: 'Rally Proto', 16 | debugShowCheckedModeBanner: false, 17 | theme: _buildRallyTheme(), 18 | home: HomePage(), 19 | initialRoute: '/login', 20 | routes: { 21 | '/login': (BuildContext context) => LoginPage() 22 | }, 23 | ); 24 | } 25 | 26 | ThemeData _buildRallyTheme() { 27 | final ThemeData base = ThemeData.dark(); 28 | return ThemeData( 29 | scaffoldBackgroundColor: RallyColors.pageBg, 30 | primaryColor: RallyColors.pageBg, 31 | textTheme: _buildRallyTextTheme(base.textTheme), 32 | inputDecorationTheme: InputDecorationTheme( 33 | labelStyle: TextStyle( 34 | color: RallyColors.gray, 35 | fontWeight: FontWeight.w500 36 | ), 37 | filled: true, 38 | fillColor: RallyColors.inputBg, 39 | focusedBorder: InputBorder.none, 40 | ), 41 | ); 42 | } 43 | 44 | TextTheme _buildRallyTextTheme(TextTheme base) { 45 | return base.copyWith( 46 | body1:base.body1.copyWith( 47 | fontFamily: "Roboto Condensed", 48 | fontSize: 14.0, 49 | fontWeight: FontWeight.w400, 50 | ), 51 | body2: base.body2.copyWith( 52 | fontFamily: "Eczar", 53 | fontSize: 14.0, 54 | fontWeight: FontWeight.w400, 55 | ), 56 | ).apply( 57 | displayColor: Colors.white, 58 | bodyColor: Colors.white, 59 | ); 60 | } 61 | } -------------------------------------------------------------------------------- /lib/charts/rally_line_chart.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/rendering.dart'; 3 | import 'package:flutter/widgets.dart'; 4 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 5 | import 'package:rally_app_flutter/util/colors.dart'; 6 | 7 | class RallyLineChart extends StatelessWidget { 8 | RallyLineChart({this.events}); 9 | 10 | final List events; 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return CustomPaint( 15 | painter: RallyLineChartPainter(context, events) 16 | ); 17 | } 18 | } 19 | 20 | class RallyLineChartPainter extends CustomPainter { 21 | RallyLineChartPainter(this.context, this.events); 22 | 23 | final BuildContext context; 24 | 25 | // Events to plot on the line as points. 26 | final List events; 27 | 28 | // Number of days to plot. 29 | // This is hardcoded to reflect the dummy data, but would be dynamic in a real app. 30 | // For demo only. 31 | final int numDays = 52; 32 | 33 | // Beginning of window. The end is this plus numDays. 34 | // This is hardcoded to reflect the dummy data, but would be dynamic in a real app. 35 | // For demo only. 36 | final DateTime startDate = DateTime.utc(2018, 12, 1); 37 | 38 | // Ranges uses to lerp the pixel points. 39 | // This is hardcoded to reflect the dummy data, but would be dynamic in a real app. 40 | // For demo only. 41 | final double maxAmount = 3000.0; // minAmount is assumed to be 0.0 42 | 43 | // The number of milliseconds in a day. This is the inherit period fot the points in this line. 44 | final int millisInDay = 24 * 60 * 60 * 1000; 45 | 46 | // Amount to shift the tick drawing by so that the sunday ticks do not start on the edge. 47 | // For demo only. 48 | final int tickShift = 3; 49 | 50 | // Arbitrary unit of space for absolute positioned painting. 51 | final double space = 16.0; 52 | 53 | 54 | @override 55 | void paint(Canvas canvas, Size size) { 56 | double ticksTop = size.height - space * 5.0; 57 | double labelsTop = size.height - space * 2; 58 | _drawLine(canvas, Rect.fromLTWH(0.0, 0.0, size.width, ticksTop)); 59 | _drawXAxisTicks(canvas, Rect.fromLTWH(0.0, ticksTop, size.width, labelsTop - ticksTop)); 60 | _drawXAxisLabels(canvas, Rect.fromLTWH(0.0, labelsTop, size.width, size.height - labelsTop)); 61 | } 62 | 63 | @override 64 | bool shouldRepaint(CustomPainter oldDelegate) { 65 | return false; 66 | } 67 | 68 | _drawLine(Canvas canvas, Rect rect) { 69 | Paint linePaint = Paint() 70 | // TODO(demo): Change the line color here. Try passing 0, 1, 3, etc. 71 | ..color = RallyColors.getAccountColor(2) 72 | ..style = PaintingStyle.stroke 73 | ..strokeWidth = 2.0; 74 | 75 | // Arbitrary value for the first point. In a real app, a wider range of 76 | // points would be used that go beyond the boundaries of the screen. 77 | double lastAmount = 800.0; 78 | 79 | // TODO(demo): This is the number of points to skip. The higher it is, the more smooth curve will be when drawing quadratic splines. 80 | int smooth = 7; // try 1, 7, 15, etc. 81 | 82 | // Align the points with equal deltas (1 day) as a cumulative sum. 83 | int startMillis = startDate.millisecondsSinceEpoch; 84 | final List points = [Offset(0.0, (maxAmount - lastAmount) / maxAmount * rect.height)]; 85 | for (int i = 0; i < numDays + smooth; i++) { 86 | int endMillis = startMillis + millisInDay * 1; 87 | List filteredEvents = events.where((e) => startMillis <= e.date.millisecondsSinceEpoch && e.date.millisecondsSinceEpoch <= endMillis).toList(); 88 | lastAmount += filteredEvents.fold(0.0, (sum, e) => sum + e.amount); 89 | double x = i / numDays * rect.width; 90 | double y = (maxAmount - lastAmount) / maxAmount * rect.height; 91 | points.add(Offset(x, y)); 92 | startMillis = endMillis; 93 | } 94 | 95 | final Path path = Path(); 96 | path.moveTo(points[0].dx, points[0].dy); 97 | for (int i = 1; i < points.length - smooth; i += smooth) { 98 | double x1 = points[i].dx; 99 | double y1 = points[i].dy; 100 | 101 | // TODO(demo): Comment out the next line and uncomment the next 3 to draw smoother lines between points. 102 | // path.lineTo(x1, y1); 103 | double x2 = (x1 + points[i + smooth].dx) / 2; 104 | double y2 = (y1 + points[i + smooth].dy) / 2; 105 | path.quadraticBezierTo(x1, y1, x2, y2); 106 | } 107 | canvas.drawPath(path, linePaint); 108 | } 109 | 110 | _drawXAxisTicks(Canvas canvas, Rect rect) { 111 | double dayTop = (rect.top + rect.bottom) / 2; 112 | for (int i = 0; i < numDays; i++) { 113 | double x = rect.width / numDays * i; 114 | canvas.drawRect( 115 | new Rect.fromPoints(Offset(x, i % 7 == tickShift ? rect.top : dayTop), Offset(x, rect.bottom)), 116 | new Paint() 117 | ..style = PaintingStyle.stroke 118 | ..strokeWidth = 1.0 119 | ..color = RallyColors.gray25a 120 | ); 121 | } 122 | } 123 | 124 | _drawXAxisLabels(Canvas canvas, Rect rect) { 125 | TextPainter leftLabel = TextPainter( 126 | text: TextSpan( 127 | text: 'DEC 2018', 128 | style: Theme.of(context).textTheme.body1.copyWith(fontWeight: FontWeight.w700, color: RallyColors.gray25a) 129 | ), 130 | textDirection: TextDirection.ltr, 131 | ); 132 | leftLabel.layout(); 133 | leftLabel.paint(canvas, Offset(rect.left + space / 2, rect.center.dy)); 134 | 135 | TextPainter centerLabel = TextPainter( 136 | text: TextSpan( 137 | text: 'JAN 2019', 138 | style: Theme.of(context).textTheme.body1.copyWith(fontWeight: FontWeight.w700) 139 | ), 140 | textDirection: TextDirection.ltr, 141 | ); 142 | centerLabel.layout(); 143 | centerLabel.paint(canvas, Offset((rect.width - centerLabel.width) / 2, rect.center.dy)); 144 | 145 | TextPainter rightLabel = TextPainter( 146 | text: TextSpan( 147 | text: 'FEB 2018', 148 | style: Theme.of(context).textTheme.body1.copyWith(fontWeight: FontWeight.w700, color: RallyColors.gray25a) 149 | ), 150 | textDirection: TextDirection.ltr, 151 | ); 152 | rightLabel.layout(); 153 | rightLabel.paint(canvas, Offset(rect.right - centerLabel.width - space / 2, rect.center.dy)); 154 | } 155 | } -------------------------------------------------------------------------------- /lib/charts/rally_pie_chart.dart: -------------------------------------------------------------------------------- 1 | import 'dart:math'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter/rendering.dart'; 5 | import 'package:flutter/widgets.dart'; 6 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 7 | import 'package:rally_app_flutter/util/colors.dart'; 8 | import 'package:rally_app_flutter/util/constants.dart'; 9 | import 'package:rally_app_flutter/util/formatters.dart'; 10 | 11 | /// A colored piece of the [RallyPieChart]. 12 | class RallyPieChartSegment { 13 | final Color color; 14 | final double value; 15 | 16 | const RallyPieChartSegment({this.color, this.value}); 17 | } 18 | 19 | /// Utils for [RallyPieChart]. 20 | class RallyPieChartSegments { 21 | static List fromAccountItems(List items) { 22 | return _fromPrimaryAmounts(items, RallyColors.getAccountColor); 23 | } 24 | 25 | static List fromBillItems(List items) { 26 | return _fromPrimaryAmounts(items, RallyColors.getBillColor); 27 | } 28 | 29 | static List fromBudgetItems(List items) { 30 | var generator = (i) => RallyPieChartSegment(color: RallyColors.getBudgetColor(i), value: items[i].primaryAmount - items[i].amountUsed); 31 | return List.generate(items.length, generator); 32 | } 33 | 34 | static List _fromPrimaryAmounts(List items, Color Function(int i) colorizer) { 35 | var generator = (i) => RallyPieChartSegment(color: colorizer(i), value: items[i].primaryAmount); 36 | return List.generate(items.length, generator); 37 | } 38 | } 39 | 40 | /// An animated circular pie chart to represent pieces of a whole, which can have empty space. 41 | class RallyPieChart extends StatefulWidget { 42 | RallyPieChart({this.heroLabel, this.heroAmount, this.wholeAmount, this.segments}); 43 | 44 | final String heroLabel; 45 | final double heroAmount; 46 | final double wholeAmount; 47 | final List segments; 48 | 49 | _RallyPieChartState createState() => _RallyPieChartState(); 50 | } 51 | 52 | class _RallyPieChartState extends State with SingleTickerProviderStateMixin { 53 | 54 | AnimationController controller; 55 | Animation animation; 56 | 57 | @override 58 | initState() { 59 | super.initState(); 60 | controller = AnimationController(duration: const Duration(milliseconds: Constants.defaultAnimationMillis * 3), vsync: this); 61 | animation = CurvedAnimation(parent: TweenSequence(>[ 62 | TweenSequenceItem(tween: Tween(begin: 0.0, end: 0.0), weight: 1.0), 63 | TweenSequenceItem(tween: Tween(begin: 0.0, end: 1.0), weight: 1.5), 64 | ]).animate(controller), 65 | curve: Curves.decelerate); 66 | controller.forward(); 67 | } 68 | 69 | dispose() { 70 | controller.dispose(); 71 | super.dispose(); 72 | } 73 | 74 | Widget build(BuildContext context) { 75 | return _AnimatedRallyPieChart( 76 | animation: animation, 77 | centerLabel: widget.heroLabel, 78 | centerAmount: widget.heroAmount, 79 | total: widget.wholeAmount, 80 | segments: widget.segments, 81 | ); 82 | } 83 | } 84 | 85 | class _AnimatedRallyPieChart extends AnimatedWidget { 86 | _AnimatedRallyPieChart({ 87 | Key key, 88 | this.animation, 89 | this.centerLabel, 90 | this.centerAmount, 91 | this.total, 92 | this.segments 93 | }) 94 | : super(key: key, listenable: animation); 95 | 96 | final Animation animation; 97 | final String centerLabel; 98 | final double centerAmount; 99 | final double total; 100 | final List segments; 101 | 102 | Widget build(BuildContext context) { 103 | final Animation animation = listenable; 104 | return DecoratedBox( 105 | decoration: _RallyPieChartOutlineDecoration( 106 | maxFraction: animation.value, 107 | total: total, 108 | segments: segments 109 | ), 110 | child: SizedBox( 111 | height: 237.0, 112 | child: Center( 113 | child: Column( 114 | mainAxisAlignment: MainAxisAlignment.center, 115 | children: [ 116 | Text(centerLabel), 117 | Text(Formatters.usdWithSign.format(centerAmount), 118 | style: Theme.of(context).textTheme.body2.copyWith(fontSize: 32.0)), 119 | ]) 120 | ) 121 | ), 122 | ); 123 | } 124 | } 125 | 126 | class _RallyPieChartOutlineDecoration extends Decoration { 127 | _RallyPieChartOutlineDecoration({this.maxFraction, this.total, this.segments}); 128 | 129 | final double maxFraction; 130 | final double total; 131 | final List segments; 132 | 133 | @override 134 | BoxPainter createBoxPainter([onChanged]) { 135 | return _RallyPieChartOutlineBoxPainter( 136 | maxFraction: maxFraction, 137 | wholeAmount: total, 138 | segments: segments, 139 | ); 140 | } 141 | } 142 | 143 | class _RallyPieChartOutlineBoxPainter extends BoxPainter { 144 | _RallyPieChartOutlineBoxPainter({this.maxFraction, this.wholeAmount, this.segments}); 145 | 146 | final double maxFraction; 147 | final double wholeAmount; 148 | final List segments; 149 | 150 | @override 151 | void paint(Canvas canvas, Offset offset, ImageConfiguration configuration) { 152 | // Create two padded rects to draw arcs in: one for colored arcs and one for inner bg arc. 153 | double strokeWidth = 4.0; 154 | double outerRadius = min(configuration.size.width, configuration.size.height) / 2; 155 | Rect outerRect = Rect.fromCircle(center: configuration.size.center(Offset.zero), radius: outerRadius - strokeWidth * 3.0); 156 | Rect innerRect = Rect.fromCircle(center: configuration.size.center(Offset.zero), radius: outerRadius - strokeWidth * 4.0); 157 | 158 | // Paint each arc with spacing. 159 | double cummulativeSpace = 0.0; 160 | double cummulativeTotal = 0.0; 161 | double wholeRadians = (2.0 * pi); 162 | double spaceRadians = wholeRadians / 180.0; 163 | double wholeMinusSpacesRadians = wholeRadians - (segments.length * spaceRadians); 164 | for (RallyPieChartSegment segment in segments) { 165 | Paint paint = Paint()..color = segment.color; 166 | double start = maxFraction * ((cummulativeTotal / wholeAmount * wholeMinusSpacesRadians) + cummulativeSpace) - pi / 2.0; 167 | double sweep = maxFraction * (segment.value / wholeAmount * wholeMinusSpacesRadians); 168 | canvas.drawArc(outerRect, start, sweep, true, paint); 169 | cummulativeTotal += segment.value; 170 | cummulativeSpace += spaceRadians; 171 | } 172 | 173 | // Paint any remaining space black (e.g. budget amount remaining). 174 | double remaining = wholeAmount - cummulativeTotal; 175 | if (remaining > 0) { 176 | Paint paint = Paint()..color = Colors.black; 177 | double start = maxFraction * ((cummulativeTotal / wholeAmount * wholeMinusSpacesRadians) + spaceRadians * segments.length) - pi / 2.0; 178 | double sweep = maxFraction * (remaining / wholeAmount * wholeMinusSpacesRadians - spaceRadians); 179 | canvas.drawArc(outerRect, start, sweep, true, paint); 180 | } 181 | 182 | // Paint a smaller inner circle to cover the painted arcs, so they are display as segments. 183 | Paint bgPaint = Paint()..color = RallyColors.pageBg; 184 | canvas.drawArc(innerRect, 0.0, 2.0 * pi, true, bgPaint); 185 | } 186 | } -------------------------------------------------------------------------------- /lib/charts/vertical_fraction_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | 4 | class VerticalFractionBar extends StatelessWidget { 5 | VerticalFractionBar({this.color, this.fraction}); 6 | 7 | final Color color; 8 | final double fraction; 9 | @override 10 | Widget build(BuildContext context) { 11 | // TODO: use paint? 12 | return SizedBox( 13 | height: 32.0, 14 | width: 4.0, 15 | child: Column( 16 | children: [ 17 | SizedBox( 18 | height: (1 - fraction) * 32.0, 19 | child: Container( 20 | color: Colors.black, 21 | ), 22 | ), 23 | SizedBox( 24 | height: fraction * 32.0, 25 | child: Container( 26 | color: color 27 | ), 28 | ), 29 | ] 30 | ) 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /lib/dummy_data/dummy_data.dart: -------------------------------------------------------------------------------- 1 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 2 | 3 | /// Class to return dummy data lists. 4 | /// 5 | /// In a real app, this might be replaced with some asynchronous service. 6 | class DummyDatas { 7 | static List getAccountItems() { 8 | return [ 9 | AccountItem( 10 | name: 'Checking', 11 | primaryAmount: 2215.13, 12 | accountNumber: '1234561234', 13 | ), 14 | AccountItem( 15 | name: 'Home Savings', 16 | primaryAmount: 8678.88, 17 | accountNumber: '8888885678', 18 | ), 19 | AccountItem( 20 | name: 'Car Savings', 21 | primaryAmount: 987.48, 22 | accountNumber: '8888889012', 23 | ), 24 | AccountItem( 25 | name: 'Vacation', 26 | primaryAmount: 253.0, 27 | accountNumber: '1231233456', 28 | ), 29 | ]; 30 | } 31 | 32 | static List getDetailedEventItems() { 33 | return [ 34 | DetailedEventItem( 35 | title: 'Genoe', 36 | date: DateTime.utc(2019, 1, 24), 37 | amount: -16.54 38 | ), 39 | DetailedEventItem( 40 | title: 'Fortnightly Subscribe', 41 | date: DateTime.utc(2019, 1, 5), 42 | amount: -12.54 43 | ), 44 | DetailedEventItem( 45 | title: 'Circle Cash', 46 | date: DateTime.utc(2019, 1, 5), 47 | amount: 365.65 48 | ), 49 | DetailedEventItem( 50 | title: 'Crane Hospitality', 51 | date: DateTime.utc(2019, 1, 4), 52 | amount: -705.13 53 | ), 54 | DetailedEventItem( 55 | title: 'ABC Payroll', 56 | date: DateTime.utc(2018, 12, 15), 57 | amount: 1141.43 58 | ), 59 | DetailedEventItem( 60 | title: 'Shrine', 61 | date: DateTime.utc(2018, 12, 15), 62 | amount: -88.88 63 | ), 64 | DetailedEventItem( 65 | title: 'Foodmates', 66 | date: DateTime.utc(2018, 12, 4), 67 | amount: -11.69 68 | ), 69 | ]; 70 | } 71 | 72 | static List getBillItems() { 73 | return [ 74 | BillItem( 75 | name: 'RedPay Credit', 76 | primaryAmount: 45.36, 77 | dueDate: 'Jan 29', 78 | ), 79 | BillItem( 80 | name: 'Rent', 81 | primaryAmount: 1200.0, 82 | dueDate: 'Feb 9', 83 | ), 84 | BillItem( 85 | name: 'TabFine Credit', 86 | primaryAmount: 87.33, 87 | dueDate: 'Feb 22', 88 | ), 89 | BillItem( 90 | name: 'ABC Loans', 91 | primaryAmount: 400.0, 92 | dueDate: 'Feb 29', 93 | ), 94 | ]; 95 | } 96 | 97 | static List getBudgetsModel() { 98 | return [ 99 | BudgetItem( 100 | name: 'Coffee Shops', 101 | primaryAmount: 70.0, 102 | amountUsed: 45.49, 103 | ), 104 | BudgetItem( 105 | name: 'Groceries', 106 | primaryAmount: 170.0, 107 | amountUsed: 16.45, 108 | ), 109 | BudgetItem( 110 | name: 'Restaurants', 111 | primaryAmount: 170.0, 112 | amountUsed: 123.25, 113 | ), 114 | BudgetItem( 115 | name: 'Clothing', 116 | primaryAmount: 70.0, 117 | amountUsed: 19.45, 118 | ), 119 | ]; 120 | } 121 | 122 | static List getSettingsTitles() { 123 | return [ 124 | 'Manage Accounts', 125 | 'Tax Documents', 126 | 'Passcode and Touch ID', 127 | 'Notifications', 128 | 'Personal Information', 129 | 'Paperless Settings', 130 | 'Find ATMs', 131 | 'Help', 132 | ]; 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /lib/financial_entity/financial_entity.dart: -------------------------------------------------------------------------------- 1 | /// A simple data model for most entites within Rally. 2 | class FinancialEntity { 3 | const FinancialEntity({this.name, this.primaryAmount}); 4 | 5 | /// The display name of this entity . 6 | final String name; 7 | 8 | // The primary amount or value of this entity. 9 | final double primaryAmount; 10 | } 11 | 12 | /// Utils for [FinancialEntity]. 13 | class FinancialEntities { 14 | /// Calculates the sum of the primary amounts of a list of entites. 15 | static double sumPrimaryAmounts(List items) { 16 | return items.fold(0.0, (double sum, FinancialEntity next) => sum + next.primaryAmount); 17 | } 18 | } 19 | 20 | /// A data model for an account. 21 | /// 22 | /// The [primaryAmount] is the balance of the account in USD. 23 | class AccountItem extends FinancialEntity { 24 | const AccountItem({String name, double primaryAmount, this.accountNumber}) 25 | : super(name: name, primaryAmount: primaryAmount); 26 | 27 | /// The full displayable account number. 28 | final String accountNumber; 29 | } 30 | 31 | /// A data model for a bill. 32 | /// 33 | /// The [primaryAmount] is the amount due in USD. 34 | class BillItem extends FinancialEntity { 35 | const BillItem({String name, double primaryAmount, this.dueDate}) 36 | : super(name: name, primaryAmount: primaryAmount); 37 | 38 | /// The due date of this bill. 39 | /// 40 | /// TODO(clocksmith): use DateTime and format separately. 41 | final String dueDate; 42 | } 43 | 44 | /// A data model for a budget. 45 | /// 46 | /// The [primaryAmount] is the budget cap in USD. 47 | class BudgetItem extends FinancialEntity { 48 | const BudgetItem({String name, double primaryAmount, this.amountUsed}) 49 | : super(name: name, primaryAmount: primaryAmount); 50 | 51 | /// Amount of the budget that is consumed or used. 52 | final double amountUsed; 53 | } 54 | 55 | /// Utils for [BudgetItem]. 56 | class BudgetItems { 57 | static double sumAmountsUsed(List items) { 58 | return items.fold(0.0, (double sum, BudgetItem next) => sum + next.amountUsed); 59 | } 60 | } 61 | 62 | class DetailedEventItem { 63 | const DetailedEventItem({ 64 | this.title, 65 | this.date, 66 | this.amount, 67 | }); 68 | 69 | final String title; 70 | final DateTime date; 71 | final double amount; 72 | } 73 | -------------------------------------------------------------------------------- /lib/financial_entity/financial_entity_card.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 4 | import 'package:rally_app_flutter/financial_entity/financial_entity_view.dart'; 5 | import 'package:rally_app_flutter/pages/subpages/details.dart'; 6 | import 'package:rally_app_flutter/util/colors.dart'; 7 | import 'package:rally_app_flutter/util/formatters.dart'; 8 | import 'package:rally_app_flutter/charts/vertical_fraction_bar.dart'; 9 | 10 | /// A reusable widget to show balance information of a single entity as a card. 11 | class FinancialEntityCard extends StatelessWidget { 12 | 13 | const FinancialEntityCard({ 14 | @required this.indicatorColor, 15 | @required this.indicatorFraction, 16 | @required this.title, 17 | @required this.subtitle, 18 | @required this.amount, 19 | @required this.suffix, 20 | }); 21 | 22 | final Color indicatorColor; 23 | final double indicatorFraction; 24 | final String title; 25 | final String subtitle; 26 | final double amount; 27 | final Widget suffix; 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return FlatButton( 32 | onPressed: () { 33 | Navigator.push( 34 | context, 35 | MaterialPageRoute(builder: (context) => DetailsPage()) 36 | ); 37 | }, 38 | child: SizedBox( 39 | height: 68.0, 40 | child: Column( 41 | children: [ 42 | SizedBox( 43 | height: 67.0, 44 | child: Row( 45 | children: [ 46 | Padding( 47 | child: VerticalFractionBar( 48 | color: indicatorColor, 49 | fraction: indicatorFraction 50 | ), 51 | padding: EdgeInsets.only(left: 16.0, right: 16.0), 52 | ), 53 | Column( 54 | mainAxisAlignment: MainAxisAlignment.center, 55 | crossAxisAlignment: CrossAxisAlignment.start, 56 | children: [ 57 | Text(title, style: Theme.of(context).textTheme.body1.copyWith(fontSize: 16.0)), 58 | Text(subtitle, style: Theme.of(context).textTheme.body1.copyWith(color: RallyColors.gray60a)) 59 | ], 60 | ), 61 | Spacer(), 62 | Text('\$ ' + Formatters.usd.format(amount), 63 | style: Theme.of(context).textTheme.body2.copyWith( 64 | fontSize: 20.0, 65 | color: RallyColors.gray) 66 | ), 67 | SizedBox(width: 32.0, child: suffix) 68 | ], 69 | ), 70 | ), 71 | Padding( 72 | padding: const EdgeInsets.only(left: 16.0, right: 16.0), 73 | child: SizedBox( 74 | height: 1.0, 75 | child: Container(color: Color(0xAA282828)) 76 | ), 77 | ) 78 | ], 79 | ) 80 | ), 81 | ); 82 | } 83 | } 84 | 85 | /// Data model for [FinancialEntityCard]. 86 | class FinancialEntityCardModel { 87 | final Color indicatorColor; 88 | final double indicatorFraction; 89 | final String title; 90 | final String subtitle; 91 | final double usdAmount; 92 | final Widget suffix; 93 | 94 | const FinancialEntityCardModel( 95 | this.indicatorColor, 96 | this.indicatorFraction, 97 | this.title, 98 | this.subtitle, 99 | this.usdAmount, 100 | this.suffix, 101 | ); 102 | } 103 | 104 | /// Utils for [FinancialEntityCard]. 105 | class FinancialEntityCards { 106 | static FinancialEntityCard fromAccountItem(AccountItem model, int i) { 107 | return FinancialEntityCard( 108 | suffix: Icon(Icons.chevron_right, color: Colors.grey), 109 | title: model.name, 110 | subtitle: '• • • • • • ' + model.accountNumber.substring(6), 111 | indicatorColor: RallyColors.getAccountColor(i), 112 | indicatorFraction: 1.0, 113 | amount: model.primaryAmount, 114 | ); 115 | } 116 | 117 | static FinancialEntityCard fromBillItem(BillItem model, int i) { 118 | return FinancialEntityCard( 119 | suffix: Icon(Icons.chevron_right, color: Colors.grey), 120 | title: model.name, 121 | subtitle: model.dueDate, 122 | indicatorColor: RallyColors.getBillColor(i), 123 | indicatorFraction: 1.0, 124 | amount: model.primaryAmount, 125 | ); 126 | } 127 | 128 | static FinancialEntityCard fromBudgetItem(BudgetItem item, int i, BuildContext context) { 129 | return FinancialEntityCard( 130 | suffix: Text(' LEFT', style: Theme.of(context).textTheme.body1.copyWith(color: RallyColors.gray60a, fontSize: 10.0)), 131 | title: item.name, 132 | subtitle: Formatters.usdWithSign.format(item.amountUsed) + ' / ' + Formatters.usdWithSign.format(item.primaryAmount), 133 | indicatorColor: RallyColors.getBudgetColor(i), 134 | indicatorFraction: item.amountUsed / item.primaryAmount, 135 | amount: item.primaryAmount - item.amountUsed, 136 | ); 137 | } 138 | 139 | static List fromAccountItems(List items) { 140 | return List.generate(items.length, (i) => FinancialEntityCards.fromAccountItem(items[i], i)); 141 | } 142 | 143 | static List fromBillItems(List items) { 144 | return List.generate(items.length, (i) => FinancialEntityCards.fromBillItem(items[i], i)); 145 | } 146 | 147 | static List fromBudgetItems(List items, BuildContext context) { 148 | return List.generate(items.length, (i) => FinancialEntityCards.fromBudgetItem(items[i], i, context)); 149 | } 150 | } -------------------------------------------------------------------------------- /lib/financial_entity/financial_entity_details.dart: -------------------------------------------------------------------------------- 1 | // TODO(clocksmith): Render the balance details with line chart. -------------------------------------------------------------------------------- /lib/financial_entity/financial_entity_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | import 'package:rally_app_flutter/charts/rally_pie_chart.dart'; 3 | import 'package:rally_app_flutter/financial_entity/financial_entity_card.dart'; 4 | 5 | class FinancialEntitiesView extends StatelessWidget { 6 | FinancialEntitiesView({ 7 | this.heroLabel, 8 | this.heroAmount, 9 | this.wholeAmount, 10 | this.segments, 11 | this.financialEntityCards}) 12 | : assert(segments.length == financialEntityCards.length); 13 | 14 | /// The amounts to assign each item. 15 | /// 16 | /// This list must have the same length as [colors]. 17 | final List segments; 18 | final String heroLabel; 19 | final double heroAmount; 20 | final double wholeAmount; 21 | final List financialEntityCards; 22 | 23 | @override 24 | Widget build(BuildContext context) { 25 | return Column( 26 | children: [ 27 | RallyPieChart( 28 | heroLabel: heroLabel, 29 | heroAmount: heroAmount, 30 | wholeAmount: wholeAmount, 31 | segments: segments, 32 | ), 33 | // TODO(clocksmith): Is this actually supposed to be a shadow? 34 | SizedBox(height: 1.0, child: Container(color: Color(0xA026282F))), 35 | ListView( 36 | shrinkWrap: true, 37 | children: financialEntityCards 38 | ) 39 | ]); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:rally_app_flutter/app.dart'; 3 | 4 | void main() => runApp(RallyApp()); -------------------------------------------------------------------------------- /lib/pages/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/pages/subpages/accounts.dart'; 4 | import 'package:rally_app_flutter/pages/subpages/bills.dart'; 5 | import 'package:rally_app_flutter/pages/subpages/budgets.dart'; 6 | import 'package:rally_app_flutter/pages/subpages/overview.dart'; 7 | import 'package:rally_app_flutter/pages/subpages/settings.dart'; 8 | import 'package:rally_app_flutter/util/constants.dart'; 9 | 10 | class HomePage extends StatefulWidget { 11 | @override 12 | _HomePageState createState() => _HomePageState(); 13 | } 14 | 15 | class _HomePageState extends State with SingleTickerProviderStateMixin { 16 | TabController _tabController; 17 | 18 | _HomePageState() { 19 | _tabController = TabController(length: 5, vsync: this); 20 | } 21 | 22 | @override 23 | void initState() { 24 | super.initState(); 25 | print('_HomePageState initState'); 26 | 27 | _tabController.addListener(() { 28 | if (_tabController.indexIsChanging && _tabController.previousIndex != _tabController.index) { 29 | setState(() {}); 30 | } 31 | }); 32 | } 33 | 34 | @override 35 | Widget build(BuildContext context) { 36 | return Scaffold( 37 | body: SafeArea( 38 | child: Column( 39 | children: [ 40 | Theme( 41 | // This theme effectively removes the default visual touch 42 | // feedback for tapping a tab, which is replaced with a custom 43 | // animation. 44 | data: Theme.of(context).copyWith( 45 | splashColor: Colors.transparent, 46 | highlightColor: Colors.transparent, 47 | ), 48 | child: TabBar( 49 | // setting isScrollable to true prevents the tabs from being 50 | // wrapped in [Expanded] widgets, which allows for more 51 | // flexible sizes and size animations among tabs. 52 | isScrollable: true, 53 | labelPadding: EdgeInsets.zero, 54 | tabs: _buildTabs(), 55 | controller: _tabController, 56 | // This effectively removes the tab indicator. 57 | indicator: UnderlineTabIndicator( 58 | borderSide: BorderSide(style: BorderStyle.none) 59 | ), 60 | ), 61 | ), 62 | Expanded( 63 | child: TabBarView( 64 | children: _buildTabViews(), 65 | controller: _tabController 66 | ), 67 | ) 68 | ]), 69 | ) 70 | ); 71 | } 72 | 73 | // TODO(clocksmith): Use icons. 74 | List _buildTabs() { 75 | return [ 76 | _buildTab(Icons.pie_chart, "OVERVIEW", 0), 77 | _buildTab(Icons.attach_money, "ACCOUNTS", 1), 78 | _buildTab(Icons.money_off, "BILLS", 2), 79 | _buildTab(Icons.table_chart, "BUDGETS", 3), // TODO(clocksmith): This should be Icons.bar_chart, but its currently unavalableflutter 80 | _buildTab(Icons.settings, "SETTINGS", 4), 81 | ]; 82 | } 83 | 84 | List _buildTabViews() { 85 | return [ 86 | OverviewPage(), 87 | AccountsPage(), 88 | BillsPage(), 89 | BudgetsPage(), 90 | SettingsPage(), 91 | ]; 92 | } 93 | 94 | Widget _buildTab(IconData iconData, String title, int index) { 95 | return _RallyTab(Icon(iconData), title, _tabController.index == index); 96 | } 97 | } 98 | 99 | class _RallyTab extends StatefulWidget { 100 | Text titleText; 101 | Icon icon; 102 | bool isExpanded; 103 | 104 | _RallyTab( 105 | Icon icon, 106 | String title, 107 | bool isExpanded) { 108 | titleText = Text(title); 109 | this.icon = icon; 110 | this.isExpanded = isExpanded; 111 | } 112 | 113 | _RallyTabState createState() => _RallyTabState(); 114 | } 115 | 116 | class _RallyTabState extends State<_RallyTab> with SingleTickerProviderStateMixin { 117 | Animation _titleSizeAnimation; 118 | Animation _titleFadeAnimation; 119 | // TODO(clocksmith): Use this to animate the opacity of the icons 120 | Animation _iconFadeAnimation; 121 | AnimationController _controller; 122 | 123 | @override 124 | initState() { 125 | super.initState(); 126 | _controller = AnimationController( 127 | duration: Duration(milliseconds: Constants.defaultAnimationMillis), 128 | vsync: this 129 | ); 130 | _titleSizeAnimation = CurvedAnimation( 131 | parent: Tween(begin: 0.0, end: 1.0).animate(_controller), 132 | curve: Curves.linear 133 | ); 134 | _titleFadeAnimation = CurvedAnimation( 135 | parent: Tween(begin: 0.0, end: 1.0).animate(_controller), 136 | curve: Curves.easeOut 137 | ); 138 | _iconFadeAnimation = CurvedAnimation( 139 | parent: Tween(begin: 0.6, end: 1.0).animate(_controller), 140 | curve: Curves.linear 141 | ); 142 | if (widget.isExpanded) { 143 | _controller.value = 1.0; 144 | } 145 | } 146 | 147 | @override 148 | void didUpdateWidget(_RallyTab oldWidget) { 149 | super.didUpdateWidget(oldWidget); 150 | if (widget.isExpanded) { 151 | _controller.forward(); 152 | } else { 153 | _controller.reverse(); 154 | } 155 | } 156 | 157 | Widget build(BuildContext context) { 158 | double width = MediaQuery.of(context).size.width; 159 | 160 | // TODO(clocksmith): Calculate the widths of the inner boxes to take the exact required space. 161 | return SizedBox( 162 | height: 56.0, 163 | child: Row( 164 | children: [ 165 | SizedBox( 166 | width: width / 7, 167 | child: widget.icon, 168 | ), 169 | FadeTransition( 170 | child: SizeTransition( 171 | child: SizedBox( 172 | width: width / 4, 173 | child: Center(child: widget.titleText), 174 | ), 175 | axis: Axis.horizontal, 176 | axisAlignment: -1.0, 177 | sizeFactor: _titleSizeAnimation, 178 | ), 179 | opacity: _titleFadeAnimation, 180 | 181 | ), 182 | 183 | ], 184 | ), 185 | ); 186 | } 187 | 188 | dispose() { 189 | _controller.dispose(); 190 | super.dispose(); 191 | } 192 | } 193 | 194 | -------------------------------------------------------------------------------- /lib/pages/login_page.dart: -------------------------------------------------------------------------------- 1 | // Copyright 2018-present the Flutter authors. All Rights Reserved. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | import 'package:flutter/material.dart'; 16 | 17 | class LoginPage extends StatefulWidget { 18 | @override 19 | _LoginPageState createState() => _LoginPageState(); 20 | } 21 | 22 | class _LoginPageState extends State { 23 | final _usernameController = TextEditingController(); 24 | final _passwordController = TextEditingController(); 25 | 26 | @override 27 | Widget build(BuildContext context) { 28 | return Scaffold( 29 | body: SafeArea( 30 | child: GestureDetector( 31 | onTap: () { 32 | Navigator.pop(context); 33 | }, 34 | child: ListView( 35 | padding: EdgeInsets.symmetric(horizontal: 24.0), 36 | children: [ 37 | SizedBox(height: 64.0), 38 | SizedBox( 39 | height: 160.0, 40 | child: Image.asset('assets/logo.png' 41 | ) 42 | ), 43 | SizedBox(height: 64.0), 44 | TextField( 45 | controller: _usernameController, 46 | decoration: InputDecoration( 47 | labelText: 'Username', 48 | ), 49 | ), 50 | SizedBox(height: 12.0), 51 | TextField( 52 | controller: _passwordController, 53 | decoration: InputDecoration( 54 | labelText: 'Password', 55 | ), 56 | ), 57 | SizedBox( 58 | height: 120.0, 59 | child: Image.asset('assets/thumb.png' 60 | ) 61 | ), 62 | ], 63 | ), 64 | ), 65 | ), 66 | ); 67 | } 68 | } 69 | 70 | class PrimaryColorOverride extends StatelessWidget { 71 | const PrimaryColorOverride({Key key, this.color, this.child}) 72 | : super(key: key); 73 | 74 | final Color color; 75 | final Widget child; 76 | 77 | @override 78 | Widget build(BuildContext context) { 79 | return Theme( 80 | child: child, 81 | data: Theme.of(context).copyWith(primaryColor: color), 82 | ); 83 | } 84 | } -------------------------------------------------------------------------------- /lib/pages/subpages/accounts.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/dummy_data/dummy_data.dart'; 4 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 5 | import 'package:rally_app_flutter/financial_entity/financial_entity_card.dart'; 6 | import 'package:rally_app_flutter/financial_entity/financial_entity_view.dart'; 7 | import 'package:rally_app_flutter/charts/rally_pie_chart.dart'; 8 | 9 | /// A page that shows a summary of accounts. 10 | class AccountsPage extends StatefulWidget { 11 | @override 12 | _AccountsPageState createState() => _AccountsPageState(); 13 | } 14 | 15 | class _AccountsPageState extends State with SingleTickerProviderStateMixin { 16 | final List items = DummyDatas.getAccountItems(); 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | double balanceTotal = FinancialEntities.sumPrimaryAmounts(items); 21 | List segments = RallyPieChartSegments.fromAccountItems(items); 22 | return FinancialEntitiesView( 23 | heroLabel: 'Total', 24 | heroAmount: balanceTotal, 25 | segments: segments, 26 | wholeAmount: balanceTotal, 27 | financialEntityCards: FinancialEntityCards.fromAccountItems(items), 28 | ); 29 | } 30 | } -------------------------------------------------------------------------------- /lib/pages/subpages/bills.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/dummy_data/dummy_data.dart'; 4 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 5 | import 'package:rally_app_flutter/charts/rally_pie_chart.dart'; 6 | import 'package:rally_app_flutter/financial_entity/financial_entity_card.dart'; 7 | import 'package:rally_app_flutter/financial_entity/financial_entity_view.dart'; 8 | 9 | /// A page that shows a summary of bills. 10 | class BillsPage extends StatefulWidget { 11 | @override 12 | _BillsPageState createState() => _BillsPageState(); 13 | } 14 | 15 | class _BillsPageState extends State with SingleTickerProviderStateMixin { 16 | final List items = DummyDatas.getBillItems(); 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | double dueTotal = FinancialEntities.sumPrimaryAmounts(items); 21 | List segments = RallyPieChartSegments.fromBillItems(items); 22 | return FinancialEntitiesView( 23 | heroLabel: 'Due', 24 | heroAmount: dueTotal, 25 | segments: segments, 26 | wholeAmount: dueTotal, 27 | financialEntityCards: FinancialEntityCards.fromBillItems(items), 28 | ); 29 | } 30 | } -------------------------------------------------------------------------------- /lib/pages/subpages/budgets.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/dummy_data/dummy_data.dart'; 4 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 5 | import 'package:rally_app_flutter/financial_entity/financial_entity_card.dart'; 6 | import 'package:rally_app_flutter/financial_entity/financial_entity_view.dart'; 7 | import 'package:rally_app_flutter/charts/rally_pie_chart.dart'; 8 | 9 | class BudgetsPage extends StatefulWidget { 10 | @override 11 | _BudgetsPageState createState() => _BudgetsPageState(); 12 | } 13 | 14 | class _BudgetsPageState extends State with SingleTickerProviderStateMixin { 15 | final List items = DummyDatas.getBudgetsModel(); 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | double capTotal = FinancialEntities.sumPrimaryAmounts(items); 20 | double usedTotal = BudgetItems.sumAmountsUsed(items); 21 | List segments = RallyPieChartSegments.fromBudgetItems(items); 22 | return FinancialEntitiesView( 23 | heroLabel: 'Left', 24 | heroAmount: capTotal - usedTotal, 25 | segments: segments, 26 | wholeAmount: capTotal, 27 | financialEntityCards: FinancialEntityCards.fromBudgetItems(items, context), 28 | ); 29 | } 30 | } -------------------------------------------------------------------------------- /lib/pages/subpages/details.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/charts/rally_line_chart.dart'; 4 | import 'package:rally_app_flutter/dummy_data/dummy_data.dart'; 5 | import 'package:rally_app_flutter/financial_entity/financial_entity.dart'; 6 | import 'package:rally_app_flutter/util/colors.dart'; 7 | import 'package:rally_app_flutter/util/formatters.dart'; 8 | 9 | class DetailsPage extends StatelessWidget { 10 | final List items = DummyDatas.getDetailedEventItems(); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | final List<_DetailedEventCard> cards = items.map((DetailedEventItem i) => _DetailedEventCard( 15 | title: i.title, 16 | subtitle: Formatters.date.format(i.date), 17 | amount: i.amount, 18 | )).toList(); 19 | 20 | return Scaffold( 21 | appBar: AppBar( 22 | elevation: 0.0, 23 | centerTitle: true, 24 | title: Text( 25 | 'Checking', 26 | style: Theme.of(context).textTheme.body1.copyWith(fontSize: 18.0),), 27 | ), 28 | body: Column( 29 | children: [ 30 | SizedBox( 31 | height: 200.0, 32 | width: double.infinity, 33 | child: RallyLineChart(events: items) 34 | ), 35 | Flexible( 36 | child: ListView( 37 | shrinkWrap: true, 38 | children: cards 39 | ), 40 | ) 41 | ]), 42 | ); 43 | } 44 | } 45 | 46 | class _DetailedEventCard extends StatelessWidget { 47 | const _DetailedEventCard({ 48 | @required this.title, 49 | @required this.subtitle, 50 | @required this.amount, 51 | }); 52 | 53 | final String title; 54 | final String subtitle; 55 | final double amount; 56 | 57 | @override 58 | Widget build(BuildContext context) { 59 | return FlatButton( 60 | onPressed: () {}, 61 | child: SizedBox( 62 | height: 68.0, 63 | child: Column( 64 | children: [ 65 | SizedBox( 66 | height: 67.0, 67 | child: Row( 68 | children: [ 69 | Column( 70 | mainAxisAlignment: MainAxisAlignment.center, 71 | crossAxisAlignment: CrossAxisAlignment.start, 72 | children: [ 73 | Text(title, style: Theme.of(context).textTheme.body1.copyWith(fontSize: 16.0)), 74 | Text(subtitle, style: Theme.of(context).textTheme.body1.copyWith(color: RallyColors.gray60a)) 75 | ], 76 | ), 77 | Spacer(), 78 | Text('\$ ' + Formatters.usd.format(amount), 79 | style: Theme.of(context).textTheme.body2.copyWith( 80 | fontSize: 20.0, 81 | color: RallyColors.gray) 82 | ), 83 | ], 84 | ), 85 | ), 86 | Padding( 87 | padding: const EdgeInsets.only(left: 16.0, right: 16.0), 88 | child: SizedBox( 89 | height: 1.0, 90 | child: Container(color: Color(0xAA282828)) 91 | ), 92 | ) 93 | ], 94 | ) 95 | ), 96 | ); 97 | } 98 | 99 | } -------------------------------------------------------------------------------- /lib/pages/subpages/overview.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | 3 | /// Placeholder for the overview page. 4 | /// 5 | /// TODO(clocksmith): this page. 6 | class OverviewPage extends StatefulWidget { 7 | @override 8 | _OverviewPageState createState() => _OverviewPageState(); 9 | } 10 | 11 | class _OverviewPageState extends State { 12 | @override 13 | Widget build(BuildContext context) { 14 | return ListView( 15 | children: [ 16 | Image.asset('assets/logo.png'), 17 | Image.asset('assets/logo.png'), 18 | Image.asset('assets/logo.png') 19 | ]); 20 | } 21 | } -------------------------------------------------------------------------------- /lib/pages/subpages/settings.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/widgets.dart'; 3 | import 'package:rally_app_flutter/dummy_data/dummy_data.dart'; 4 | 5 | /// Placeholder for the settings page. 6 | /// 7 | /// TODO(clocksmith): this page. 8 | class SettingsPage extends StatefulWidget { 9 | @override 10 | _SettingsPageState createState() => _SettingsPageState(); 11 | } 12 | 13 | class _SettingsPageState extends State { 14 | List items = DummyDatas.getSettingsTitles() 15 | .map((String title) => _SettingsItem(title)) 16 | .toList(); 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | return ListView(children: items); 21 | } 22 | } 23 | 24 | class _SettingsItem extends StatelessWidget { 25 | _SettingsItem(this.title); 26 | 27 | final String title; 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return FlatButton( 32 | textColor: Colors.white, 33 | child: SizedBox( 34 | height: 60.0, 35 | child: Row(children: [ 36 | Text(title), 37 | ]), 38 | ), onPressed: () {}, 39 | ); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /lib/util/colors.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | /// Most color assignments in Rally are not like the the typical color 4 | /// assignments that are common in other apps. Instead of primarily mapping to 5 | /// component type and part, they are assigned round robin based on layout. 6 | class RallyColors { 7 | static const List accountColors = [ 8 | Color(0xFF005D57), 9 | Color(0xFF04B97F), 10 | Color(0xFF37EFBA), 11 | Color(0xFF007D51), 12 | ]; 13 | 14 | static const List billColors = [ 15 | Color(0xFFFFDC78), 16 | Color(0xFFFF6951), 17 | Color(0xFFFFD7D0), 18 | Color(0xFFFFAC12), 19 | ]; 20 | 21 | static const List budgetColors = [ 22 | Color(0xFFB2F2FF), 23 | Color(0xFFB15DFF), 24 | Color(0xFF72DEFF), 25 | Color(0xFF0082FB), 26 | ]; 27 | 28 | // TODO(clocksmith): Use color scheme where possible. 29 | static Color gray = Color(0xFFD8D8D8); 30 | static Color gray60a = Color(0x99D8D8D8); 31 | static Color gray25a = Color(0x40D8D8D8); 32 | static Color pageBg = Color(0xFF33333D); 33 | static Color inputBg = Color(0xFF26282F); 34 | 35 | /// Convenience method to get a single account color with position i. 36 | static Color getAccountColor(int i) { 37 | return getCycledColor(accountColors, i); 38 | } 39 | 40 | /// Convenience method to get a single bill color with position i. 41 | static Color getBillColor(int i) { 42 | return getCycledColor(billColors, i); 43 | } 44 | 45 | /// Convenience method to get a single budget color with position i. 46 | static Color getBudgetColor(int i) { 47 | return getCycledColor(budgetColors, i); 48 | } 49 | 50 | /// Gets a color from a list that is considered to be infinitely repeating. 51 | static Color getCycledColor(List colors, int i) { 52 | return colors[i % colors.length]; 53 | } 54 | } -------------------------------------------------------------------------------- /lib/util/constants.dart: -------------------------------------------------------------------------------- 1 | class Constants { 2 | static const int defaultAnimationMillis = 200; 3 | } -------------------------------------------------------------------------------- /lib/util/formatters.dart: -------------------------------------------------------------------------------- 1 | import 'package:intl/intl.dart'; 2 | 3 | class Formatters { 4 | static final NumberFormat usd = NumberFormat.currency(name: ''); 5 | static final NumberFormat usdWithSign = NumberFormat.currency(name: '\$'); 6 | static final DateFormat date = new DateFormat('MM-dd-yy'); 7 | } -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.8" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.0.4" 18 | charcode: 19 | dependency: transitive 20 | description: 21 | name: charcode 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.2" 25 | collection: 26 | dependency: transitive 27 | description: 28 | name: collection 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.14.11" 32 | cupertino_icons: 33 | dependency: "direct main" 34 | description: 35 | name: cupertino_icons 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "0.1.2" 39 | flutter: 40 | dependency: "direct main" 41 | description: flutter 42 | source: sdk 43 | version: "0.0.0" 44 | flutter_test: 45 | dependency: "direct dev" 46 | description: flutter 47 | source: sdk 48 | version: "0.0.0" 49 | intl: 50 | dependency: "direct main" 51 | description: 52 | name: intl 53 | url: "https://pub.dartlang.org" 54 | source: hosted 55 | version: "0.15.7" 56 | matcher: 57 | dependency: transitive 58 | description: 59 | name: matcher 60 | url: "https://pub.dartlang.org" 61 | source: hosted 62 | version: "0.12.3+1" 63 | meta: 64 | dependency: transitive 65 | description: 66 | name: meta 67 | url: "https://pub.dartlang.org" 68 | source: hosted 69 | version: "1.1.6" 70 | path: 71 | dependency: transitive 72 | description: 73 | name: path 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "1.6.2" 77 | pedantic: 78 | dependency: transitive 79 | description: 80 | name: pedantic 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "1.4.0" 84 | quiver: 85 | dependency: transitive 86 | description: 87 | name: quiver 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "2.0.1" 91 | sky_engine: 92 | dependency: transitive 93 | description: flutter 94 | source: sdk 95 | version: "0.0.99" 96 | source_span: 97 | dependency: transitive 98 | description: 99 | name: source_span 100 | url: "https://pub.dartlang.org" 101 | source: hosted 102 | version: "1.5.4" 103 | stack_trace: 104 | dependency: transitive 105 | description: 106 | name: stack_trace 107 | url: "https://pub.dartlang.org" 108 | source: hosted 109 | version: "1.9.3" 110 | stream_channel: 111 | dependency: transitive 112 | description: 113 | name: stream_channel 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.6.8" 117 | string_scanner: 118 | dependency: transitive 119 | description: 120 | name: string_scanner 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.0.4" 124 | term_glyph: 125 | dependency: transitive 126 | description: 127 | name: term_glyph 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "1.1.0" 131 | test_api: 132 | dependency: transitive 133 | description: 134 | name: test_api 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "0.2.2" 138 | typed_data: 139 | dependency: transitive 140 | description: 141 | name: typed_data 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.1.6" 145 | vector_math: 146 | dependency: transitive 147 | description: 148 | name: vector_math 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "2.0.8" 152 | sdks: 153 | dart: ">=2.1.0 <3.0.0" 154 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: rally_app_flutter 2 | description: A new Flutter project. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | 23 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | intl: ^0.15.7 27 | 28 | dev_dependencies: 29 | flutter_test: 30 | sdk: flutter 31 | 32 | 33 | # For information on the generic Dart part of this file, see the 34 | # following page: https://www.dartlang.org/tools/pub/pubspec 35 | 36 | # The following section is specific to Flutter. 37 | flutter: 38 | 39 | # The following line ensures that the Material Icons font is 40 | # included with your application, so that you can use the icons in 41 | # the material Icons class. 42 | uses-material-design: true 43 | 44 | # To add assets to your application, add an assets section, like this: 45 | assets: 46 | - assets/logo.png 47 | - assets/thumb.png 48 | 49 | - assets/ic_arrow_back_24px.png 50 | - assets/ic_arrow_forward_ios_24px.png 51 | - assets/ic_attach_money_24px.png 52 | - assets/ic_bar_chart_24px.png 53 | - assets/ic_credit_card_24px.png 54 | - assets/ic_info_outline_24px.png 55 | - assets/ic_money_off_24px.png 56 | - assets/ic_not_interested_24px.png 57 | - assets/ic_pie_chart_24px.png 58 | - assets/ic_pie_chart_outlined_24px.png 59 | - assets/ic_search_24px.png 60 | - assets/ic_settings_24px.png 61 | - assets/ic_sort_24px.png 62 | # An image asset can refer to one or more resolution-specific "variants", see 63 | # https://flutter.io/assets-and-images/#resolution-aware. 64 | 65 | # For details regarding adding assets from package dependencies, see 66 | # https://flutter.io/assets-and-images/#from-packages 67 | 68 | # To add custom fonts to your application, add a fonts section here, 69 | # in this "flutter" section. Each entry in this list should have a 70 | # "family" key with the font family name, and a "fonts" key with a 71 | # list giving the asset and other descriptors for the font. For 72 | # example: 73 | # fonts: 74 | # - family: Schyler 75 | # fonts: 76 | # - asset: fonts/Schyler-Regular.ttf 77 | # - asset: fonts/Schyler-Italic.ttf 78 | # style: italic 79 | # - family: Trajan Pro 80 | # fonts: 81 | # - asset: fonts/TrajanPro.ttf 82 | # - asset: fonts/TrajanPro_Bold.ttf 83 | # weight: 700 84 | # 85 | # For details regarding fonts from package dependencies, 86 | # see https://flutter.io/custom-fonts/#from-packages 87 | --------------------------------------------------------------------------------