├── .github └── FUNDING.yml ├── .gitignore ├── .metadata ├── .vscode └── launch.json ├── README.md ├── android ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── flutter_package_manager │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── fonts │ └── Rubik │ │ ├── OFL.txt │ │ ├── Rubik-Black.ttf │ │ ├── Rubik-BlackItalic.ttf │ │ ├── Rubik-Bold.ttf │ │ ├── Rubik-BoldItalic.ttf │ │ ├── Rubik-Italic.ttf │ │ ├── Rubik-Light.ttf │ │ ├── Rubik-LightItalic.ttf │ │ ├── Rubik-Medium.ttf │ │ ├── Rubik-MediumItalic.ttf │ │ └── Rubik-Regular.ttf └── images │ ├── 1.5x │ ├── box@1.5x.png │ ├── card@1.5x.png │ ├── customer@1.5x.png │ ├── gift@1.5x.png │ ├── home@1.5x.png │ ├── money@1.5x.png │ ├── settings@1.5x.png │ ├── shop@1.5x.png │ ├── shoppingcart@1.5x.png │ ├── start-fill@1.5x.png │ ├── start-filled@1.5x.png │ ├── start-opacity@1.5x.png │ └── truck@1.5x.png │ ├── 1x │ ├── box.png │ ├── card.png │ ├── customer.png │ ├── gift.png │ ├── home.png │ ├── money.png │ ├── settings.png │ ├── shop.png │ ├── shoppingcart.png │ ├── start-fill.png │ ├── start-filled.png │ ├── start-opacity.png │ └── truck.png │ ├── 2x │ ├── baseline_keyboard_arrow_right_white_18dp.png │ ├── box@2x.png │ ├── card@2x.png │ ├── customer@2x.png │ ├── gift@2x.png │ ├── home@2x.png │ ├── money@2x.png │ ├── settings@2x.png │ ├── shop@2x.png │ ├── shoppingcart@2x.png │ ├── start-fill@2x.png │ ├── start-filled@2x.png │ ├── start-opacity@2x.png │ └── truck@2x.png │ ├── 3x │ ├── box@3x.png │ ├── card@3x.png │ ├── customer@3x.png │ ├── gift@3x.png │ ├── home@3x.png │ ├── money@3x.png │ ├── settings@3x.png │ ├── shop@3x.png │ ├── shoppingcart@3x.png │ ├── start-fill@3x.png │ ├── start-filled@3x.png │ ├── start-opacity@3x.png │ └── truck@3x.png │ ├── 4x │ ├── box@4x.png │ ├── card@4x.png │ ├── customer@4x.png │ ├── gift@4x.png │ ├── home@4x.png │ ├── money@4x.png │ ├── settings@4x.png │ ├── shop@4x.png │ ├── shoppingcart@4x.png │ ├── start-fill@4x.png │ ├── start-filled@4x.png │ ├── start-opacity@4x.png │ └── truck@4x.png │ └── CustomX │ ├── Gift-250x.png │ └── Gift-500x.png ├── doc ├── App Design.xd ├── AppPreview.gif ├── AppPreview.mov ├── AppPreviewAnimation.gif ├── AppPreviewGithubCard.png ├── Artboards │ ├── 1. Home.png │ ├── 2. Customers.png │ ├── 3. Sales.png │ ├── 4. Packagedates.png │ ├── 5. Drawer.png │ ├── 6. Settings.png │ └── Pages.psd ├── GooglePlayFunctionImage.jpg ├── GooglePlayThumb.png ├── google-play-badge.png └── google-play-badge.svg ├── 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.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── core │ ├── auth.dart │ └── util.dart ├── dummy_data.dart ├── main.dart ├── models │ ├── customer.dart │ ├── packageDates.dart │ └── sale.dart ├── screens │ ├── articles.dart │ ├── customers.dart │ ├── customers_list_item.dart │ ├── deliveries.dart │ ├── home.dart │ ├── login.dart │ ├── packageDates.dart │ ├── packageDates_list_item.dart │ ├── packages.dart │ ├── sales.dart │ ├── sales_list_item.dart │ └── settings.dart └── widgets │ ├── appBar.dart │ ├── appDrawer.dart │ └── bottomNavBar.dart ├── pubspec.lock ├── pubspec.yaml └── test └── widget_test.dart /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://paypal.me/jwalhout?locale.x=nl_NL'] 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | .dart_tool/ 26 | .flutter-plugins 27 | .packages 28 | .pub-cache/ 29 | .pub/ 30 | /build/ 31 | 32 | # Android related 33 | **/android/**/gradle-wrapper.jar 34 | **/android/.gradle 35 | **/android/captures/ 36 | **/android/gradlew 37 | **/android/gradlew.bat 38 | **/android/local.properties 39 | **/android/**/GeneratedPluginRegistrant.java 40 | **/android/key.properties 41 | **/android/app/google-services.json 42 | 43 | # iOS/XCode related 44 | **/ios/**/*.mode1v3 45 | **/ios/**/*.mode2v3 46 | **/ios/**/*.moved-aside 47 | **/ios/**/*.pbxuser 48 | **/ios/**/*.perspectivev3 49 | **/ios/**/*sync/ 50 | **/ios/**/.sconsign.dblite 51 | **/ios/**/.tags* 52 | **/ios/**/.vagrant/ 53 | **/ios/**/DerivedData/ 54 | **/ios/**/Icon? 55 | **/ios/**/Pods/ 56 | **/ios/**/.symlinks/ 57 | **/ios/**/profile 58 | **/ios/**/xcuserdata 59 | **/ios/.generated/ 60 | **/ios/Flutter/App.framework 61 | **/ios/Flutter/Flutter.framework 62 | **/ios/Flutter/Generated.xcconfig 63 | **/ios/Flutter/app.flx 64 | **/ios/Flutter/app.zip 65 | **/ios/Flutter/flutter_assets/ 66 | **/ios/Flutter/flutter_export_environment.sh 67 | **/ios/ServiceDefinitions.json 68 | **/ios/Runner/GeneratedPluginRegistrant.* 69 | 70 | # Exceptions to above rules. 71 | !**/ios/**/default.mode1v3 72 | !**/ios/**/default.mode2v3 73 | !**/ios/**/default.pbxuser 74 | !**/ios/**/default.perspectivev3 75 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 76 | -------------------------------------------------------------------------------- /.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: 1aedbb1835bd6eb44550293d57d4d124f19901f0 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "Flutter", 9 | "request": "launch", 10 | "type": "dart" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🎁 Flutter Package Manager App 2 | 3 | A Flutter app based on a webapplication I made for a customer. My idea here is they can access the same data as in the webapplication just in a native app, made with Flutter :). 4 | 5 | The purpose of this repo is to share the base of the app I made so far, so you can take advantage of it. 6 | 7 | I have mainly focused on two parts now: 8 | 1. The design and pages 9 | 2. The (re)usalbility of the Drawer, Appbar and the Bottomnavigationbar*. I only made one drawer, appbar and bottomnavigation, which can be used through the whole app. 10 | 11 | ## Getting Started 🚀 12 | 13 | ```shell 14 | - Clone the repo 15 | - Install the dependicies 16 | - Run it 17 | ``` 18 | 19 | ## Preview and Google Play 20 | 21 | ![App preview](doc/AppPreview.gif) 22 | 23 | [![Get it on Google Play](doc/google-play-badge.png)](https://play.google.com/store/apps/details?id=com.interestinate.flutter_package_manager) 24 | 25 | ## Version history 26 | 27 | | Version | Date | Comments | 28 | | ------- | ------------------ | -------------------------------- | 29 | | 1.0 | ~October 2019 | Initial release | 30 | 31 | ## Contributing 32 | 33 | Feel welcome and free to submit issues, pull requests and features to this repo. 34 | 35 | ## Support me 36 | 37 | I really like to make as much (free) beautiful Flutter apps, so you get inspired! 38 | Hence you can support me by: 39 | 40 | ⭐️ this repo if you like it. 41 | 42 | [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/jwalhout?locale.x=nl_NL) 43 | 44 | Thank you in advanced 👍 45 | 46 | ## Other Flutter Apps 47 | 48 | There are other example Apps made with flutter, see more on [Interestinate](https://interestinate.com). 49 | 50 | Or the following repo's: 51 | - An iOS focused Flutter App: [iSubscribe](https://github.com/LiveLikeCounter/Flutter-iSubscribe) 52 | - A Food Delivery Flutter App: [Food Delivery](https://github.com/LiveLikeCounter/Flutter-Food-Delivery) 53 | - A To Do App based on Flutter: [To Do](https://github.com/LiveLikeCounter/Flutter-Todolist) 54 | - A Paypal Redesign made in Flutter: [Paypal Redesign](https://github.com/LiveLikeCounter/Flutter-Paypal-Redesign) 55 | 56 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | def keystoreProperties = new Properties() 29 | def keystorePropertiesFile = rootProject.file('key.properties') 30 | if (keystorePropertiesFile.exists()) { 31 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) 32 | } 33 | 34 | android { 35 | compileSdkVersion 28 36 | 37 | sourceSets { 38 | main.java.srcDirs += 'src/main/kotlin' 39 | } 40 | 41 | lintOptions { 42 | disable 'InvalidPackage' 43 | } 44 | 45 | defaultConfig { 46 | applicationId "com.interestinate.flutter_package_manager" 47 | minSdkVersion 16 48 | targetSdkVersion 28 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 52 | } 53 | 54 | signingConfigs { 55 | release { 56 | keyAlias keystoreProperties['keyAlias'] 57 | keyPassword keystoreProperties['keyPassword'] 58 | storeFile file(keystoreProperties['storeFile']) 59 | storePassword keystoreProperties['storePassword'] 60 | } 61 | } 62 | buildTypes { 63 | release { 64 | signingConfig signingConfigs.release 65 | 66 | minifyEnabled true 67 | useProguard true 68 | 69 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 70 | } 71 | } 72 | } 73 | 74 | flutter { 75 | source '../..' 76 | } 77 | 78 | dependencies { 79 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 80 | testImplementation 'junit:junit:4.12' 81 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 82 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 83 | implementation 'com.google.firebase:firebase-analytics:17.2.0' 84 | } 85 | 86 | apply plugin: 'com.google.gms.google-services' 87 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | ## Flutter wrapper 2 | -keep class io.flutter.app.** { *; } 3 | -keep class io.flutter.plugin.** { *; } 4 | -keep class io.flutter.util.** { *; } 5 | -keep class io.flutter.view.** { *; } 6 | -keep class io.flutter.** { *; } 7 | -keep class io.flutter.plugins.** { *; } 8 | -dontwarn io.flutter.embedding.** -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 11 | 15 | 22 | 26 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/flutter_package_manager/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.interestinate.flutter_package_manager 2 | 3 | import android.os.Bundle 4 | 5 | import io.flutter.app.FlutterActivity 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun onCreate(savedInstanceState: Bundle?) { 10 | super.onCreate(savedInstanceState) 11 | GeneratedPluginRegistrant.registerWith(this) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-hdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-mdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.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 | ext.kotlin_version = '1.2.71' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.2.1' 10 | classpath 'com.google.gms:google-services:4.3.2' 11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | google() 18 | jcenter() 19 | } 20 | } 21 | 22 | rootProject.buildDir = '../build' 23 | subprojects { 24 | project.buildDir = "${rootProject.buildDir}/${project.name}" 25 | } 26 | subprojects { 27 | project.evaluationDependsOn(':app') 28 | } 29 | 30 | task clean(type: Delete) { 31 | delete rootProject.buildDir 32 | } 33 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | android.useAndroidX=true 2 | android.enableJetifier=true 3 | 4 | org.gradle.jvmargs=-Xmx1536M 5 | 6 | android.enableR8=true 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /assets/fonts/Rubik/OFL.txt: -------------------------------------------------------------------------------- 1 | Copyright 2015 The Rubik Project Authors, 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | This license is copied below, and is also available with a FAQ at: 5 | http://scripts.sil.org/OFL 6 | 7 | 8 | ----------------------------------------------------------- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | ----------------------------------------------------------- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide 14 | development of collaborative font projects, to support the font creation 15 | efforts of academic and linguistic communities, and to provide a free and 16 | open framework in which fonts may be shared and improved in partnership 17 | with others. 18 | 19 | The OFL allows the licensed fonts to be used, studied, modified and 20 | redistributed freely as long as they are not sold by themselves. The 21 | fonts, including any derivative works, can be bundled, embedded, 22 | redistributed and/or sold with any software provided that any reserved 23 | names are not used by derivative works. The fonts and derivatives, 24 | however, cannot be released under any other type of license. The 25 | requirement for fonts to remain under this license does not apply 26 | to any document created using the fonts or their derivatives. 27 | 28 | DEFINITIONS 29 | "Font Software" refers to the set of files released by the Copyright 30 | Holder(s) under this license and clearly marked as such. This may 31 | include source files, build scripts and documentation. 32 | 33 | "Reserved Font Name" refers to any names specified as such after the 34 | copyright statement(s). 35 | 36 | "Original Version" refers to the collection of Font Software components as 37 | distributed by the Copyright Holder(s). 38 | 39 | "Modified Version" refers to any derivative made by adding to, deleting, 40 | or substituting -- in part or in whole -- any of the components of the 41 | Original Version, by changing formats or by porting the Font Software to a 42 | new environment. 43 | 44 | "Author" refers to any designer, engineer, programmer, technical 45 | writer or other person who contributed to the Font Software. 46 | 47 | PERMISSION & CONDITIONS 48 | Permission is hereby granted, free of charge, to any person obtaining 49 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 50 | redistribute, and sell modified and unmodified copies of the Font 51 | Software, subject to the following conditions: 52 | 53 | 1) Neither the Font Software nor any of its individual components, 54 | in Original or Modified Versions, may be sold by itself. 55 | 56 | 2) Original or Modified Versions of the Font Software may be bundled, 57 | redistributed and/or sold with any software, provided that each copy 58 | contains the above copyright notice and this license. These can be 59 | included either as stand-alone text files, human-readable headers or 60 | in the appropriate machine-readable metadata fields within text or 61 | binary files as long as those fields can be easily viewed by the user. 62 | 63 | 3) No Modified Version of the Font Software may use the Reserved Font 64 | Name(s) unless explicit written permission is granted by the corresponding 65 | Copyright Holder. This restriction only applies to the primary font name as 66 | presented to the users. 67 | 68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 69 | Software shall not be used to promote, endorse or advertise any 70 | Modified Version, except to acknowledge the contribution(s) of the 71 | Copyright Holder(s) and the Author(s) or with their explicit written 72 | permission. 73 | 74 | 5) The Font Software, modified or unmodified, in part or in whole, 75 | must be distributed entirely under this license, and must not be 76 | distributed under any other license. The requirement for fonts to 77 | remain under this license does not apply to any document created 78 | using the Font Software. 79 | 80 | TERMINATION 81 | This license becomes null and void if any of the above conditions are 82 | not met. 83 | 84 | DISCLAIMER 85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 93 | OTHER DEALINGS IN THE FONT SOFTWARE. 94 | -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Black.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-BlackItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-LightItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-MediumItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Rubik/Rubik-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/fonts/Rubik/Rubik-Regular.ttf -------------------------------------------------------------------------------- /assets/images/1.5x/box@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/box@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/card@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/card@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/customer@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/customer@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/gift@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/gift@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/home@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/home@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/money@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/money@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/settings@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/settings@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/shop@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/shop@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/shoppingcart@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/shoppingcart@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/start-fill@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/start-fill@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/start-filled@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/start-filled@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/start-opacity@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/start-opacity@1.5x.png -------------------------------------------------------------------------------- /assets/images/1.5x/truck@1.5x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1.5x/truck@1.5x.png -------------------------------------------------------------------------------- /assets/images/1x/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/box.png -------------------------------------------------------------------------------- /assets/images/1x/card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/card.png -------------------------------------------------------------------------------- /assets/images/1x/customer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/customer.png -------------------------------------------------------------------------------- /assets/images/1x/gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/gift.png -------------------------------------------------------------------------------- /assets/images/1x/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/home.png -------------------------------------------------------------------------------- /assets/images/1x/money.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/money.png -------------------------------------------------------------------------------- /assets/images/1x/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/settings.png -------------------------------------------------------------------------------- /assets/images/1x/shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/shop.png -------------------------------------------------------------------------------- /assets/images/1x/shoppingcart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/shoppingcart.png -------------------------------------------------------------------------------- /assets/images/1x/start-fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/start-fill.png -------------------------------------------------------------------------------- /assets/images/1x/start-filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/start-filled.png -------------------------------------------------------------------------------- /assets/images/1x/start-opacity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/start-opacity.png -------------------------------------------------------------------------------- /assets/images/1x/truck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/1x/truck.png -------------------------------------------------------------------------------- /assets/images/2x/baseline_keyboard_arrow_right_white_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/baseline_keyboard_arrow_right_white_18dp.png -------------------------------------------------------------------------------- /assets/images/2x/box@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/box@2x.png -------------------------------------------------------------------------------- /assets/images/2x/card@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/card@2x.png -------------------------------------------------------------------------------- /assets/images/2x/customer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/customer@2x.png -------------------------------------------------------------------------------- /assets/images/2x/gift@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/gift@2x.png -------------------------------------------------------------------------------- /assets/images/2x/home@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/home@2x.png -------------------------------------------------------------------------------- /assets/images/2x/money@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/money@2x.png -------------------------------------------------------------------------------- /assets/images/2x/settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/settings@2x.png -------------------------------------------------------------------------------- /assets/images/2x/shop@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/shop@2x.png -------------------------------------------------------------------------------- /assets/images/2x/shoppingcart@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/shoppingcart@2x.png -------------------------------------------------------------------------------- /assets/images/2x/start-fill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/start-fill@2x.png -------------------------------------------------------------------------------- /assets/images/2x/start-filled@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/start-filled@2x.png -------------------------------------------------------------------------------- /assets/images/2x/start-opacity@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/start-opacity@2x.png -------------------------------------------------------------------------------- /assets/images/2x/truck@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/2x/truck@2x.png -------------------------------------------------------------------------------- /assets/images/3x/box@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/box@3x.png -------------------------------------------------------------------------------- /assets/images/3x/card@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/card@3x.png -------------------------------------------------------------------------------- /assets/images/3x/customer@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/customer@3x.png -------------------------------------------------------------------------------- /assets/images/3x/gift@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/gift@3x.png -------------------------------------------------------------------------------- /assets/images/3x/home@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/home@3x.png -------------------------------------------------------------------------------- /assets/images/3x/money@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/money@3x.png -------------------------------------------------------------------------------- /assets/images/3x/settings@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/settings@3x.png -------------------------------------------------------------------------------- /assets/images/3x/shop@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/shop@3x.png -------------------------------------------------------------------------------- /assets/images/3x/shoppingcart@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/shoppingcart@3x.png -------------------------------------------------------------------------------- /assets/images/3x/start-fill@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/start-fill@3x.png -------------------------------------------------------------------------------- /assets/images/3x/start-filled@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/start-filled@3x.png -------------------------------------------------------------------------------- /assets/images/3x/start-opacity@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/start-opacity@3x.png -------------------------------------------------------------------------------- /assets/images/3x/truck@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/3x/truck@3x.png -------------------------------------------------------------------------------- /assets/images/4x/box@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/box@4x.png -------------------------------------------------------------------------------- /assets/images/4x/card@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/card@4x.png -------------------------------------------------------------------------------- /assets/images/4x/customer@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/customer@4x.png -------------------------------------------------------------------------------- /assets/images/4x/gift@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/gift@4x.png -------------------------------------------------------------------------------- /assets/images/4x/home@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/home@4x.png -------------------------------------------------------------------------------- /assets/images/4x/money@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/money@4x.png -------------------------------------------------------------------------------- /assets/images/4x/settings@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/settings@4x.png -------------------------------------------------------------------------------- /assets/images/4x/shop@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/shop@4x.png -------------------------------------------------------------------------------- /assets/images/4x/shoppingcart@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/shoppingcart@4x.png -------------------------------------------------------------------------------- /assets/images/4x/start-fill@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/start-fill@4x.png -------------------------------------------------------------------------------- /assets/images/4x/start-filled@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/start-filled@4x.png -------------------------------------------------------------------------------- /assets/images/4x/start-opacity@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/start-opacity@4x.png -------------------------------------------------------------------------------- /assets/images/4x/truck@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/4x/truck@4x.png -------------------------------------------------------------------------------- /assets/images/CustomX/Gift-250x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/CustomX/Gift-250x.png -------------------------------------------------------------------------------- /assets/images/CustomX/Gift-500x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/assets/images/CustomX/Gift-500x.png -------------------------------------------------------------------------------- /doc/App Design.xd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/App Design.xd -------------------------------------------------------------------------------- /doc/AppPreview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/AppPreview.gif -------------------------------------------------------------------------------- /doc/AppPreview.mov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/AppPreview.mov -------------------------------------------------------------------------------- /doc/AppPreviewAnimation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/AppPreviewAnimation.gif -------------------------------------------------------------------------------- /doc/AppPreviewGithubCard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/AppPreviewGithubCard.png -------------------------------------------------------------------------------- /doc/Artboards/1. Home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/1. Home.png -------------------------------------------------------------------------------- /doc/Artboards/2. Customers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/2. Customers.png -------------------------------------------------------------------------------- /doc/Artboards/3. Sales.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/3. Sales.png -------------------------------------------------------------------------------- /doc/Artboards/4. Packagedates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/4. Packagedates.png -------------------------------------------------------------------------------- /doc/Artboards/5. Drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/5. Drawer.png -------------------------------------------------------------------------------- /doc/Artboards/6. Settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/6. Settings.png -------------------------------------------------------------------------------- /doc/Artboards/Pages.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/Artboards/Pages.psd -------------------------------------------------------------------------------- /doc/GooglePlayFunctionImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/GooglePlayFunctionImage.jpg -------------------------------------------------------------------------------- /doc/GooglePlayThumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/GooglePlayThumb.png -------------------------------------------------------------------------------- /doc/google-play-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/doc/google-play-badge.png -------------------------------------------------------------------------------- /doc/google-play-badge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ]> 13 | 16 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 41 | 53 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 109 | 111 | 113 | 114 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 18 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 19 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 20 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXCopyFilesBuildPhase section */ 24 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 25 | isa = PBXCopyFilesBuildPhase; 26 | buildActionMask = 2147483647; 27 | dstPath = ""; 28 | dstSubfolderSpec = 10; 29 | files = ( 30 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 31 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 32 | ); 33 | name = "Embed Frameworks"; 34 | runOnlyForDeploymentPostprocessing = 0; 35 | }; 36 | /* End PBXCopyFilesBuildPhase section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 40 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 41 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 42 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 43 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 44 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 45 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 46 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 47 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 48 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 49 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 51 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 52 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 53 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | /* End PBXFileReference section */ 55 | 56 | /* Begin PBXFrameworksBuildPhase section */ 57 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 58 | isa = PBXFrameworksBuildPhase; 59 | buildActionMask = 2147483647; 60 | files = ( 61 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 62 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | /* End PBXFrameworksBuildPhase section */ 67 | 68 | /* Begin PBXGroup section */ 69 | 9740EEB11CF90186004384FC /* Flutter */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 3B80C3931E831B6300D905FE /* App.framework */, 73 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 74 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 75 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 76 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 77 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 78 | ); 79 | name = Flutter; 80 | sourceTree = ""; 81 | }; 82 | 97C146E51CF9000F007C117D = { 83 | isa = PBXGroup; 84 | children = ( 85 | 9740EEB11CF90186004384FC /* Flutter */, 86 | 97C146F01CF9000F007C117D /* Runner */, 87 | 97C146EF1CF9000F007C117D /* Products */, 88 | ); 89 | sourceTree = ""; 90 | }; 91 | 97C146EF1CF9000F007C117D /* Products */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 97C146EE1CF9000F007C117D /* Runner.app */, 95 | ); 96 | name = Products; 97 | sourceTree = ""; 98 | }; 99 | 97C146F01CF9000F007C117D /* Runner */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 103 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 104 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 105 | 97C147021CF9000F007C117D /* Info.plist */, 106 | 97C146F11CF9000F007C117D /* Supporting Files */, 107 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 108 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 109 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 110 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 111 | ); 112 | path = Runner; 113 | sourceTree = ""; 114 | }; 115 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | ); 119 | name = "Supporting Files"; 120 | sourceTree = ""; 121 | }; 122 | /* End PBXGroup section */ 123 | 124 | /* Begin PBXNativeTarget section */ 125 | 97C146ED1CF9000F007C117D /* Runner */ = { 126 | isa = PBXNativeTarget; 127 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 128 | buildPhases = ( 129 | 9740EEB61CF901F6004384FC /* Run Script */, 130 | 97C146EA1CF9000F007C117D /* Sources */, 131 | 97C146EB1CF9000F007C117D /* Frameworks */, 132 | 97C146EC1CF9000F007C117D /* Resources */, 133 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 134 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 135 | ); 136 | buildRules = ( 137 | ); 138 | dependencies = ( 139 | ); 140 | name = Runner; 141 | productName = Runner; 142 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 143 | productType = "com.apple.product-type.application"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 97C146E61CF9000F007C117D /* Project object */ = { 149 | isa = PBXProject; 150 | attributes = { 151 | LastUpgradeCheck = 1020; 152 | ORGANIZATIONNAME = "The Chromium Authors"; 153 | TargetAttributes = { 154 | 97C146ED1CF9000F007C117D = { 155 | CreatedOnToolsVersion = 7.3.1; 156 | LastSwiftMigration = 0910; 157 | }; 158 | }; 159 | }; 160 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 161 | compatibilityVersion = "Xcode 3.2"; 162 | developmentRegion = en; 163 | hasScannedForEncodings = 0; 164 | knownRegions = ( 165 | en, 166 | Base, 167 | ); 168 | mainGroup = 97C146E51CF9000F007C117D; 169 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 170 | projectDirPath = ""; 171 | projectRoot = ""; 172 | targets = ( 173 | 97C146ED1CF9000F007C117D /* Runner */, 174 | ); 175 | }; 176 | /* End PBXProject section */ 177 | 178 | /* Begin PBXResourcesBuildPhase section */ 179 | 97C146EC1CF9000F007C117D /* Resources */ = { 180 | isa = PBXResourcesBuildPhase; 181 | buildActionMask = 2147483647; 182 | files = ( 183 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 184 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 185 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 186 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 187 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | }; 191 | /* End PBXResourcesBuildPhase section */ 192 | 193 | /* Begin PBXShellScriptBuildPhase section */ 194 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 195 | isa = PBXShellScriptBuildPhase; 196 | buildActionMask = 2147483647; 197 | files = ( 198 | ); 199 | inputPaths = ( 200 | ); 201 | name = "Thin Binary"; 202 | outputPaths = ( 203 | ); 204 | runOnlyForDeploymentPostprocessing = 0; 205 | shellPath = /bin/sh; 206 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 207 | }; 208 | 9740EEB61CF901F6004384FC /* Run Script */ = { 209 | isa = PBXShellScriptBuildPhase; 210 | buildActionMask = 2147483647; 211 | files = ( 212 | ); 213 | inputPaths = ( 214 | ); 215 | name = "Run Script"; 216 | outputPaths = ( 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | shellPath = /bin/sh; 220 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 221 | }; 222 | /* End PBXShellScriptBuildPhase section */ 223 | 224 | /* Begin PBXSourcesBuildPhase section */ 225 | 97C146EA1CF9000F007C117D /* Sources */ = { 226 | isa = PBXSourcesBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 230 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | /* End PBXSourcesBuildPhase section */ 235 | 236 | /* Begin PBXVariantGroup section */ 237 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 238 | isa = PBXVariantGroup; 239 | children = ( 240 | 97C146FB1CF9000F007C117D /* Base */, 241 | ); 242 | name = Main.storyboard; 243 | sourceTree = ""; 244 | }; 245 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 246 | isa = PBXVariantGroup; 247 | children = ( 248 | 97C147001CF9000F007C117D /* Base */, 249 | ); 250 | name = LaunchScreen.storyboard; 251 | sourceTree = ""; 252 | }; 253 | /* End PBXVariantGroup section */ 254 | 255 | /* Begin XCBuildConfiguration section */ 256 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 257 | isa = XCBuildConfiguration; 258 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 259 | buildSettings = { 260 | ALWAYS_SEARCH_USER_PATHS = NO; 261 | CLANG_ANALYZER_NONNULL = YES; 262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 263 | CLANG_CXX_LIBRARY = "libc++"; 264 | CLANG_ENABLE_MODULES = YES; 265 | CLANG_ENABLE_OBJC_ARC = YES; 266 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 267 | CLANG_WARN_BOOL_CONVERSION = YES; 268 | CLANG_WARN_COMMA = YES; 269 | CLANG_WARN_CONSTANT_CONVERSION = YES; 270 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 271 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 272 | CLANG_WARN_EMPTY_BODY = YES; 273 | CLANG_WARN_ENUM_CONVERSION = YES; 274 | CLANG_WARN_INFINITE_RECURSION = YES; 275 | CLANG_WARN_INT_CONVERSION = YES; 276 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 277 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 278 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 279 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 280 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 281 | CLANG_WARN_STRICT_PROTOTYPES = YES; 282 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 283 | CLANG_WARN_UNREACHABLE_CODE = YES; 284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 286 | COPY_PHASE_STRIP = NO; 287 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 288 | ENABLE_NS_ASSERTIONS = NO; 289 | ENABLE_STRICT_OBJC_MSGSEND = YES; 290 | GCC_C_LANGUAGE_STANDARD = gnu99; 291 | GCC_NO_COMMON_BLOCKS = YES; 292 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 293 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 294 | GCC_WARN_UNDECLARED_SELECTOR = YES; 295 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 296 | GCC_WARN_UNUSED_FUNCTION = YES; 297 | GCC_WARN_UNUSED_VARIABLE = YES; 298 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 299 | MTL_ENABLE_DEBUG_INFO = NO; 300 | SDKROOT = iphoneos; 301 | TARGETED_DEVICE_FAMILY = "1,2"; 302 | VALIDATE_PRODUCT = YES; 303 | }; 304 | name = Profile; 305 | }; 306 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 307 | isa = XCBuildConfiguration; 308 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 309 | buildSettings = { 310 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 311 | CLANG_ENABLE_MODULES = YES; 312 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 313 | ENABLE_BITCODE = NO; 314 | FRAMEWORK_SEARCH_PATHS = ( 315 | "$(inherited)", 316 | "$(PROJECT_DIR)/Flutter", 317 | ); 318 | INFOPLIST_FILE = Runner/Info.plist; 319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 320 | LIBRARY_SEARCH_PATHS = ( 321 | "$(inherited)", 322 | "$(PROJECT_DIR)/Flutter", 323 | ); 324 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPackageManager; 325 | PRODUCT_NAME = "$(TARGET_NAME)"; 326 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 327 | SWIFT_VERSION = 4.0; 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_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 348 | CLANG_WARN_EMPTY_BODY = YES; 349 | CLANG_WARN_ENUM_CONVERSION = YES; 350 | CLANG_WARN_INFINITE_RECURSION = YES; 351 | CLANG_WARN_INT_CONVERSION = YES; 352 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 353 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 354 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 355 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 356 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 357 | CLANG_WARN_STRICT_PROTOTYPES = YES; 358 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 359 | CLANG_WARN_UNREACHABLE_CODE = YES; 360 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 361 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 362 | COPY_PHASE_STRIP = NO; 363 | DEBUG_INFORMATION_FORMAT = dwarf; 364 | ENABLE_STRICT_OBJC_MSGSEND = YES; 365 | ENABLE_TESTABILITY = YES; 366 | GCC_C_LANGUAGE_STANDARD = gnu99; 367 | GCC_DYNAMIC_NO_PIC = NO; 368 | GCC_NO_COMMON_BLOCKS = YES; 369 | GCC_OPTIMIZATION_LEVEL = 0; 370 | GCC_PREPROCESSOR_DEFINITIONS = ( 371 | "DEBUG=1", 372 | "$(inherited)", 373 | ); 374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 376 | GCC_WARN_UNDECLARED_SELECTOR = YES; 377 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 378 | GCC_WARN_UNUSED_FUNCTION = YES; 379 | GCC_WARN_UNUSED_VARIABLE = YES; 380 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 381 | MTL_ENABLE_DEBUG_INFO = YES; 382 | ONLY_ACTIVE_ARCH = YES; 383 | SDKROOT = iphoneos; 384 | TARGETED_DEVICE_FAMILY = "1,2"; 385 | }; 386 | name = Debug; 387 | }; 388 | 97C147041CF9000F007C117D /* Release */ = { 389 | isa = XCBuildConfiguration; 390 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 391 | buildSettings = { 392 | ALWAYS_SEARCH_USER_PATHS = NO; 393 | CLANG_ANALYZER_NONNULL = YES; 394 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 395 | CLANG_CXX_LIBRARY = "libc++"; 396 | CLANG_ENABLE_MODULES = YES; 397 | CLANG_ENABLE_OBJC_ARC = YES; 398 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 399 | CLANG_WARN_BOOL_CONVERSION = YES; 400 | CLANG_WARN_COMMA = YES; 401 | CLANG_WARN_CONSTANT_CONVERSION = YES; 402 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 403 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 404 | CLANG_WARN_EMPTY_BODY = YES; 405 | CLANG_WARN_ENUM_CONVERSION = YES; 406 | CLANG_WARN_INFINITE_RECURSION = YES; 407 | CLANG_WARN_INT_CONVERSION = YES; 408 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 409 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 413 | CLANG_WARN_STRICT_PROTOTYPES = YES; 414 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 415 | CLANG_WARN_UNREACHABLE_CODE = YES; 416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 418 | COPY_PHASE_STRIP = NO; 419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 420 | ENABLE_NS_ASSERTIONS = NO; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | GCC_C_LANGUAGE_STANDARD = gnu99; 423 | GCC_NO_COMMON_BLOCKS = YES; 424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 426 | GCC_WARN_UNDECLARED_SELECTOR = YES; 427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 428 | GCC_WARN_UNUSED_FUNCTION = YES; 429 | GCC_WARN_UNUSED_VARIABLE = YES; 430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 431 | MTL_ENABLE_DEBUG_INFO = NO; 432 | SDKROOT = iphoneos; 433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 434 | TARGETED_DEVICE_FAMILY = "1,2"; 435 | VALIDATE_PRODUCT = YES; 436 | }; 437 | name = Release; 438 | }; 439 | 97C147061CF9000F007C117D /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 442 | buildSettings = { 443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 444 | CLANG_ENABLE_MODULES = YES; 445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 446 | ENABLE_BITCODE = NO; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | INFOPLIST_FILE = Runner/Info.plist; 452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 453 | LIBRARY_SEARCH_PATHS = ( 454 | "$(inherited)", 455 | "$(PROJECT_DIR)/Flutter", 456 | ); 457 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPackageManager; 458 | PRODUCT_NAME = "$(TARGET_NAME)"; 459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 461 | SWIFT_VERSION = 4.0; 462 | VERSIONING_SYSTEM = "apple-generic"; 463 | }; 464 | name = Debug; 465 | }; 466 | 97C147071CF9000F007C117D /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 469 | buildSettings = { 470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 471 | CLANG_ENABLE_MODULES = YES; 472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 473 | ENABLE_BITCODE = NO; 474 | FRAMEWORK_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | INFOPLIST_FILE = Runner/Info.plist; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 480 | LIBRARY_SEARCH_PATHS = ( 481 | "$(inherited)", 482 | "$(PROJECT_DIR)/Flutter", 483 | ); 484 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterPackageManager; 485 | PRODUCT_NAME = "$(TARGET_NAME)"; 486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 487 | SWIFT_VERSION = 4.0; 488 | VERSIONING_SYSTEM = "apple-generic"; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 97C147031CF9000F007C117D /* Debug */, 499 | 97C147041CF9000F007C117D /* Release */, 500 | 249021D3217E4FDB00AE95B9 /* Profile */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | defaultConfigurationName = Release; 504 | }; 505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 506 | isa = XCConfigurationList; 507 | buildConfigurations = ( 508 | 97C147061CF9000F007C117D /* Debug */, 509 | 97C147071CF9000F007C117D /* Release */, 510 | 249021D4217E4FDB00AE95B9 /* Profile */, 511 | ); 512 | defaultConfigurationIsVisible = 0; 513 | defaultConfigurationName = Release; 514 | }; 515 | /* End XCConfigurationList section */ 516 | 517 | }; 518 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 519 | } 520 | -------------------------------------------------------------------------------- /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 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiveLikeCounter/Flutter-Package-Manager/51767daaedae43b8c184f11447d567a3faf62ac3/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | flutter_package_manager 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" -------------------------------------------------------------------------------- /lib/core/auth.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | // import 'package:firebase_auth/firebase_auth.dart'; 3 | 4 | // final FirebaseAuth _auth = FirebaseAuth.instance; 5 | 6 | class SignIn extends StatefulWidget { 7 | SignIn({Key key}) : super(key: key); 8 | 9 | _SignInState createState() => _SignInState(); 10 | } 11 | 12 | class _SignInState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Container( 16 | child: Text('data'), 17 | ); 18 | } 19 | } -------------------------------------------------------------------------------- /lib/core/util.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CustomThemes 4 | { 5 | // static const WhiteTheme = Theme.of(context).copyWith(canvasColor: Colors.white); 6 | } 7 | 8 | class CustomColors 9 | { 10 | static const Color BodyBackground = Color.fromRGBO(240, 248, 252, 1); 11 | static const Color GreyBorder = Color.fromRGBO(207, 207, 207, 1); 12 | 13 | static const Color YellowStar = Color.fromRGBO(225, 220, 0, 1); 14 | static const Color YellowBell = Color.fromRGBO(225, 220, 0, 1); 15 | 16 | /// Container indication colors: 17 | static const Color OrangeAccent = Color.fromRGBO(231, 148, 3, 1); 18 | static const Color GreenAccent = Color.fromRGBO(30, 209, 2, 1); 19 | static const Color YellowAccent = Color.fromRGBO(249, 194, 41, 1); 20 | 21 | static const Color ActiveIndication = Color.fromRGBO(0, 0, 0, 0.45); 22 | static const Color InactiveIndication = Colors.transparent; 23 | 24 | static const Color Header = Color.fromRGBO(0, 0, 0, .54); 25 | static const Color TextBody = Color.fromRGBO(130, 160, 183, 1); 26 | static const Color TextGrey = Color.fromRGBO(198, 198, 200, 1); 27 | 28 | static const Color Grey = Color.fromRGBO(70, 70, 70, 1); 29 | 30 | static const Color Purple = Color.fromRGBO(194, 24, 91, 1); 31 | 32 | static const Color Red = Color.fromRGBO(189, 66, 79, 1); 33 | static const Color Red2 = Color.fromRGBO(219, 78, 101, 1); 34 | static const Color Red3 = Color.fromRGBO(233, 100, 132, 1); 35 | 36 | static const Color Blue = Color.fromRGBO(12, 77, 114, 1); 37 | static const Color Blue2 = Color.fromRGBO(25, 112, 162, 1); 38 | static const Color Blue3 = Color.fromRGBO(40, 144, 205, 1); 39 | 40 | static const Color Yellow = Color.fromRGBO(248, 121, 7, 1); 41 | static const Color Yellow2 = Color.fromRGBO(249, 146, 16, 1); 42 | static const Color Yellow3 = Color.fromRGBO(231, 148, 3, 1); 43 | 44 | static const Color Green = Color.fromRGBO(57, 167, 82, 1); 45 | static const Color Green2 = Color.fromRGBO(66, 192, 119, 1); 46 | static const Color Green3 = Color.fromRGBO(71, 219, 161, 1); 47 | } 48 | 49 | class CustomTextStyles 50 | { 51 | static const TextStyle Header = TextStyle(fontSize: 16, color: CustomColors.Header); 52 | 53 | static const TextStyle AppBarHeader = TextStyle(fontSize: 30, fontWeight: FontWeight.w300, color: Colors.white); 54 | 55 | static const TextStyle AppDrawerTiles = TextStyle(fontSize: 15, fontWeight: FontWeight.w300, color: Colors.black); 56 | 57 | static const TextStyle ListTitleText = TextStyle(fontSize: 12, color: CustomColors.TextGrey); 58 | static const TextStyle ListSubTitleText = TextStyle(fontSize: 12, color: CustomColors.TextGrey); 59 | static const TextStyle ListContainerText = TextStyle(fontSize: 18, color: CustomColors.TextBody); 60 | static const TextStyle ListContainerNumber = TextStyle(fontSize: 60, color: CustomColors.TextBody); 61 | 62 | static const TextStyle CardGroupTitel = TextStyle(color: Colors.white, fontSize: 30); 63 | static const TextStyle CardGroupInfo = TextStyle(color: Colors.white, fontSize: 40); 64 | static const TextStyle CardGroupInfoSubscription = TextStyle(color: Colors.white, fontSize: 12); 65 | } 66 | 67 | 68 | -------------------------------------------------------------------------------- /lib/dummy_data.dart: -------------------------------------------------------------------------------- 1 | import './core/util.dart'; 2 | import './models/customer.dart'; 3 | import './models/sale.dart'; 4 | import './models/packageDates.dart'; 5 | 6 | 7 | const DUMMY_CUSTOMER = const [ 8 | Customer( 9 | id: '1', 10 | name: 'Customername one', 11 | packagesCount: 0, 12 | isFavorite: false 13 | ), 14 | Customer( 15 | id: '1', 16 | name: 'Customername two', 17 | packagesCount: 2, 18 | isFavorite: true 19 | ), 20 | Customer( 21 | id: '1', 22 | name: 'Customername three', 23 | packagesCount: 1, 24 | isFavorite: true 25 | ), 26 | Customer( 27 | id: '1', 28 | name: 'Customername four', 29 | packagesCount: 3, 30 | isFavorite: false 31 | ), 32 | Customer( 33 | id: '1', 34 | name: 'Customername five', 35 | packagesCount: 1, 36 | isFavorite: false 37 | ), 38 | Customer( 39 | id: '1', 40 | name: 'Customername six', 41 | packagesCount: 0, 42 | isFavorite: true 43 | ), 44 | Customer( 45 | id: '1', 46 | name: 'Customername seven', 47 | packagesCount: 1, 48 | isFavorite: false 49 | ), 50 | Customer( 51 | id: '1', 52 | name: 'Customername eight', 53 | packagesCount: 0, 54 | isFavorite: false 55 | ), 56 | Customer( 57 | id: '1', 58 | name: 'Customername nine', 59 | packagesCount: 0, 60 | isFavorite: false 61 | ), 62 | Customer( 63 | id: '1', 64 | name: 'Customername ten', 65 | packagesCount: 1, 66 | isFavorite: false 67 | ), 68 | Customer( 69 | id: '1', 70 | name: 'Customername eleven', 71 | packagesCount: 0, 72 | isFavorite: false 73 | ), 74 | Customer( 75 | id: '1', 76 | name: 'Customername twelve', 77 | packagesCount: 1, 78 | isFavorite: true 79 | ), 80 | Customer( 81 | id: '1', 82 | name: 'Customername thirteen', 83 | packagesCount: 0, 84 | isFavorite: false 85 | ), 86 | Customer( 87 | id: '1', 88 | name: 'Customername fourteen', 89 | packagesCount: 0, 90 | isFavorite: false 91 | ), 92 | Customer( 93 | id: '1', 94 | name: 'Customername fiveteen', 95 | packagesCount: 1, 96 | isFavorite: false 97 | ), 98 | Customer( 99 | id: '1', 100 | name: 'Customername sixteen', 101 | packagesCount: 0, 102 | isFavorite: false 103 | ), 104 | Customer( 105 | id: '1', 106 | name: 'Customername zeventeen', 107 | packagesCount: 1, 108 | isFavorite: false 109 | ), 110 | Customer( 111 | id: '1', 112 | name: 'Customername eighteen', 113 | packagesCount: 0, 114 | isFavorite: false 115 | ), 116 | Customer( 117 | id: '1', 118 | name: 'Customername nineteen', 119 | packagesCount: 0, 120 | isFavorite: false 121 | ), 122 | Customer( 123 | id: '1', 124 | name: 'Customername twenty', 125 | packagesCount: 0, 126 | isFavorite: false 127 | ), 128 | ]; 129 | 130 | const DUMMY_SALE = const [ 131 | Sale( 132 | content: '€ 56.400,-', 133 | description: 'Value of sold packages', 134 | color: CustomColors.Red, 135 | type: Type.Customers 136 | ), 137 | Sale( 138 | content: '€ 12.854,-', 139 | description: 'Value in offerfase', 140 | color: CustomColors.Red, 141 | type: Type.Customers 142 | ), 143 | Sale( 144 | content: '156', 145 | description: 'Packages composed', 146 | color: CustomColors.Blue, 147 | type: Type.Packages 148 | ), 149 | Sale( 150 | content: '85', 151 | description: 'Packages to compose', 152 | color: CustomColors.Blue, 153 | type: Type.Packages 154 | ), 155 | Sale( 156 | content: 'Chocolate', 157 | description: 'Most used', 158 | color: CustomColors.Yellow, 159 | type: Type.Articles 160 | ), 161 | ]; 162 | 163 | const DUMMY_PACKAGEDATE = const [ 164 | PackageDate(date: 'Tuesday 22 November'), 165 | PackageDate(date: 'Wednesday 30 November'), 166 | PackageDate(date: 'Thursday 14 December'), 167 | ]; 168 | 169 | 170 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | 4 | import 'dummy_data.dart'; 5 | import 'models/sale.dart'; 6 | import 'models/customer.dart'; 7 | import 'models/packageDates.dart'; 8 | 9 | import 'core/util.dart'; 10 | import 'screens/home.dart'; 11 | import 'screens/login.dart'; 12 | import 'screens/sales.dart'; 13 | import 'screens/articles.dart'; 14 | import 'screens/customers.dart'; 15 | import 'screens/packageDates.dart'; 16 | import 'screens/packages.dart'; 17 | import 'screens/deliveries.dart'; 18 | import 'screens/settings.dart'; 19 | 20 | void main() { 21 | runApp(App()); 22 | } 23 | 24 | class App extends StatefulWidget { 25 | App({Key key}) : super(key: key); 26 | 27 | _AppState createState() => _AppState(); 28 | } 29 | 30 | class _AppState extends State { 31 | List _customers = DUMMY_CUSTOMER; 32 | List _sales = DUMMY_SALE; 33 | List _packageDates = DUMMY_PACKAGEDATE; 34 | 35 | void initState() { 36 | SystemChrome.setSystemUIOverlayStyle( 37 | SystemUiOverlayStyle( 38 | //statusBarColor: Colors.transparent, //top bar color 39 | ), 40 | ); 41 | // SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]); 42 | super.initState(); 43 | } 44 | 45 | @override 46 | Widget build(BuildContext context) { 47 | return MaterialApp( 48 | debugShowCheckedModeBanner: false, 49 | theme: ThemeData( 50 | canvasColor: CustomColors.BodyBackground, 51 | fontFamily: 'rubik', 52 | ), 53 | title: 'Flutter Christmas Packages', 54 | initialRoute: '/home', 55 | routes: { 56 | '/': (ctx) => Login(), 57 | Home.routeName: (ctx) => Home(), 58 | Sales.routeName: (ctx) => Sales(salesList: _sales), 59 | Articles.routeName: (ctx) => Articles(), 60 | Customers.routeName: (ctx) => Customers( 61 | customerList: _customers, 62 | ), 63 | PackageDates.routeName: (ctx) => PackageDates(packageDatesList: _packageDates), 64 | Packages.routeName: (ctx) => Packages(), 65 | Deliveries.routeName: (ctx) => Deliveries(), 66 | Settings.routeName: (ctx) => Settings(), 67 | }, 68 | onGenerateRoute: (settings) { 69 | // print(settings.arguments); 70 | // print(settings.name); 71 | return; 72 | }, 73 | onUnknownRoute: (settings) { 74 | return MaterialPageRoute( 75 | builder: (ctx) => Login(), 76 | ); 77 | }, 78 | ); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /lib/models/customer.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/foundation.dart'; 2 | 3 | class Customer { 4 | final String id; 5 | final String name; 6 | final int packagesCount; 7 | final bool isFavorite; 8 | 9 | const Customer({ 10 | @required this.id, 11 | @required this.name, 12 | @required this.packagesCount, 13 | @required this.isFavorite, 14 | }); 15 | } 16 | -------------------------------------------------------------------------------- /lib/models/packageDates.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/foundation.dart'; 2 | 3 | class PackageDate { 4 | final String date; 5 | 6 | const PackageDate({ 7 | @required this.date, 8 | }); 9 | } 10 | -------------------------------------------------------------------------------- /lib/models/sale.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | import 'package:flutter/foundation.dart'; 3 | 4 | enum Type { 5 | Customers, 6 | Packages, 7 | Articles, 8 | } 9 | 10 | class Sale { 11 | final String content; 12 | final String description; 13 | final Color color; 14 | final Type type; 15 | 16 | const Sale({ 17 | @required this.content, 18 | @required this.description, 19 | @required this.color, 20 | @required this.type, 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /lib/screens/articles.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import '../widgets/appBar.dart'; 5 | import '../widgets/appDrawer.dart'; 6 | import '../widgets/bottomNavBar.dart'; 7 | 8 | class Articles extends StatefulWidget { 9 | static const routeName = '/articles'; 10 | 11 | Articles({Key key}) : super(key: key); 12 | 13 | _ArticlesState createState() => _ArticlesState(); 14 | } 15 | 16 | class _ArticlesState extends State { 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | appBar: appBar(context, 'Articles', CustomColors.Yellow, CustomColors.Yellow3), 21 | drawer: appDrawer(context), 22 | body: Center( 23 | child: Text('Articles'), 24 | ), 25 | bottomNavigationBar: Theme( 26 | data: Theme.of(context).copyWith( 27 | canvasColor: Colors.white, 28 | ), 29 | child: BottomNavigationBarApp(context, 0), 30 | ), 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /lib/screens/customers.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../models/customer.dart'; 4 | 5 | import '../core/util.dart'; 6 | import '../widgets/appBar.dart'; 7 | import '../widgets/bottomNavBar.dart'; 8 | import '../widgets/appDrawer.dart'; 9 | 10 | import 'customers_list_item.dart'; 11 | 12 | class Customers extends StatefulWidget { 13 | static const routeName = '/customers'; 14 | final List customerList; 15 | 16 | Customers({Key key, @required this.customerList}) : super(key: key); 17 | 18 | _CustomersState createState() => _CustomersState(); 19 | } 20 | 21 | class _CustomersState extends State { 22 | List favoriteCustomers; 23 | List otherCustomers; 24 | 25 | @override 26 | void initState() { 27 | favoriteCustomers = widget.customerList 28 | .where((Customer customer) => customer.isFavorite == true) 29 | .toList(); 30 | 31 | otherCustomers = widget.customerList 32 | .where((Customer customer) => customer.isFavorite == false) 33 | .toList(); 34 | super.initState(); 35 | } 36 | 37 | @override 38 | Widget build(BuildContext context) { 39 | return Scaffold( 40 | appBar: appBar(context, 'Customers', CustomColors.Red, CustomColors.Red3), 41 | drawer: appDrawer(context), 42 | body: SingleChildScrollView( 43 | child: Column( 44 | mainAxisAlignment: MainAxisAlignment.start, 45 | crossAxisAlignment: CrossAxisAlignment.start, 46 | children: [ 47 | Container( 48 | padding: EdgeInsets.symmetric(horizontal: 16, vertical: 10), 49 | child: Text( 50 | 'Favorites'.toUpperCase(), 51 | style: CustomTextStyles.ListTitleText, 52 | ), 53 | ), 54 | ListView.builder( 55 | shrinkWrap: true, 56 | physics: ScrollPhysics(), 57 | itemBuilder: (ctx, index) { 58 | return CustomerListItem( 59 | id: favoriteCustomers[index].id, 60 | name: favoriteCustomers[index].name, 61 | packagesCount: favoriteCustomers[index].packagesCount, 62 | isFavorite: favoriteCustomers[index].isFavorite, 63 | ); 64 | }, 65 | itemCount: favoriteCustomers.length, 66 | ), 67 | Container( 68 | margin: EdgeInsets.only(top: 20), 69 | padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10), 70 | child: Text( 71 | 'Other Customers'.toUpperCase(), 72 | style: CustomTextStyles.ListTitleText, 73 | ), 74 | ), 75 | ListView.builder( 76 | shrinkWrap: true, 77 | physics: ScrollPhysics(), 78 | itemBuilder: (ctx, index) { 79 | return CustomerListItem( 80 | id: otherCustomers[index].id, 81 | name: otherCustomers[index].name, 82 | packagesCount: otherCustomers[index].packagesCount, 83 | isFavorite: otherCustomers[index].isFavorite, 84 | ); 85 | }, 86 | itemCount: otherCustomers.length, 87 | ), 88 | SizedBox( 89 | height: 20, 90 | ) 91 | ], 92 | ), 93 | ), 94 | bottomNavigationBar: Theme( 95 | data: Theme.of(context).copyWith( 96 | canvasColor: Colors.white, 97 | ), 98 | child: BottomNavigationBarApp(context, 1), 99 | ), 100 | ); 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /lib/screens/customers_list_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | 5 | class CustomerListItem extends StatelessWidget { 6 | final String id; 7 | final String name; 8 | final int packagesCount; 9 | final bool isFavorite; 10 | 11 | CustomerListItem( 12 | {@required this.id, 13 | @required this.name, 14 | @required this.packagesCount, 15 | @required this.isFavorite}); 16 | 17 | @override 18 | Widget build(BuildContext context) { 19 | return Container( 20 | margin: EdgeInsets.fromLTRB(15, 0, 15, 15), 21 | padding: EdgeInsets.fromLTRB(5, 13, 5, 13), 22 | child: Row( 23 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 24 | children: [ 25 | Text( 26 | packagesCount.toString(), 27 | style: TextStyle( 28 | color: packagesCount > 0 29 | ? CustomColors.GreenAccent 30 | : CustomColors.OrangeAccent, 31 | fontSize: 20), 32 | ), 33 | Container( 34 | width: 180, 35 | child: Text( 36 | name, 37 | style: CustomTextStyles.ListContainerText, 38 | ), 39 | ), 40 | InkWell( 41 | onTap: () {}, 42 | child: isFavorite == true 43 | ? Image.asset('assets/images/1x/start-fill.png') 44 | : Image.asset('assets/images/1x/start-opacity.png'), 45 | ), 46 | ], 47 | ), 48 | decoration: BoxDecoration( 49 | gradient: LinearGradient( 50 | stops: [0.015, 0.015], 51 | colors: [ 52 | packagesCount > 0 53 | ? CustomColors.GreenAccent 54 | : CustomColors.OrangeAccent, 55 | Colors.white 56 | ], 57 | ), 58 | borderRadius: BorderRadius.all( 59 | Radius.circular(5.0), 60 | ), 61 | boxShadow: [ 62 | BoxShadow( 63 | color: CustomColors.GreyBorder, 64 | blurRadius: 10.0, 65 | spreadRadius: 5.0, 66 | offset: Offset(0.0, 0.0), 67 | ), 68 | ], 69 | ), 70 | ); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /lib/screens/deliveries.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import '../widgets/appBar.dart'; 5 | import '../widgets/appDrawer.dart'; 6 | import '../widgets/bottomNavBar.dart'; 7 | 8 | class Deliveries extends StatefulWidget { 9 | static const routeName = '/deliveries'; 10 | 11 | Deliveries({Key key}) : super(key: key); 12 | 13 | _DeliveriesState createState() => _DeliveriesState(); 14 | } 15 | 16 | class _DeliveriesState extends State { 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | appBar: appBar(context, 'Deliveries', CustomColors.Blue, CustomColors.Blue3), 21 | drawer: appDrawer(context), 22 | body: Center( 23 | child: Text('Deliveries'), 24 | ), 25 | bottomNavigationBar: Theme( 26 | data: Theme.of(context).copyWith( 27 | canvasColor: Colors.white, 28 | ), 29 | child: BottomNavigationBarApp(context, 0), 30 | ), 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /lib/screens/home.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import 'customers.dart'; 5 | import 'articles.dart'; 6 | import 'packageDates.dart'; 7 | import 'packages.dart'; 8 | 9 | class Home extends StatefulWidget { 10 | static const routeName = '/home'; 11 | 12 | Home({Key key}) : super(key: key); 13 | 14 | _HomeState createState() => _HomeState(); 15 | } 16 | 17 | _cardContainerDecoration(Color color1, Color color2, Color color3) { 18 | return BoxDecoration( 19 | borderRadius: BorderRadius.all( 20 | Radius.circular(5.0), 21 | ), 22 | boxShadow: [ 23 | BoxShadow( 24 | color: Colors.black26, 25 | blurRadius: 5.0, 26 | spreadRadius: 3.0, 27 | offset: Offset(0.0, 0.0), 28 | ), 29 | ], 30 | // image: DecorationImage( 31 | // image: AssetImage( 32 | // 'assets/images/2x/baseline_keyboard_arrow_right_white_18dp.png'), 33 | // alignment: Alignment.bottomRight, 34 | // fit: BoxFit.scaleDown), 35 | gradient: LinearGradient( 36 | begin: Alignment.topLeft, 37 | end: Alignment.bottomCenter, 38 | stops: [0.2, 0.5, 1], 39 | colors: [ 40 | color1, 41 | color2, 42 | color3, 43 | ], 44 | ), 45 | ); 46 | } 47 | 48 | class _HomeState extends State { 49 | final routeName = "Home"; 50 | 51 | @override 52 | Widget build(BuildContext context) { 53 | return Scaffold( 54 | backgroundColor: CustomColors.BodyBackground, 55 | body: Column( 56 | mainAxisAlignment: MainAxisAlignment.center, 57 | children: [ 58 | InkWell( 59 | onTap: () { 60 | Navigator.of(context).pushNamed(Customers.routeName); 61 | }, 62 | child: Container( 63 | height: 150.0, 64 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 65 | decoration: _cardContainerDecoration( 66 | CustomColors.Red, CustomColors.Red2, CustomColors.Red3), 67 | child: Row( 68 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 69 | children: [ 70 | Container( 71 | margin: EdgeInsets.all(10), 72 | child: Column( 73 | mainAxisAlignment: MainAxisAlignment.spaceAround, 74 | crossAxisAlignment: CrossAxisAlignment.start, 75 | children: [ 76 | Container( 77 | width: 65, 78 | height: 65, 79 | child: Image.asset('assets/images/2x/card@2x.png'), 80 | decoration: const BoxDecoration( 81 | color: CustomColors.Red3, 82 | borderRadius: BorderRadius.all( 83 | Radius.circular(50.0), 84 | ), 85 | ), 86 | ), 87 | Text( 88 | 'Customers', 89 | style: CustomTextStyles.CardGroupTitel, 90 | ), 91 | ], 92 | ), 93 | ), 94 | Container( 95 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 20), 96 | child: Column( 97 | mainAxisAlignment: MainAxisAlignment.start, 98 | crossAxisAlignment: CrossAxisAlignment.end, 99 | children: [ 100 | Text( 101 | '94', 102 | style: CustomTextStyles.CardGroupInfo, 103 | ), 104 | Text( 105 | '+15 more then last year'.toUpperCase(), 106 | style: CustomTextStyles.CardGroupInfoSubscription, 107 | ), 108 | ], 109 | ), 110 | ) 111 | ], 112 | ), 113 | ), 114 | ), 115 | InkWell( 116 | onTap: () { 117 | Navigator.of(context).pushNamed(Packages.routeName); 118 | }, 119 | child: Container( 120 | height: 150.0, 121 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 122 | decoration: _cardContainerDecoration( 123 | CustomColors.Blue, CustomColors.Blue2, CustomColors.Blue3), 124 | child: Row( 125 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 126 | children: [ 127 | Container( 128 | margin: EdgeInsets.all(10), 129 | child: Column( 130 | mainAxisAlignment: MainAxisAlignment.spaceAround, 131 | crossAxisAlignment: CrossAxisAlignment.start, 132 | children: [ 133 | Container( 134 | width: 65, 135 | height: 65, 136 | child: Image.asset('assets/images/2x/gift@2x.png'), 137 | decoration: const BoxDecoration( 138 | color: CustomColors.Blue3, 139 | borderRadius: BorderRadius.all( 140 | Radius.circular(50.0), 141 | ), 142 | ), 143 | ), 144 | Text( 145 | 'Packages', 146 | style: CustomTextStyles.CardGroupTitel, 147 | ), 148 | ], 149 | ), 150 | ), 151 | Container( 152 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 20), 153 | child: Column( 154 | mainAxisAlignment: MainAxisAlignment.start, 155 | crossAxisAlignment: CrossAxisAlignment.end, 156 | children: [ 157 | Text( 158 | '121', 159 | style: CustomTextStyles.CardGroupInfo, 160 | ), 161 | Text( 162 | 'By 89 customers'.toUpperCase(), 163 | style: CustomTextStyles.CardGroupInfoSubscription, 164 | ), 165 | ], 166 | ), 167 | ) 168 | ], 169 | ), 170 | ), 171 | ), 172 | InkWell( 173 | onTap: () { 174 | Navigator.of(context).pushNamed(Articles.routeName); 175 | }, 176 | child: Container( 177 | height: 150.0, 178 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 179 | decoration: _cardContainerDecoration(CustomColors.Yellow, 180 | CustomColors.Yellow2, CustomColors.Yellow3), 181 | child: Row( 182 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 183 | children: [ 184 | Container( 185 | margin: EdgeInsets.all(10), 186 | child: Column( 187 | mainAxisAlignment: MainAxisAlignment.spaceAround, 188 | crossAxisAlignment: CrossAxisAlignment.start, 189 | children: [ 190 | Container( 191 | width: 65, 192 | height: 65, 193 | child: Image.asset('assets/images/2x/box@2x.png'), 194 | decoration: const BoxDecoration( 195 | color: CustomColors.Yellow3, 196 | borderRadius: BorderRadius.all( 197 | Radius.circular(50.0), 198 | ), 199 | ), 200 | ), 201 | Text( 202 | 'Articles', 203 | style: CustomTextStyles.CardGroupTitel, 204 | ), 205 | ], 206 | ), 207 | ), 208 | Container( 209 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 20), 210 | child: Column( 211 | mainAxisAlignment: MainAxisAlignment.start, 212 | crossAxisAlignment: CrossAxisAlignment.end, 213 | children: [ 214 | Text( 215 | '467', 216 | style: CustomTextStyles.CardGroupInfo, 217 | ), 218 | Text( 219 | 'Articles available'.toUpperCase(), 220 | style: CustomTextStyles.CardGroupInfoSubscription, 221 | ), 222 | ], 223 | ), 224 | ) 225 | ], 226 | ), 227 | ), 228 | ), 229 | InkWell( 230 | onTap: () { 231 | Navigator.of(context).pushNamed(PackageDates.routeName); 232 | }, 233 | child: Container( 234 | height: 150.0, 235 | margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 236 | decoration: _cardContainerDecoration( 237 | CustomColors.Green, CustomColors.Green2, CustomColors.Green3), 238 | child: Row( 239 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 240 | children: [ 241 | Container( 242 | margin: EdgeInsets.all(10), 243 | child: Column( 244 | mainAxisAlignment: MainAxisAlignment.spaceAround, 245 | crossAxisAlignment: CrossAxisAlignment.start, 246 | children: [ 247 | Container( 248 | width: 65, 249 | height: 65, 250 | child: Image.asset( 251 | 'assets/images/2x/shoppingcart@2x.png'), 252 | decoration: const BoxDecoration( 253 | color: CustomColors.Green3, 254 | borderRadius: BorderRadius.all( 255 | Radius.circular(50.0), 256 | ), 257 | ), 258 | ), 259 | Text( 260 | 'Package dates', 261 | style: CustomTextStyles.CardGroupTitel, 262 | ), 263 | ], 264 | ), 265 | ), 266 | Container( 267 | margin: EdgeInsets.symmetric(horizontal: 10, vertical: 20), 268 | child: Column( 269 | mainAxisAlignment: MainAxisAlignment.start, 270 | crossAxisAlignment: CrossAxisAlignment.end, 271 | children: [ 272 | Text( 273 | '15 nov', 274 | style: CustomTextStyles.CardGroupInfo, 275 | ), 276 | Text( 277 | '5 Planed'.toUpperCase(), 278 | style: CustomTextStyles.CardGroupInfoSubscription, 279 | ), 280 | Text( 281 | '2 past already'.toUpperCase(), 282 | style: CustomTextStyles.CardGroupInfoSubscription, 283 | ), 284 | ], 285 | ), 286 | ) 287 | ], 288 | ), 289 | ), 290 | ), 291 | ], 292 | ), 293 | ); 294 | } 295 | } 296 | -------------------------------------------------------------------------------- /lib/screens/login.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import 'home.dart'; 5 | 6 | class Login extends StatefulWidget { 7 | Login({Key key}) : super(key: key); 8 | 9 | _LoginState createState() => _LoginState(); 10 | } 11 | 12 | class _LoginState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Container( 16 | decoration: BoxDecoration( 17 | gradient: LinearGradient( 18 | begin: Alignment.topLeft, 19 | end: Alignment.bottomRight, 20 | stops: [0.4, 1], 21 | colors: [ 22 | CustomColors.Purple, 23 | CustomColors.Purple, 24 | ], 25 | ), 26 | ), 27 | child: Scaffold( 28 | backgroundColor: Colors.transparent, 29 | body: Column( 30 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 31 | children: [ 32 | Container( 33 | width: MediaQuery.of(context).size.width / 1.5, 34 | margin: EdgeInsets.symmetric(horizontal: 40), 35 | decoration: BoxDecoration( 36 | color: Colors.white, 37 | borderRadius: BorderRadius.circular(360), 38 | ), 39 | child: Image.asset( 40 | 'assets/images/CustomX/Gift-250x.png', 41 | scale: 1.1, 42 | ), 43 | ), 44 | Container( 45 | margin: EdgeInsets.symmetric(horizontal: 40), 46 | child: Column( 47 | children: [ 48 | TextFormField( 49 | decoration: const InputDecoration( 50 | labelText: 'E-mail', 51 | labelStyle: TextStyle(color: Colors.white), 52 | enabledBorder: UnderlineInputBorder( 53 | borderSide: BorderSide(color: Colors.white), 54 | ), 55 | focusedBorder: UnderlineInputBorder( 56 | borderSide: BorderSide(color: Colors.white), 57 | ), 58 | ), 59 | cursorColor: Colors.white, 60 | style: TextStyle(color: Colors.white), 61 | ), 62 | TextFormField( 63 | decoration: const InputDecoration( 64 | labelText: 'Password', 65 | labelStyle: TextStyle(color: Colors.white), 66 | enabledBorder: UnderlineInputBorder( 67 | borderSide: BorderSide(color: Colors.white), 68 | ), 69 | focusedBorder: UnderlineInputBorder( 70 | borderSide: BorderSide(color: Colors.white), 71 | ), 72 | ), 73 | cursorColor: Colors.white, 74 | style: TextStyle(color: Colors.white), 75 | obscureText: true, 76 | ), 77 | Container( 78 | width: MediaQuery.of(context).size.width, 79 | margin: EdgeInsets.only(top: 20), 80 | child: RaisedButton( 81 | color: Colors.white, 82 | textColor: CustomColors.Purple, 83 | child: Text('Sign In'), 84 | onPressed: () { 85 | Navigator.pushReplacement( 86 | context, 87 | MaterialPageRoute(builder: (context) => Home()), 88 | ); 89 | }, 90 | ), 91 | ), 92 | Container( 93 | width: MediaQuery.of(context).size.width, 94 | child: FlatButton( 95 | child: Text('Forgot password?'), 96 | textColor: Colors.white, 97 | onPressed: () {}, 98 | ), 99 | ), 100 | ], 101 | ), 102 | ), 103 | ], 104 | ), 105 | ), 106 | ); 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /lib/screens/packageDates.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:calendarro/calendarro.dart'; 3 | import 'package:calendarro/date_utils.dart'; 4 | 5 | import '../models/packageDates.dart'; 6 | 7 | import '../core/util.dart'; 8 | import '../widgets/appBar.dart'; 9 | import '../widgets/appDrawer.dart'; 10 | import '../widgets/bottomNavBar.dart'; 11 | import './packageDates_list_item.dart'; 12 | 13 | class PackageDates extends StatefulWidget { 14 | static const routeName = '/packagedates'; 15 | final List packageDatesList; 16 | 17 | PackageDates({Key key, @required this.packageDatesList}) : super(key: key); 18 | 19 | _PackageDatesState createState() => _PackageDatesState(); 20 | } 21 | 22 | class _PackageDatesState extends State { 23 | List _packageDatesList; 24 | 25 | @override 26 | void initState() { 27 | _packageDatesList = widget.packageDatesList; 28 | super.initState(); 29 | } 30 | 31 | @override 32 | Widget build(BuildContext context) { 33 | return Scaffold( 34 | appBar: appBar( 35 | context, 'Package dates', CustomColors.Green, CustomColors.Green3), 36 | drawer: appDrawer(context), 37 | body: SingleChildScrollView( 38 | child: Column( 39 | mainAxisAlignment: MainAxisAlignment.start, 40 | crossAxisAlignment: CrossAxisAlignment.start, 41 | children: [ 42 | SizedBox(height: 20), 43 | Calendarro( 44 | displayMode: DisplayMode.MONTHS, 45 | startDate: DateUtils.getFirstDayOfCurrentMonth(), 46 | endDate: DateUtils.getLastDayOfCurrentMonth(), 47 | weekdayLabelsRow: CustomWeekdayLabelsRow(), 48 | selectedDates: [DateTime(2019, 10, 10)]), 49 | Container( 50 | margin: EdgeInsets.only(top: 20), 51 | padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10), 52 | child: Text( 53 | 'Planed packagedates'.toUpperCase(), 54 | style: CustomTextStyles.ListTitleText, 55 | ), 56 | ), 57 | ListView.builder( 58 | shrinkWrap: true, 59 | physics: ScrollPhysics(), 60 | itemBuilder: (ctx, index) { 61 | return PackageDateListItem(date: _packageDatesList[index].date); 62 | }, 63 | itemCount: _packageDatesList.length, 64 | ), ], 65 | ), 66 | ), 67 | bottomNavigationBar: Theme( 68 | data: Theme.of(context).copyWith( 69 | canvasColor: Colors.white, 70 | ), 71 | child: BottomNavigationBarApp(context, 3), 72 | ), 73 | ); 74 | } 75 | } 76 | 77 | class CustomWeekdayLabelsRow extends StatelessWidget { 78 | @override 79 | Widget build(BuildContext context) { 80 | return Row( 81 | children: [ 82 | Expanded(child: Text("M", textAlign: TextAlign.center)), 83 | Expanded(child: Text("T", textAlign: TextAlign.center)), 84 | Expanded(child: Text("W", textAlign: TextAlign.center)), 85 | Expanded(child: Text("T", textAlign: TextAlign.center)), 86 | Expanded(child: Text("F", textAlign: TextAlign.center)), 87 | Expanded(child: Text("S", textAlign: TextAlign.center)), 88 | Expanded(child: Text("S", textAlign: TextAlign.center)), 89 | ], 90 | ); 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /lib/screens/packageDates_list_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | 5 | class PackageDateListItem extends StatelessWidget { 6 | final String date; 7 | 8 | PackageDateListItem({@required this.date}); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Container( 13 | margin: EdgeInsets.all(15), 14 | padding: EdgeInsets.all(15), 15 | child: Row( 16 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 17 | children: [ 18 | Column( 19 | children: [ 20 | Text( 21 | date, 22 | style: CustomTextStyles.ListContainerText, 23 | ), 24 | ], 25 | ), 26 | ], 27 | ), 28 | decoration: BoxDecoration( 29 | gradient: LinearGradient( 30 | stops: [0.015, 0.015], 31 | colors: [CustomColors.Green, Colors.white], 32 | ), 33 | borderRadius: BorderRadius.all( 34 | Radius.circular(5.0), 35 | ), 36 | boxShadow: [ 37 | BoxShadow( 38 | color: CustomColors.GreyBorder, 39 | blurRadius: 10.0, 40 | spreadRadius: 5.0, 41 | offset: Offset(0.0, 0.0), 42 | ), 43 | ], 44 | ), 45 | ); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /lib/screens/packages.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import '../widgets/appBar.dart'; 5 | import '../widgets/appDrawer.dart'; 6 | import '../widgets/bottomNavBar.dart'; 7 | 8 | class Packages extends StatefulWidget { 9 | static const routeName = '/packages'; 10 | 11 | Packages({Key key}) : super(key: key); 12 | 13 | _PackagesState createState() => _PackagesState(); 14 | } 15 | 16 | class _PackagesState extends State { 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | appBar: appBar(context, 'Packages', CustomColors.Blue, CustomColors.Blue3), 21 | drawer: appDrawer(context), 22 | body: Center( 23 | child: Text('Packages'), 24 | ), 25 | bottomNavigationBar: Theme( 26 | data: Theme.of(context).copyWith( 27 | canvasColor: Colors.white, 28 | ), 29 | child: BottomNavigationBarApp(context, 0), 30 | ), 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /lib/screens/sales.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../models/sale.dart'; 4 | 5 | import '../core/util.dart'; 6 | import '../widgets/appBar.dart'; 7 | import '../widgets/appDrawer.dart'; 8 | import '../widgets/bottomNavBar.dart'; 9 | import '../screens/sales_list_item.dart'; 10 | 11 | class Sales extends StatefulWidget { 12 | static const routeName = '/sales'; 13 | final List salesList; 14 | 15 | Sales({Key key, @required this.salesList}) : super(key: key); 16 | 17 | _SalesState createState() => _SalesState(); 18 | } 19 | 20 | class _SalesState extends State { 21 | List customerSales; 22 | List packageSales; 23 | List articleSales; 24 | 25 | @override 26 | void initState() { 27 | customerSales = widget.salesList 28 | .where((Sale sale) => sale.type == Type.Customers) 29 | .toList(); 30 | packageSales = widget.salesList 31 | .where((Sale sale) => sale.type == Type.Packages) 32 | .toList(); 33 | articleSales = widget.salesList 34 | .where((Sale sale) => sale.type == Type.Articles) 35 | .toList(); 36 | super.initState(); 37 | } 38 | 39 | @override 40 | Widget build(BuildContext context) { 41 | return Scaffold( 42 | appBar: 43 | appBar(context, 'Sales', CustomColors.Purple, CustomColors.Purple), 44 | drawer: appDrawer(context), 45 | body: SingleChildScrollView( 46 | child: Column( 47 | mainAxisAlignment: MainAxisAlignment.start, 48 | crossAxisAlignment: CrossAxisAlignment.start, 49 | children: [ 50 | SizedBox(height: 15), 51 | ListView.builder( 52 | shrinkWrap: true, 53 | physics: ScrollPhysics(), 54 | itemBuilder: (ctx, index) { 55 | return SalesListItem( 56 | content: customerSales[index].content, 57 | description: customerSales[index].description, 58 | color: customerSales[index].color, 59 | ); 60 | }, 61 | itemCount: customerSales.length, 62 | ), 63 | ListView.builder( 64 | shrinkWrap: true, 65 | physics: ScrollPhysics(), 66 | itemBuilder: (ctx, index) { 67 | return SalesListItem( 68 | content: packageSales[index].content, 69 | description: packageSales[index].description, 70 | color: packageSales[index].color, 71 | ); 72 | }, 73 | itemCount: packageSales.length, 74 | ), 75 | ListView.builder( 76 | shrinkWrap: true, 77 | physics: ScrollPhysics(), 78 | itemBuilder: (ctx, index) { 79 | return SalesListItem( 80 | content: articleSales[index].content, 81 | description: articleSales[index].description, 82 | color: articleSales[index].color, 83 | ); 84 | }, 85 | itemCount: articleSales.length, 86 | ), 87 | ], 88 | ), 89 | ), 90 | bottomNavigationBar: Theme( 91 | data: Theme.of(context).copyWith( 92 | canvasColor: Colors.white, 93 | ), 94 | child: BottomNavigationBarApp(context, 2), 95 | ), 96 | ); 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /lib/screens/sales_list_item.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | 5 | class SalesListItem extends StatelessWidget { 6 | final String content; 7 | final String description; 8 | final Color color; 9 | //final Type type; 10 | 11 | SalesListItem({ 12 | @required this.content, 13 | @required this.description, 14 | @required this.color, 15 | //@required this.type 16 | }); 17 | 18 | @override 19 | Widget build(BuildContext context) { 20 | return Container( 21 | margin: EdgeInsets.all(15), 22 | padding: EdgeInsets.all(15), 23 | child: Row( 24 | mainAxisAlignment: MainAxisAlignment.spaceEvenly, 25 | children: [ 26 | Column( 27 | children: [ 28 | Text( 29 | content, 30 | style: CustomTextStyles.ListContainerNumber, 31 | ), 32 | Text( 33 | description.toUpperCase(), 34 | style: CustomTextStyles.ListSubTitleText, 35 | ), 36 | ], 37 | ), 38 | ], 39 | ), 40 | decoration: BoxDecoration( 41 | gradient: LinearGradient( 42 | stops: [0.015, 0.015], 43 | colors: [color, Colors.white], 44 | ), 45 | borderRadius: BorderRadius.all( 46 | Radius.circular(5.0), 47 | ), 48 | boxShadow: [ 49 | BoxShadow( 50 | color: CustomColors.GreyBorder, 51 | blurRadius: 10.0, 52 | spreadRadius: 5.0, 53 | offset: Offset(0.0, 0.0), 54 | ), 55 | ], 56 | ), 57 | ); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /lib/screens/settings.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import '../widgets/appBar.dart'; 5 | import '../widgets/appDrawer.dart'; 6 | 7 | class Settings extends StatefulWidget { 8 | static const routeName = '/settings'; 9 | 10 | Settings({Key key}) : super(key: key); 11 | 12 | _SettingsState createState() => _SettingsState(); 13 | } 14 | 15 | class _SettingsState extends State { 16 | bool _customerNew = true; 17 | bool _ordersNew = true; 18 | bool _ordersToApproved = true; 19 | 20 | @override 21 | Widget build(BuildContext context) { 22 | return Scaffold( 23 | appBar: 24 | appBar(context, 'Settings', CustomColors.Grey, CustomColors.Grey), 25 | drawer: appDrawer(context), 26 | body: SingleChildScrollView( 27 | child: Column( 28 | mainAxisAlignment: MainAxisAlignment.start, 29 | crossAxisAlignment: CrossAxisAlignment.start, 30 | children: [ 31 | Container( 32 | padding: EdgeInsets.symmetric(horizontal: 16, vertical: 10), 33 | child: Text( 34 | 'Customers'.toUpperCase(), 35 | style: CustomTextStyles.ListTitleText, 36 | ), 37 | ), 38 | SwitchListTile( 39 | title: const Text('Notification by new customer'), 40 | value: _customerNew, 41 | onChanged: (bool value) { 42 | setState(() { 43 | _customerNew = value; 44 | }); 45 | }, 46 | secondary: const Icon(Icons.notifications), 47 | ), 48 | Container( 49 | padding: EdgeInsets.symmetric(horizontal: 16, vertical: 10), 50 | child: Text( 51 | 'Orders'.toUpperCase(), 52 | style: CustomTextStyles.ListTitleText, 53 | ), 54 | ), 55 | SwitchListTile( 56 | title: const Text('Email by new order'), 57 | value: _ordersNew, 58 | onChanged: (bool value) { 59 | setState(() { 60 | _ordersNew = value; 61 | }); 62 | }, 63 | secondary: const Icon(Icons.email), 64 | ), 65 | SwitchListTile( 66 | title: const Text('Email by orders to approved status'), 67 | value: _ordersToApproved, 68 | onChanged: (bool value) { 69 | setState(() { 70 | _ordersToApproved = value; 71 | }); 72 | }, 73 | secondary: const Icon(Icons.email), 74 | ), 75 | ], 76 | ), 77 | ), 78 | ); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /lib/widgets/appBar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'package:gradient_app_bar/gradient_app_bar.dart'; 4 | import '../core/util.dart'; 5 | 6 | Widget appBar(BuildContext context, String title, Color colorMain, Color colorThree) { 7 | return PreferredSize( 8 | preferredSize: Size.fromHeight(70.0), 9 | child: GradientAppBar( 10 | title: Container( 11 | child: Column( 12 | mainAxisAlignment: MainAxisAlignment.center, 13 | crossAxisAlignment: CrossAxisAlignment.start, 14 | children: [ 15 | Text(title, 16 | style: CustomTextStyles.AppBarHeader, 17 | ), 18 | ], 19 | ), 20 | ), 21 | elevation: 0, 22 | gradient: LinearGradient( 23 | begin: Alignment.topLeft, 24 | end: Alignment.bottomRight, 25 | colors: [colorMain, colorThree], 26 | ), 27 | ), 28 | ); 29 | } 30 | 31 | -------------------------------------------------------------------------------- /lib/widgets/appDrawer.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | 5 | import '../screens/customers.dart'; 6 | import '../screens/packageDates.dart'; 7 | import '../screens/home.dart'; 8 | import '../screens/packages.dart'; 9 | import '../screens/sales.dart'; 10 | import '../screens/deliveries.dart'; 11 | import '../screens/settings.dart'; 12 | 13 | Widget _listDivider() { 14 | return Divider( 15 | thickness: 1, 16 | height: 1, 17 | color: CustomColors.GreyBorder, 18 | ); 19 | } 20 | 21 | Widget appDrawer(BuildContext context) { 22 | return Drawer( 23 | child: Column( 24 | mainAxisAlignment: MainAxisAlignment.start, 25 | children: [ 26 | UserAccountsDrawerHeader( 27 | margin: EdgeInsets.all(0), 28 | decoration: BoxDecoration( 29 | color: CustomColors.Purple, 30 | boxShadow: [ 31 | BoxShadow( 32 | color: CustomColors.ActiveIndication, 33 | offset: Offset(0, 4), 34 | blurRadius: 4.0) 35 | ], 36 | ), 37 | accountName: Text("Josh Clark"), 38 | accountEmail: Text("joshclark@gmail.com"), 39 | currentAccountPicture: CircleAvatar( 40 | backgroundColor: CustomColors.ActiveIndication, 41 | child: Text( 42 | "JC", 43 | style: TextStyle(fontSize: 40.0), 44 | ), 45 | ), 46 | ), 47 | ListView( 48 | padding: EdgeInsets.only(top: 5), 49 | shrinkWrap: true, 50 | physics: ScrollPhysics(), 51 | children: [ 52 | ListTile( 53 | title: Text("Home", style: CustomTextStyles.AppDrawerTiles), 54 | trailing: Image.asset('assets/images/1.5x/home@1.5x.png'), 55 | onTap: () { 56 | Navigator.of(context).pushNamed(Home.routeName); 57 | }, 58 | ), 59 | _listDivider(), 60 | ListTile( 61 | title: Text("Customers", style: CustomTextStyles.AppDrawerTiles), 62 | trailing: Image.asset('assets/images/1.5x/card@1.5x.png'), 63 | onTap: () { 64 | Navigator.of(context).pushNamed(Customers.routeName); 65 | }, 66 | ), 67 | _listDivider(), 68 | ListTile( 69 | title: Text("Packages", style: CustomTextStyles.AppDrawerTiles), 70 | trailing: Image.asset('assets/images/1.5x/box@1.5x.png'), 71 | onTap: () { 72 | Navigator.of(context).pushNamed(Packages.routeName); 73 | }, 74 | ), 75 | _listDivider(), 76 | ListTile( 77 | title: Text("Orders", style: CustomTextStyles.AppDrawerTiles), 78 | trailing: Image.asset('assets/images/1.5x/truck@1.5x.png'), 79 | onTap: () { 80 | Navigator.of(context).pushNamed(Deliveries.routeName); 81 | }, 82 | ), 83 | _listDivider(), 84 | ListTile( 85 | title: Text("Sales", style: CustomTextStyles.AppDrawerTiles), 86 | trailing: Image.asset('assets/images/1.5x/money@1.5x.png'), 87 | onTap: () { 88 | Navigator.of(context).pushNamed(Sales.routeName); 89 | }, 90 | ), 91 | _listDivider(), 92 | ListTile( 93 | title: 94 | Text("Packagedates", style: CustomTextStyles.AppDrawerTiles), 95 | trailing: Image.asset('assets/images/1.5x/shoppingcart@1.5x.png'), 96 | onTap: () { 97 | Navigator.of(context).pushNamed(PackageDates.routeName); 98 | }, 99 | ), 100 | _listDivider(), 101 | ListTile( 102 | title: 103 | Text("Settings", style: CustomTextStyles.AppDrawerTiles), 104 | trailing: Image.asset('assets/images/1.5x/settings@1.5x.png'), 105 | onTap: () { 106 | Navigator.of(context).pushNamed(Settings.routeName); 107 | }, 108 | ), 109 | ], 110 | ), 111 | ], 112 | ), 113 | ); 114 | } 115 | -------------------------------------------------------------------------------- /lib/widgets/bottomNavBar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import '../core/util.dart'; 4 | import '../screens/customers.dart'; 5 | import '../screens/home.dart'; 6 | import '../screens/packageDates.dart'; 7 | import '../screens/sales.dart'; 8 | 9 | class BottomNavigationBarApp extends StatelessWidget { 10 | final int bottomNavigationBarIndex; 11 | final BuildContext context; 12 | 13 | const BottomNavigationBarApp(this.context, this.bottomNavigationBarIndex); 14 | 15 | void onTabTapped(int index) { 16 | String route; 17 | if (index == 0) { 18 | route = Home.routeName; 19 | } else if (index == 1) { 20 | route = Customers.routeName; 21 | } else if (index == 2) { 22 | route = Sales.routeName; 23 | } else if (index == 3) { 24 | route = PackageDates.routeName; 25 | } 26 | Navigator.of(context).pushNamed(route); 27 | } 28 | 29 | Widget _activeItem(bool selected) { 30 | final bool _selected = selected; 31 | return Container( 32 | width: 5, 33 | height: 5, 34 | decoration: BoxDecoration( 35 | color: (_selected == true) 36 | ? CustomColors.ActiveIndication 37 | : CustomColors.InactiveIndication, 38 | borderRadius: BorderRadius.all( 39 | Radius.circular(50.0), 40 | ), 41 | ), 42 | ); 43 | } 44 | 45 | @override 46 | Widget build(BuildContext context) { 47 | return BottomNavigationBar( 48 | currentIndex: bottomNavigationBarIndex, 49 | type: BottomNavigationBarType.fixed, 50 | items: [ 51 | BottomNavigationBarItem( 52 | icon: Container( 53 | margin: EdgeInsets.only(bottom: 5), 54 | child: Image.asset( 55 | 'assets/images/1.5x/home@1.5x.png', 56 | ), 57 | ), 58 | title: this._activeItem(bottomNavigationBarIndex == 0 ? true : false), 59 | ), 60 | BottomNavigationBarItem( 61 | icon: Container( 62 | margin: EdgeInsets.only(bottom: 5), 63 | child: Image.asset( 64 | 'assets/images/1.5x/card@1.5x.png', 65 | ), 66 | ), 67 | title: this._activeItem(bottomNavigationBarIndex == 1 ? true : false), 68 | ), 69 | BottomNavigationBarItem( 70 | icon: Container( 71 | margin: EdgeInsets.only(bottom: 5), 72 | child: Image.asset( 73 | 'assets/images/1.5x/money@1.5x.png', 74 | ), 75 | ), 76 | title: this._activeItem(bottomNavigationBarIndex == 2 ? true : false), 77 | ), 78 | BottomNavigationBarItem( 79 | icon: Container( 80 | margin: EdgeInsets.only(bottom: 5), 81 | child: Image.asset( 82 | 'assets/images/1.5x/shoppingcart@1.5x.png', 83 | ), 84 | ), 85 | title: this._activeItem(bottomNavigationBarIndex == 3 ? true : false), 86 | ), 87 | ], 88 | onTap: onTabTapped, 89 | ); 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | archive: 5 | dependency: transitive 6 | description: 7 | name: archive 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.10" 11 | args: 12 | dependency: transitive 13 | description: 14 | name: args 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.5.2" 18 | async: 19 | dependency: transitive 20 | description: 21 | name: async 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.3.0" 25 | boolean_selector: 26 | dependency: transitive 27 | description: 28 | name: boolean_selector 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.0.5" 32 | calendarro: 33 | dependency: "direct main" 34 | description: 35 | name: calendarro 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "1.1.2" 39 | charcode: 40 | dependency: transitive 41 | description: 42 | name: charcode 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.1.2" 46 | collection: 47 | dependency: transitive 48 | description: 49 | name: collection 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.14.11" 53 | convert: 54 | dependency: transitive 55 | description: 56 | name: convert 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "2.1.1" 60 | crypto: 61 | dependency: transitive 62 | description: 63 | name: crypto 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "2.1.3" 67 | cupertino_icons: 68 | dependency: "direct main" 69 | description: 70 | name: cupertino_icons 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "0.1.2" 74 | flutter: 75 | dependency: "direct main" 76 | description: flutter 77 | source: sdk 78 | version: "0.0.0" 79 | flutter_launcher_icons: 80 | dependency: "direct dev" 81 | description: 82 | name: flutter_launcher_icons 83 | url: "https://pub.dartlang.org" 84 | source: hosted 85 | version: "0.7.3" 86 | flutter_test: 87 | dependency: "direct dev" 88 | description: flutter 89 | source: sdk 90 | version: "0.0.0" 91 | gradient_app_bar: 92 | dependency: "direct main" 93 | description: 94 | name: gradient_app_bar 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "0.1.3" 98 | image: 99 | dependency: transitive 100 | description: 101 | name: image 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "2.1.4" 105 | matcher: 106 | dependency: transitive 107 | description: 108 | name: matcher 109 | url: "https://pub.dartlang.org" 110 | source: hosted 111 | version: "0.12.5" 112 | meta: 113 | dependency: transitive 114 | description: 115 | name: meta 116 | url: "https://pub.dartlang.org" 117 | source: hosted 118 | version: "1.1.7" 119 | path: 120 | dependency: transitive 121 | description: 122 | name: path 123 | url: "https://pub.dartlang.org" 124 | source: hosted 125 | version: "1.6.4" 126 | pedantic: 127 | dependency: transitive 128 | description: 129 | name: pedantic 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "1.8.0+1" 133 | petitparser: 134 | dependency: transitive 135 | description: 136 | name: petitparser 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "2.4.0" 140 | quiver: 141 | dependency: transitive 142 | description: 143 | name: quiver 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "2.0.5" 147 | sky_engine: 148 | dependency: transitive 149 | description: flutter 150 | source: sdk 151 | version: "0.0.99" 152 | source_span: 153 | dependency: transitive 154 | description: 155 | name: source_span 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.5.5" 159 | stack_trace: 160 | dependency: transitive 161 | description: 162 | name: stack_trace 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "1.9.3" 166 | stream_channel: 167 | dependency: transitive 168 | description: 169 | name: stream_channel 170 | url: "https://pub.dartlang.org" 171 | source: hosted 172 | version: "2.0.0" 173 | string_scanner: 174 | dependency: transitive 175 | description: 176 | name: string_scanner 177 | url: "https://pub.dartlang.org" 178 | source: hosted 179 | version: "1.0.5" 180 | term_glyph: 181 | dependency: transitive 182 | description: 183 | name: term_glyph 184 | url: "https://pub.dartlang.org" 185 | source: hosted 186 | version: "1.1.0" 187 | test_api: 188 | dependency: transitive 189 | description: 190 | name: test_api 191 | url: "https://pub.dartlang.org" 192 | source: hosted 193 | version: "0.2.5" 194 | typed_data: 195 | dependency: transitive 196 | description: 197 | name: typed_data 198 | url: "https://pub.dartlang.org" 199 | source: hosted 200 | version: "1.1.6" 201 | vector_math: 202 | dependency: transitive 203 | description: 204 | name: vector_math 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "2.0.8" 208 | xml: 209 | dependency: transitive 210 | description: 211 | name: xml 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "3.5.0" 215 | yaml: 216 | dependency: transitive 217 | description: 218 | name: yaml 219 | url: "https://pub.dartlang.org" 220 | source: hosted 221 | version: "2.2.0" 222 | sdks: 223 | dart: ">=2.4.0 <3.0.0" 224 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_package_manager 2 | description: A new Flutter project. 3 | 4 | version: 1.0.0+1 5 | 6 | environment: 7 | sdk: ">=2.1.0 <3.0.0" 8 | 9 | dependencies: 10 | flutter: 11 | sdk: flutter 12 | 13 | cupertino_icons: ^0.1.2 14 | gradient_app_bar: ^0.1.3 15 | calendarro: ^1.1.1 16 | 17 | dev_dependencies: 18 | flutter_test: 19 | sdk: flutter 20 | flutter_launcher_icons: "^0.7.3" 21 | 22 | flutter_icons: 23 | android: "launcher_icon" 24 | ios: true 25 | image_path: "assets/images/4x/gift@4x.png" 26 | adaptive_icon_background: "#ffffff" 27 | 28 | flutter: 29 | uses-material-design: true 30 | 31 | assets: 32 | - assets/ 33 | - assets/images/ 34 | - assets/images/1x/ 35 | - assets/images/1.5x/ 36 | - assets/images/2x/ 37 | - assets/images/3x/ 38 | - assets/images/4x/ 39 | - assets/images/CustomX/ 40 | - assets/images/CustomX/Gift-500x.png 41 | 42 | fonts: 43 | - family: rubik 44 | fonts: 45 | - asset: assets/fonts/Rubik/Rubik-Light.ttf 46 | weight: 300 47 | - asset: assets/fonts/Rubik/Rubik-Regular.ttf 48 | weight: 400 49 | - asset: assets/fonts/Rubik/Rubik-Medium.ttf 50 | weight: 500 51 | - asset: assets/fonts/Rubik/Rubik-Bold.ttf 52 | weight: 700 53 | - asset: assets/fonts/Rubik/Rubik-Black.ttf 54 | weight: 900 55 | 56 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:flutter_package_manager/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(App()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | --------------------------------------------------------------------------------