├── .env.example ├── .gitignore ├── .metadata ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ ├── key │ │ └── upload-keystore.jks │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── tech │ │ │ │ └── josharsh │ │ │ │ └── paper │ │ │ │ └── MainActivity.java │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── fonts │ ├── Roboto-Bold.ttf │ ├── Roboto-Medium.ttf │ ├── Roboto-Regular.ttf │ ├── WorkSans-Bold.ttf │ ├── WorkSans-Medium.ttf │ ├── WorkSans-Regular.ttf │ └── WorkSans-SemiBold.ttf ├── images │ ├── feedbackImage.png │ ├── helpImage.png │ ├── inviteImage.png │ ├── supportIcon.png │ └── userImage.png └── introduction_animation │ ├── care_image.gif │ ├── introduction_image.gif │ ├── mood_dairy_image.gif │ ├── relax_image.gif │ └── welcome.png ├── icon ├── 512icon.png └── icon.png ├── images ├── Paper Intro.png ├── Paper0.png ├── PaperLaunch.pdf ├── features.png ├── paper.png ├── papercollage1.png ├── papercollage2.png ├── screen0.jpeg ├── screen1.jpeg ├── screen2.jpeg └── screen3.jpeg ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── app_theme.dart ├── components │ ├── care_view.dart │ ├── center_next_button.dart │ ├── mood_diary_vew.dart │ ├── relax_view.dart │ ├── splash_view.dart │ ├── top_back_skip_view.dart │ └── welcome_view.dart ├── introduction_animation_screen.dart └── main.dart ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart └── web ├── favicon.png ├── icons ├── Icon-192.png └── Icon-512.png ├── index.html └── manifest.json /.env.example: -------------------------------------------------------------------------------- 1 | GENIUS_SCAN_LICENCE_KEY= -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | .env 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Web related 36 | lib/generated_plugin_registrant.dart 37 | 38 | # Symbolication related 39 | app.*.symbols 40 | 41 | # Obfuscation related 42 | app.*.map.json 43 | 44 | # Android Studio will place build artifacts here 45 | /android/app/debug 46 | /android/app/profile 47 | /android/app/release 48 | -------------------------------------------------------------------------------- /.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: d79295af24c3ed621c33713ecda14ad196fd9c31 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Paper 2 | Scan documents on the go 3 | Announcing "Paper" for #Mobile. 4 | Snap those docs at ease with real-time doc detection, multi-page pdf, optimized, and cleaned clicks from an easy-to-navigate UX. 5 | # About 6 | Paper is a cross platform application developed using Flutter. 7 | ## Getting Started 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | def keystoreProperties = new Properties() 27 | def keystorePropertiesFile = rootProject.file('key.properties') 28 | if (keystorePropertiesFile.exists()) { 29 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) 30 | } 31 | android { 32 | compileSdkVersion 30 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "tech.josharsh.paper" 37 | minSdkVersion 19 38 | targetSdkVersion 30 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | } 42 | 43 | signingConfigs { 44 | release { 45 | keyAlias keystoreProperties['keyAlias'] 46 | keyPassword keystoreProperties['keyPassword'] 47 | storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null 48 | storePassword keystoreProperties['storePassword'] 49 | } 50 | } 51 | buildTypes { 52 | release { 53 | signingConfig signingConfigs.release 54 | } 55 | } 56 | } 57 | 58 | flutter { 59 | source '../..' 60 | } 61 | -------------------------------------------------------------------------------- /android/app/key/upload-keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/key/upload-keystore.jks -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /android/app/src/main/java/tech/josharsh/paper/MainActivity.java: -------------------------------------------------------------------------------- 1 | package tech.josharsh.paper; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:4.1.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | 17 | } 18 | 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/WorkSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/WorkSans-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/WorkSans-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/WorkSans-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/WorkSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/WorkSans-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/WorkSans-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/fonts/WorkSans-SemiBold.ttf -------------------------------------------------------------------------------- /assets/images/feedbackImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/images/feedbackImage.png -------------------------------------------------------------------------------- /assets/images/helpImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/images/helpImage.png -------------------------------------------------------------------------------- /assets/images/inviteImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/images/inviteImage.png -------------------------------------------------------------------------------- /assets/images/supportIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/images/supportIcon.png -------------------------------------------------------------------------------- /assets/images/userImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/images/userImage.png -------------------------------------------------------------------------------- /assets/introduction_animation/care_image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/introduction_animation/care_image.gif -------------------------------------------------------------------------------- /assets/introduction_animation/introduction_image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/introduction_animation/introduction_image.gif -------------------------------------------------------------------------------- /assets/introduction_animation/mood_dairy_image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/introduction_animation/mood_dairy_image.gif -------------------------------------------------------------------------------- /assets/introduction_animation/relax_image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/introduction_animation/relax_image.gif -------------------------------------------------------------------------------- /assets/introduction_animation/welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/assets/introduction_animation/welcome.png -------------------------------------------------------------------------------- /icon/512icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/icon/512icon.png -------------------------------------------------------------------------------- /icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/icon/icon.png -------------------------------------------------------------------------------- /images/Paper Intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/Paper Intro.png -------------------------------------------------------------------------------- /images/Paper0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/Paper0.png -------------------------------------------------------------------------------- /images/PaperLaunch.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/PaperLaunch.pdf -------------------------------------------------------------------------------- /images/features.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/features.png -------------------------------------------------------------------------------- /images/paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/paper.png -------------------------------------------------------------------------------- /images/papercollage1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/papercollage1.png -------------------------------------------------------------------------------- /images/papercollage2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/papercollage2.png -------------------------------------------------------------------------------- /images/screen0.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/screen0.jpeg -------------------------------------------------------------------------------- /images/screen1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/screen1.jpeg -------------------------------------------------------------------------------- /images/screen2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/screen2.jpeg -------------------------------------------------------------------------------- /images/screen3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/images/screen3.jpeg -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/ephemeral/ 22 | Flutter/app.flx 23 | Flutter/app.zip 24 | Flutter/flutter_assets/ 25 | Flutter/flutter_export_environment.sh 26 | ServiceDefinitions.json 27 | Runner/GeneratedPluginRegistrant.* 28 | 29 | # Exceptions to above rules. 30 | !default.mode1v3 31 | !default.mode2v3 32 | !default.pbxuser 33 | !default.perspectivev3 34 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1020; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | INFOPLIST_FILE = Runner/Info.plist; 293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 294 | PRODUCT_BUNDLE_IDENTIFIER = tech.josharsh.paper; 295 | PRODUCT_NAME = "$(TARGET_NAME)"; 296 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 297 | SWIFT_VERSION = 5.0; 298 | VERSIONING_SYSTEM = "apple-generic"; 299 | }; 300 | name = Profile; 301 | }; 302 | 97C147031CF9000F007C117D /* Debug */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ALWAYS_SEARCH_USER_PATHS = NO; 306 | CLANG_ANALYZER_NONNULL = YES; 307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 308 | CLANG_CXX_LIBRARY = "libc++"; 309 | CLANG_ENABLE_MODULES = YES; 310 | CLANG_ENABLE_OBJC_ARC = YES; 311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_COMMA = YES; 314 | CLANG_WARN_CONSTANT_CONVERSION = YES; 315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 317 | CLANG_WARN_EMPTY_BODY = YES; 318 | CLANG_WARN_ENUM_CONVERSION = YES; 319 | CLANG_WARN_INFINITE_RECURSION = YES; 320 | CLANG_WARN_INT_CONVERSION = YES; 321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 326 | CLANG_WARN_STRICT_PROTOTYPES = YES; 327 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 328 | CLANG_WARN_UNREACHABLE_CODE = YES; 329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 331 | COPY_PHASE_STRIP = NO; 332 | DEBUG_INFORMATION_FORMAT = dwarf; 333 | ENABLE_STRICT_OBJC_MSGSEND = YES; 334 | ENABLE_TESTABILITY = YES; 335 | GCC_C_LANGUAGE_STANDARD = gnu99; 336 | GCC_DYNAMIC_NO_PIC = NO; 337 | GCC_NO_COMMON_BLOCKS = YES; 338 | GCC_OPTIMIZATION_LEVEL = 0; 339 | GCC_PREPROCESSOR_DEFINITIONS = ( 340 | "DEBUG=1", 341 | "$(inherited)", 342 | ); 343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 345 | GCC_WARN_UNDECLARED_SELECTOR = YES; 346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 347 | GCC_WARN_UNUSED_FUNCTION = YES; 348 | GCC_WARN_UNUSED_VARIABLE = YES; 349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 350 | MTL_ENABLE_DEBUG_INFO = YES; 351 | ONLY_ACTIVE_ARCH = YES; 352 | SDKROOT = iphoneos; 353 | TARGETED_DEVICE_FAMILY = "1,2"; 354 | }; 355 | name = Debug; 356 | }; 357 | 97C147041CF9000F007C117D /* Release */ = { 358 | isa = XCBuildConfiguration; 359 | buildSettings = { 360 | ALWAYS_SEARCH_USER_PATHS = NO; 361 | CLANG_ANALYZER_NONNULL = YES; 362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 363 | CLANG_CXX_LIBRARY = "libc++"; 364 | CLANG_ENABLE_MODULES = YES; 365 | CLANG_ENABLE_OBJC_ARC = YES; 366 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 367 | CLANG_WARN_BOOL_CONVERSION = YES; 368 | CLANG_WARN_COMMA = YES; 369 | CLANG_WARN_CONSTANT_CONVERSION = YES; 370 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 372 | CLANG_WARN_EMPTY_BODY = YES; 373 | CLANG_WARN_ENUM_CONVERSION = YES; 374 | CLANG_WARN_INFINITE_RECURSION = YES; 375 | CLANG_WARN_INT_CONVERSION = YES; 376 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 377 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 379 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 381 | CLANG_WARN_STRICT_PROTOTYPES = YES; 382 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 383 | CLANG_WARN_UNREACHABLE_CODE = YES; 384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 386 | COPY_PHASE_STRIP = NO; 387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 388 | ENABLE_NS_ASSERTIONS = NO; 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | GCC_C_LANGUAGE_STANDARD = gnu99; 391 | GCC_NO_COMMON_BLOCKS = YES; 392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 394 | GCC_WARN_UNDECLARED_SELECTOR = YES; 395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 396 | GCC_WARN_UNUSED_FUNCTION = YES; 397 | GCC_WARN_UNUSED_VARIABLE = YES; 398 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 399 | MTL_ENABLE_DEBUG_INFO = NO; 400 | SDKROOT = iphoneos; 401 | SUPPORTED_PLATFORMS = iphoneos; 402 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 403 | TARGETED_DEVICE_FAMILY = "1,2"; 404 | VALIDATE_PRODUCT = YES; 405 | }; 406 | name = Release; 407 | }; 408 | 97C147061CF9000F007C117D /* Debug */ = { 409 | isa = XCBuildConfiguration; 410 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 411 | buildSettings = { 412 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 413 | CLANG_ENABLE_MODULES = YES; 414 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 415 | ENABLE_BITCODE = NO; 416 | INFOPLIST_FILE = Runner/Info.plist; 417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 418 | PRODUCT_BUNDLE_IDENTIFIER = tech.josharsh.paper; 419 | PRODUCT_NAME = "$(TARGET_NAME)"; 420 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 421 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 422 | SWIFT_VERSION = 5.0; 423 | VERSIONING_SYSTEM = "apple-generic"; 424 | }; 425 | name = Debug; 426 | }; 427 | 97C147071CF9000F007C117D /* Release */ = { 428 | isa = XCBuildConfiguration; 429 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 430 | buildSettings = { 431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 432 | CLANG_ENABLE_MODULES = YES; 433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 434 | ENABLE_BITCODE = NO; 435 | INFOPLIST_FILE = Runner/Info.plist; 436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 437 | PRODUCT_BUNDLE_IDENTIFIER = tech.josharsh.paper; 438 | PRODUCT_NAME = "$(TARGET_NAME)"; 439 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 440 | SWIFT_VERSION = 5.0; 441 | VERSIONING_SYSTEM = "apple-generic"; 442 | }; 443 | name = Release; 444 | }; 445 | /* End XCBuildConfiguration section */ 446 | 447 | /* Begin XCConfigurationList section */ 448 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 449 | isa = XCConfigurationList; 450 | buildConfigurations = ( 451 | 97C147031CF9000F007C117D /* Debug */, 452 | 97C147041CF9000F007C117D /* Release */, 453 | 249021D3217E4FDB00AE95B9 /* Profile */, 454 | ); 455 | defaultConfigurationIsVisible = 0; 456 | defaultConfigurationName = Release; 457 | }; 458 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 459 | isa = XCConfigurationList; 460 | buildConfigurations = ( 461 | 97C147061CF9000F007C117D /* Debug */, 462 | 97C147071CF9000F007C117D /* Release */, 463 | 249021D4217E4FDB00AE95B9 /* Profile */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | /* End XCConfigurationList section */ 469 | }; 470 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 471 | } 472 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/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 | paper 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/app_theme.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class AppTheme { 4 | AppTheme._(); 5 | 6 | static const Color notWhite = Color(0xFFEDF0F2); 7 | static const Color nearlyWhite = Color(0xFFFEFEFE); 8 | static const Color white = Color(0xFFFFFFFF); 9 | static const Color nearlyBlack = Color(0xFF213333); 10 | static const Color grey = Color(0xFF3A5160); 11 | static const Color dark_grey = Color(0xFF313A44); 12 | 13 | static const Color darkText = Color(0xFF253840); 14 | static const Color darkerText = Color(0xFF17262A); 15 | static const Color lightText = Color(0xFF4A6572); 16 | static const Color deactivatedText = Color(0xFF767676); 17 | static const Color dismissibleBackground = Color(0xFF364A54); 18 | static const Color chipBackground = Color(0xFFEEF1F3); 19 | static const Color spacer = Color(0xFFF2F2F2); 20 | static const String fontName = 'WorkSans'; 21 | 22 | static const TextTheme textTheme = TextTheme( 23 | headline4: display1, 24 | headline5: headline, 25 | headline6: title, 26 | subtitle2: subtitle, 27 | bodyText2: body2, 28 | bodyText1: body1, 29 | caption: caption, 30 | ); 31 | 32 | static const TextStyle display1 = TextStyle( // h4 -> display1 33 | fontFamily: fontName, 34 | fontWeight: FontWeight.bold, 35 | fontSize: 36, 36 | letterSpacing: 0.4, 37 | height: 0.9, 38 | color: darkerText, 39 | ); 40 | 41 | static const TextStyle headline = TextStyle( // h5 -> headline 42 | fontFamily: fontName, 43 | fontWeight: FontWeight.bold, 44 | fontSize: 24, 45 | letterSpacing: 0.27, 46 | color: darkerText, 47 | ); 48 | 49 | static const TextStyle title = TextStyle( // h6 -> title 50 | fontFamily: fontName, 51 | fontWeight: FontWeight.bold, 52 | fontSize: 16, 53 | letterSpacing: 0.18, 54 | color: darkerText, 55 | ); 56 | 57 | static const TextStyle subtitle = TextStyle( // subtitle2 -> subtitle 58 | fontFamily: fontName, 59 | fontWeight: FontWeight.w400, 60 | fontSize: 14, 61 | letterSpacing: -0.04, 62 | color: darkText, 63 | ); 64 | 65 | static const TextStyle body2 = TextStyle( // body1 -> body2 66 | fontFamily: fontName, 67 | fontWeight: FontWeight.w400, 68 | fontSize: 14, 69 | letterSpacing: 0.2, 70 | color: darkText, 71 | ); 72 | 73 | static const TextStyle body1 = TextStyle( // body2 -> body1 74 | fontFamily: fontName, 75 | fontWeight: FontWeight.w400, 76 | fontSize: 16, 77 | letterSpacing: -0.05, 78 | color: darkText, 79 | ); 80 | 81 | static const TextStyle caption = TextStyle( // Caption -> caption 82 | fontFamily: fontName, 83 | fontWeight: FontWeight.w400, 84 | fontSize: 12, 85 | letterSpacing: 0.2, 86 | color: lightText, // was lightText 87 | ); 88 | 89 | } 90 | -------------------------------------------------------------------------------- /lib/components/care_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CareView extends StatelessWidget { 4 | final AnimationController animationController; 5 | 6 | const CareView({Key? key, required this.animationController}) 7 | : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | final _firstHalfAnimation = 12 | Tween(begin: Offset(1, 0), end: Offset(0, 0)) 13 | .animate(CurvedAnimation( 14 | parent: animationController, 15 | curve: Interval( 16 | 0.2, 17 | 0.4, 18 | curve: Curves.fastOutSlowIn, 19 | ), 20 | )); 21 | final _secondHalfAnimation = 22 | Tween(begin: Offset(0, 0), end: Offset(-1, 0)) 23 | .animate(CurvedAnimation( 24 | parent: animationController, 25 | curve: Interval( 26 | 0.4, 27 | 0.6, 28 | curve: Curves.fastOutSlowIn, 29 | ), 30 | )); 31 | final _relaxFirstHalfAnimation = 32 | Tween(begin: Offset(2, 0), end: Offset(0, 0)) 33 | .animate(CurvedAnimation( 34 | parent: animationController, 35 | curve: Interval( 36 | 0.2, 37 | 0.4, 38 | curve: Curves.fastOutSlowIn, 39 | ), 40 | )); 41 | final _relaxSecondHalfAnimation = 42 | Tween(begin: Offset(0, 0), end: Offset(-2, 0)) 43 | .animate(CurvedAnimation( 44 | parent: animationController, 45 | curve: Interval( 46 | 0.4, 47 | 0.6, 48 | curve: Curves.fastOutSlowIn, 49 | ), 50 | )); 51 | 52 | final _imageFirstHalfAnimation = 53 | Tween(begin: Offset(4, 0), end: Offset(0, 0)) 54 | .animate(CurvedAnimation( 55 | parent: animationController, 56 | curve: Interval( 57 | 0.2, 58 | 0.4, 59 | curve: Curves.fastOutSlowIn, 60 | ), 61 | )); 62 | final _imageSecondHalfAnimation = 63 | Tween(begin: Offset(0, 0), end: Offset(-4, 0)) 64 | .animate(CurvedAnimation( 65 | parent: animationController, 66 | curve: Interval( 67 | 0.4, 68 | 0.6, 69 | curve: Curves.fastOutSlowIn, 70 | ), 71 | )); 72 | 73 | return SlideTransition( 74 | position: _firstHalfAnimation, 75 | child: SlideTransition( 76 | position: _secondHalfAnimation, 77 | child: Padding( 78 | padding: const EdgeInsets.only(bottom: 100), 79 | child: Column( 80 | mainAxisAlignment: MainAxisAlignment.center, 81 | children: [ 82 | SlideTransition( 83 | position: _imageFirstHalfAnimation, 84 | child: SlideTransition( 85 | position: _imageSecondHalfAnimation, 86 | child: Container( 87 | constraints: BoxConstraints(maxWidth: 650, maxHeight: 450), 88 | child: Image.asset( 89 | 'assets/introduction_animation/care_image.gif', 90 | fit: BoxFit.contain, 91 | ), 92 | ), 93 | ), 94 | ), 95 | SlideTransition( 96 | position: _relaxFirstHalfAnimation, 97 | child: SlideTransition( 98 | position: _relaxSecondHalfAnimation, 99 | child: Text( 100 | "Multi-paged PDF", 101 | style: 102 | TextStyle(fontSize: 26.0, fontWeight: FontWeight.bold), 103 | ), 104 | ), 105 | ), 106 | Padding( 107 | padding: 108 | EdgeInsets.only(left: 64, right: 64, bottom: 16, top: 16), 109 | child: Text( 110 | "Get a multi-page PDF document whenever you need. Keep clicking to keep adding", 111 | textAlign: TextAlign.center, 112 | ), 113 | ), 114 | ], 115 | ), 116 | ), 117 | ), 118 | ); 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /lib/components/center_next_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:animations/animations.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter/services.dart'; 4 | import 'package:flutter_genius_scan/flutter_genius_scan.dart'; 5 | import 'package:open_file/open_file.dart'; 6 | import 'package:flutter_dotenv/flutter_dotenv.dart' as DotEnv; 7 | 8 | class CenterNextButton extends StatelessWidget { 9 | final AnimationController animationController; 10 | final VoidCallback onNextClick; 11 | const CenterNextButton( 12 | {Key? key, required this.animationController, required this.onNextClick}) 13 | : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | 18 | final _topMoveAnimation = 19 | Tween(begin: Offset(0, 5), end: Offset(0, 0)) 20 | .animate(CurvedAnimation( 21 | parent: animationController, 22 | curve: Interval( 23 | 0.0, 24 | 0.2, 25 | curve: Curves.fastOutSlowIn, 26 | ), 27 | )); 28 | final _signUpMoveAnimation = 29 | Tween(begin: 0, end: 1.0).animate(CurvedAnimation( 30 | parent: animationController, 31 | curve: Interval( 32 | 0.6, 33 | 0.8, 34 | curve: Curves.fastOutSlowIn, 35 | ), 36 | )); 37 | final _loginTextMoveAnimation = 38 | Tween(begin: Offset(0, 5), end: Offset(0, 0)) 39 | .animate(CurvedAnimation( 40 | parent: animationController, 41 | curve: Interval( 42 | 0.6, 43 | 0.8, 44 | curve: Curves.fastOutSlowIn, 45 | ), 46 | )); 47 | 48 | return Padding( 49 | padding: 50 | EdgeInsets.only(bottom: 16 + MediaQuery.of(context).padding.bottom), 51 | child: Column( 52 | mainAxisAlignment: MainAxisAlignment.end, 53 | crossAxisAlignment: CrossAxisAlignment.center, 54 | children: [ 55 | SlideTransition( 56 | position: _topMoveAnimation, 57 | child: AnimatedBuilder( 58 | animation: animationController, 59 | builder: (context, child) => AnimatedOpacity( 60 | opacity: animationController.value >= 0.2 && 61 | animationController.value <= 0.6 62 | ? 1 63 | : 0, 64 | duration: Duration(milliseconds: 480), 65 | child: _pageView(), 66 | ), 67 | ), 68 | ), 69 | SlideTransition( 70 | position: _topMoveAnimation, 71 | child: AnimatedBuilder( 72 | animation: animationController, 73 | builder: (context, child) => Padding( 74 | padding: EdgeInsets.only( 75 | bottom: 38 - (38 * _signUpMoveAnimation.value)), 76 | child: Container( 77 | height: 58, 78 | width: 58 + (200 * _signUpMoveAnimation.value), 79 | decoration: BoxDecoration( 80 | borderRadius: BorderRadius.circular( 81 | 8 + 32 * (1 - _signUpMoveAnimation.value)), 82 | color: Color(0xff132137), 83 | ), 84 | child: PageTransitionSwitcher( 85 | duration: Duration(milliseconds: 480), 86 | reverse: _signUpMoveAnimation.value < 0.7, 87 | transitionBuilder: ( 88 | Widget child, 89 | Animation animation, 90 | Animation secondaryAnimation, 91 | ) { 92 | return SharedAxisTransition( 93 | fillColor: Colors.transparent, 94 | child: child, 95 | animation: animation, 96 | secondaryAnimation: secondaryAnimation, 97 | transitionType: SharedAxisTransitionType.vertical, 98 | ); 99 | }, 100 | child: _signUpMoveAnimation.value > 0.7 101 | ? InkWell( 102 | key: ValueKey('Scan Button'), 103 | 104 | onTap: () { 105 | FlutterGeniusScan.setLicenceKey(DotEnv.dotenv.env['GENIUS_SCAN_LICENCE_KEY'] ?? '').then((result)=>{ 106 | print("License has been set") 107 | }).catchError((err){print("JJJosharsh");}); 108 | FlutterGeniusScan.scanWithConfiguration({ 109 | 'source': 'camera', 110 | 'multiPage': true, 111 | }).then((result) { 112 | String pdfUrl = result['pdfUrl']; 113 | OpenFile.open(pdfUrl.replaceAll("file://", '')).then( 114 | (result) => debugPrint(result.message), 115 | onError: (error) => displayError(context, error)); 116 | }, onError: (error) => displayError(context, error)); 117 | }, 118 | child: Padding( 119 | padding: EdgeInsets.only(left: 66.0, right: 16.0), 120 | child: Row( 121 | mainAxisAlignment: 122 | MainAxisAlignment.spaceBetween, 123 | children: [ 124 | Text("Scan a doc",style: TextStyle(fontSize: 20.0, color:Colors.white,fontWeight: FontWeight.bold),), 125 | Icon(Icons.arrow_forward_rounded, 126 | color: Colors.white), 127 | ], 128 | ), 129 | ), 130 | ) 131 | : InkWell( 132 | key: ValueKey('next button'), 133 | onTap: onNextClick, 134 | child: Padding( 135 | padding: EdgeInsets.all(16.0), 136 | child: Icon(Icons.arrow_forward_ios_rounded, 137 | color: Colors.white), 138 | ), 139 | ), 140 | ), 141 | ), 142 | ), 143 | ), 144 | ), 145 | Padding( 146 | padding: const EdgeInsets.only(top: 8), 147 | child: SlideTransition( 148 | position: _loginTextMoveAnimation, 149 | child: Row( 150 | mainAxisAlignment: MainAxisAlignment.center, 151 | ), 152 | ), 153 | ), 154 | ], 155 | ), 156 | ); 157 | } 158 | void displayError(BuildContext context, PlatformException error) { 159 | ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(error.message!))); 160 | } 161 | Widget _pageView() { 162 | int _selectedIndex = 0; 163 | 164 | if (animationController.value >= 0.7) { 165 | _selectedIndex = 3; 166 | } else if (animationController.value >= 0.5) { 167 | _selectedIndex = 2; 168 | } else if (animationController.value >= 0.3) { 169 | _selectedIndex = 1; 170 | } else if (animationController.value >= 0.1) { 171 | _selectedIndex = 0; 172 | } 173 | 174 | return Padding( 175 | padding: const EdgeInsets.only(bottom: 16), 176 | child: Row( 177 | mainAxisSize: MainAxisSize.min, 178 | children: [ 179 | for (var i = 0; i < 4; i++) 180 | Padding( 181 | padding: const EdgeInsets.all(4), 182 | child: AnimatedContainer( 183 | duration: Duration(milliseconds: 480), 184 | decoration: BoxDecoration( 185 | borderRadius: BorderRadius.circular(32), 186 | color: _selectedIndex == i 187 | ? Color(0xff132137) 188 | : Color(0xffE3E4E4), 189 | ), 190 | width: 10, 191 | height: 10, 192 | ), 193 | ) 194 | ], 195 | ), 196 | ); 197 | } 198 | } 199 | -------------------------------------------------------------------------------- /lib/components/mood_diary_vew.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class MoodDiaryVew extends StatelessWidget { 4 | final AnimationController animationController; 5 | 6 | const MoodDiaryVew({Key? key, required this.animationController}) 7 | : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | final _firstHalfAnimation = 12 | Tween(begin: Offset(1, 0), end: Offset(0, 0)) 13 | .animate(CurvedAnimation( 14 | parent: animationController, 15 | curve: Interval( 16 | 0.4, 17 | 0.6, 18 | curve: Curves.fastOutSlowIn, 19 | ), 20 | )); 21 | final _secondHalfAnimation = 22 | Tween(begin: Offset(0, 0), end: Offset(-1, 0)) 23 | .animate(CurvedAnimation( 24 | parent: animationController, 25 | curve: Interval( 26 | 0.6, 27 | 0.8, 28 | curve: Curves.fastOutSlowIn, 29 | ), 30 | )); 31 | 32 | final _moodFirstHalfAnimation = 33 | Tween(begin: Offset(2, 0), end: Offset(0, 0)) 34 | .animate(CurvedAnimation( 35 | parent: animationController, 36 | curve: Interval( 37 | 0.4, 38 | 0.6, 39 | curve: Curves.fastOutSlowIn, 40 | ), 41 | )); 42 | final _moodSecondHalfAnimation = 43 | Tween(begin: Offset(0, 0), end: Offset(-2, 0)) 44 | .animate(CurvedAnimation( 45 | parent: animationController, 46 | curve: Interval( 47 | 0.6, 48 | 0.8, 49 | curve: Curves.fastOutSlowIn, 50 | ), 51 | )); 52 | final _imageFirstHalfAnimation = 53 | Tween(begin: Offset(4, 0), end: Offset(0, 0)) 54 | .animate(CurvedAnimation( 55 | parent: animationController, 56 | curve: Interval( 57 | 0.4, 58 | 0.6, 59 | curve: Curves.fastOutSlowIn, 60 | ), 61 | )); 62 | final _imageSecondHalfAnimation = 63 | Tween(begin: Offset(0, 0), end: Offset(-4, 0)) 64 | .animate(CurvedAnimation( 65 | parent: animationController, 66 | curve: Interval( 67 | 0.6, 68 | 0.8, 69 | curve: Curves.fastOutSlowIn, 70 | ), 71 | )); 72 | 73 | return SlideTransition( 74 | position: _firstHalfAnimation, 75 | child: SlideTransition( 76 | position: _secondHalfAnimation, 77 | child: Padding( 78 | padding: const EdgeInsets.only(bottom: 100), 79 | child: Column( 80 | mainAxisAlignment: MainAxisAlignment.center, 81 | children: [ 82 | Text( 83 | "Clean as a whistle", 84 | style: TextStyle(fontSize: 26.0, fontWeight: FontWeight.bold), 85 | ), 86 | SlideTransition( 87 | position: _moodFirstHalfAnimation, 88 | child: SlideTransition( 89 | position: _moodSecondHalfAnimation, 90 | child: Padding( 91 | padding: EdgeInsets.only( 92 | left: 64, right: 64, top: 16, bottom: 0), 93 | child: Text( 94 | "Paper cleans your documents for you. Click a picture and let it do the rest for you", 95 | textAlign: TextAlign.center, 96 | ), 97 | ), 98 | ), 99 | ), 100 | SlideTransition( 101 | position: _imageFirstHalfAnimation, 102 | child: SlideTransition( 103 | position: _imageSecondHalfAnimation, 104 | child: Container( 105 | constraints: BoxConstraints(maxWidth: 650, maxHeight: 450), 106 | child: Image.asset( 107 | 'assets/introduction_animation/mood_dairy_image.gif', 108 | fit: BoxFit.contain, 109 | ), 110 | ), 111 | ), 112 | ), 113 | ], 114 | ), 115 | ), 116 | ), 117 | ); 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /lib/components/relax_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class RelaxView extends StatelessWidget { 4 | final AnimationController animationController; 5 | 6 | const RelaxView({Key? key, required this.animationController}) 7 | : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | final _firstHalfAnimation = 12 | Tween(begin: Offset(0, 1), end: Offset(0, 0)).animate( 13 | CurvedAnimation( 14 | parent: animationController, 15 | curve: Interval( 16 | 0.0, 17 | 0.2, 18 | curve: Curves.fastOutSlowIn, 19 | ), 20 | ), 21 | ); 22 | final _secondHalfAnimation = 23 | Tween(begin: Offset(0, 0), end: Offset(-1, 0)).animate( 24 | CurvedAnimation( 25 | parent: animationController, 26 | curve: Interval( 27 | 0.2, 28 | 0.4, 29 | curve: Curves.fastOutSlowIn, 30 | ), 31 | ), 32 | ); 33 | final _textAnimation = 34 | Tween(begin: Offset(0, 0), end: Offset(-2, 0)).animate( 35 | CurvedAnimation( 36 | parent: animationController, 37 | curve: Interval( 38 | 0.2, 39 | 0.4, 40 | curve: Curves.fastOutSlowIn, 41 | ), 42 | ), 43 | ); 44 | final _imageAnimation = 45 | Tween(begin: Offset(0, 0), end: Offset(-4, 0)).animate( 46 | CurvedAnimation( 47 | parent: animationController, 48 | curve: Interval( 49 | 0.2, 50 | 0.4, 51 | curve: Curves.fastOutSlowIn, 52 | ), 53 | ), 54 | ); 55 | 56 | final _relaxAnimation = 57 | Tween(begin: Offset(0, -2), end: Offset(0, 0)).animate( 58 | CurvedAnimation( 59 | parent: animationController, 60 | curve: Interval( 61 | 0.0, 62 | 0.2, 63 | curve: Curves.fastOutSlowIn, 64 | ), 65 | ), 66 | ); 67 | return SlideTransition( 68 | position: _firstHalfAnimation, 69 | child: SlideTransition( 70 | position: _secondHalfAnimation, 71 | child: Padding( 72 | padding: const EdgeInsets.only(bottom: 100), 73 | child: Column( 74 | mainAxisAlignment: MainAxisAlignment.center, 75 | children: [ 76 | SlideTransition( 77 | position: _relaxAnimation, 78 | child: Padding( 79 | padding: EdgeInsets.only(left: 64, right: 64, bottom: 16), 80 | child: Text( 81 | "Real-time detection", 82 | style: TextStyle(fontSize: 26.0, fontWeight: FontWeight.bold), 83 | textAlign: TextAlign.center, 84 | ), 85 | ), 86 | ), 87 | SlideTransition( 88 | position: _textAnimation, 89 | child: Padding( 90 | padding: 91 | EdgeInsets.only(left: 64, right: 64, top: 16), 92 | child: Text( 93 | "Paper uses intelligent sense to automatically highlight the document so that you can frame it correctly.", 94 | textAlign: TextAlign.center, 95 | style: TextStyle(fontSize: 15.0), 96 | ), 97 | ), 98 | ), 99 | SlideTransition( 100 | position: _imageAnimation, 101 | child: Container( 102 | constraints: BoxConstraints(maxWidth: 650, maxHeight: 450), 103 | child: Image.asset( 104 | 'assets/introduction_animation/relax_image.gif', 105 | fit: BoxFit.contain, 106 | ), 107 | ), 108 | ), 109 | ], 110 | ), 111 | ), 112 | ), 113 | ); 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /lib/components/splash_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class SplashView extends StatefulWidget { 4 | final AnimationController animationController; 5 | 6 | const SplashView({Key? key, required this.animationController}) 7 | : super(key: key); 8 | 9 | @override 10 | _SplashViewState createState() => _SplashViewState(); 11 | } 12 | 13 | class _SplashViewState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | final _introductionanimation = 17 | Tween(begin: Offset(0, 0), end: Offset(0.0, -1.0)) 18 | .animate(CurvedAnimation( 19 | parent: widget.animationController, 20 | curve: Interval( 21 | 0.0, 22 | 0.2, 23 | curve: Curves.fastOutSlowIn, 24 | ), 25 | )); 26 | return SlideTransition( 27 | position: _introductionanimation, 28 | child: SingleChildScrollView( 29 | child: Column( 30 | children: [ 31 | SizedBox( 32 | width: MediaQuery.of(context).size.width, 33 | child: Image.asset( 34 | 'assets/introduction_animation/introduction_image.gif', 35 | fit: BoxFit.cover, 36 | ), 37 | ), 38 | Padding( 39 | padding: EdgeInsets.only(top: 8.0, bottom: 8.0), 40 | child: Text( 41 | "Paper", 42 | style: TextStyle(fontSize: 35.0, fontWeight: FontWeight.bold, color:Color(0xff132137)), 43 | ), 44 | ), 45 | Padding( 46 | padding: EdgeInsets.only(left: 64, right: 64,top: 8.0, bottom: 8.0), 47 | child: Text( 48 | "Paper helps you scan your documents on the go using your phone", 49 | style: TextStyle(fontSize: 15.0, fontWeight: FontWeight.bold), 50 | textAlign: TextAlign.center, 51 | ), 52 | ), 53 | SizedBox( 54 | height: 48, 55 | ), 56 | Padding( 57 | padding: EdgeInsets.only( 58 | bottom: MediaQuery.of(context).padding.bottom + 16), 59 | child: InkWell( 60 | onTap: () { 61 | widget.animationController.animateTo(0.2); 62 | }, 63 | child: Container( 64 | height: 58, 65 | padding: EdgeInsets.only( 66 | left: 56.0, 67 | right: 56.0, 68 | top: 16, 69 | bottom: 16, 70 | ), 71 | decoration: BoxDecoration( 72 | borderRadius: BorderRadius.circular(80.0), 73 | color: Color(0xff132137), 74 | ), 75 | child: Text( 76 | "Get Started", 77 | style: TextStyle( 78 | fontSize: 18, 79 | color: Colors.white, 80 | ), 81 | ), 82 | ), 83 | ), 84 | ), 85 | ], 86 | ), 87 | ), 88 | ); 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /lib/components/top_back_skip_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class TopBackSkipView extends StatelessWidget { 4 | final AnimationController animationController; 5 | final VoidCallback onBackClick; 6 | final VoidCallback onSkipClick; 7 | 8 | const TopBackSkipView({ 9 | Key? key, 10 | required this.onBackClick, 11 | required this.onSkipClick, 12 | required this.animationController, 13 | }) : super(key: key); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | final _animation = 18 | Tween(begin: Offset(0, -1), end: Offset(0.0, 0.0)) 19 | .animate(CurvedAnimation( 20 | parent: animationController, 21 | curve: Interval( 22 | 0.0, 23 | 0.2, 24 | curve: Curves.fastOutSlowIn, 25 | ), 26 | )); 27 | 28 | // final _backAnimation = 29 | // Tween(begin: Offset(0, 0), end: Offset(-2, 0)) 30 | // .animate(CurvedAnimation( 31 | // parent: animationController, 32 | // curve: Interval( 33 | // 0.6, 34 | // 0.8, 35 | // curve: Curves.fastOutSlowIn, 36 | // ), 37 | // )); 38 | final _skipAnimation = Tween(begin: Offset(0, 0), end: Offset(2, 0)) 39 | .animate(CurvedAnimation( 40 | parent: animationController, 41 | curve: Interval( 42 | 0.6, 43 | 0.8, 44 | curve: Curves.fastOutSlowIn, 45 | ), 46 | )); 47 | 48 | return SlideTransition( 49 | position: _animation, 50 | child: Padding( 51 | padding: EdgeInsets.only(top: MediaQuery.of(context).padding.top), 52 | child: Container( 53 | height: 58, 54 | child: Padding( 55 | padding: const EdgeInsets.only(left: 8, right: 16), 56 | child: Row( 57 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 58 | children: [ 59 | // SlideTransition( 60 | // position: _backAnimation, 61 | // child: 62 | IconButton( 63 | onPressed: onBackClick, 64 | icon: Icon(Icons.arrow_back_ios_new_rounded), 65 | // ), 66 | ), 67 | SlideTransition( 68 | position: _skipAnimation, 69 | child: IconButton( 70 | onPressed: onSkipClick, 71 | icon: Text('Skip'), 72 | ), 73 | ), 74 | ], 75 | ), 76 | ), 77 | ), 78 | ), 79 | ); 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /lib/components/welcome_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class WelcomeView extends StatelessWidget { 4 | final AnimationController animationController; 5 | const WelcomeView({Key? key, required this.animationController}) 6 | : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | final _firstHalfAnimation = 11 | Tween(begin: Offset(1, 0), end: Offset(0, 0)).animate( 12 | CurvedAnimation( 13 | parent: animationController, 14 | curve: Interval( 15 | 0.6, 16 | 0.8, 17 | curve: Curves.fastOutSlowIn, 18 | ), 19 | ), 20 | ); 21 | final _secondHalfAnimation = 22 | Tween(begin: Offset(0, 0), end: Offset(-1, 0)).animate( 23 | CurvedAnimation( 24 | parent: animationController, 25 | curve: Interval( 26 | 0.8, 27 | 1.0, 28 | curve: Curves.fastOutSlowIn, 29 | ), 30 | ), 31 | ); 32 | 33 | final _welcomeFirstHalfAnimation = 34 | Tween(begin: Offset(2, 0), end: Offset(0, 0)) 35 | .animate(CurvedAnimation( 36 | parent: animationController, 37 | curve: Interval( 38 | 0.6, 39 | 0.8, 40 | curve: Curves.fastOutSlowIn, 41 | ), 42 | )); 43 | 44 | final _welcomeImageAnimation = 45 | Tween(begin: Offset(4, 0), end: Offset(0, 0)) 46 | .animate(CurvedAnimation( 47 | parent: animationController, 48 | curve: Interval( 49 | 0.6, 50 | 0.8, 51 | curve: Curves.fastOutSlowIn, 52 | ), 53 | )); 54 | return SlideTransition( 55 | position: _firstHalfAnimation, 56 | child: SlideTransition( 57 | position: _secondHalfAnimation, 58 | child: Padding( 59 | padding: const EdgeInsets.only(bottom: 100), 60 | child: Column( 61 | mainAxisAlignment: MainAxisAlignment.center, 62 | children: [ 63 | SlideTransition( 64 | position: _welcomeImageAnimation, 65 | child: Container( 66 | constraints: BoxConstraints(maxWidth: 650, maxHeight: 450), 67 | child: Image.asset( 68 | 'assets/introduction_animation/welcome.png', 69 | fit: BoxFit.contain, 70 | ), 71 | ), 72 | ), 73 | SlideTransition( 74 | position: _welcomeFirstHalfAnimation, 75 | child: Text( 76 | "Welcome", 77 | style: TextStyle(fontSize: 25.0, fontWeight: FontWeight.bold), 78 | ), 79 | ), 80 | Padding( 81 | padding: 82 | EdgeInsets.only(left: 64, right: 64, top: 16, bottom: 16), 83 | child: Text( 84 | "Are you a time traveler? Cause I see you in my future!", 85 | textAlign: TextAlign.center, 86 | ), 87 | ), 88 | ], 89 | ), 90 | ), 91 | ), 92 | ); 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /lib/introduction_animation_screen.dart: -------------------------------------------------------------------------------- 1 | import 'components/care_view.dart'; 2 | import 'components/center_next_button.dart'; 3 | import 'components/mood_diary_vew.dart'; 4 | import 'components/relax_view.dart'; 5 | import 'components/splash_view.dart'; 6 | import 'components/top_back_skip_view.dart'; 7 | import 'components/welcome_view.dart'; 8 | import 'package:flutter/material.dart'; 9 | 10 | class IntroductionAnimationScreen extends StatefulWidget { 11 | const IntroductionAnimationScreen({Key? key}) : super(key: key); 12 | 13 | @override 14 | _IntroductionAnimationScreenState createState() => 15 | _IntroductionAnimationScreenState(); 16 | } 17 | 18 | class _IntroductionAnimationScreenState 19 | extends State with TickerProviderStateMixin { 20 | AnimationController? _animationController; 21 | 22 | @override 23 | void initState() { 24 | _animationController = 25 | AnimationController(vsync: this, duration: Duration(seconds: 8)); 26 | _animationController?.animateTo(0.0); 27 | super.initState(); 28 | } 29 | 30 | @override 31 | void dispose() { 32 | _animationController?.dispose(); 33 | super.dispose(); 34 | } 35 | 36 | @override 37 | Widget build(BuildContext context) { 38 | print(_animationController?.value); 39 | return Scaffold( 40 | backgroundColor: Color(0xffF7EBE1), 41 | body: ClipRect( 42 | child: Stack( 43 | children: [ 44 | SplashView( 45 | animationController: _animationController!, 46 | ), 47 | RelaxView( 48 | animationController: _animationController!, 49 | ), 50 | CareView( 51 | animationController: _animationController!, 52 | ), 53 | MoodDiaryVew( 54 | animationController: _animationController!, 55 | ), 56 | WelcomeView( 57 | animationController: _animationController!, 58 | ), 59 | TopBackSkipView( 60 | onBackClick: _onBackClick, 61 | onSkipClick: _onSkipClick, 62 | animationController: _animationController!, 63 | ), 64 | CenterNextButton( 65 | animationController: _animationController!, 66 | onNextClick: _onNextClick, 67 | ), 68 | ], 69 | ), 70 | ), 71 | ); 72 | } 73 | 74 | void _onSkipClick() { 75 | _animationController?.animateTo(0.8, 76 | duration: Duration(milliseconds: 1200)); 77 | } 78 | 79 | void _onBackClick() { 80 | if (_animationController!.value >= 0 && 81 | _animationController!.value <= 0.2) { 82 | _animationController?.animateTo(0.0); 83 | } else if (_animationController!.value > 0.2 && 84 | _animationController!.value <= 0.4) { 85 | _animationController?.animateTo(0.2); 86 | } else if (_animationController!.value > 0.4 && 87 | _animationController!.value <= 0.6) { 88 | _animationController?.animateTo(0.4); 89 | } else if (_animationController!.value > 0.6 && 90 | _animationController!.value <= 0.8) { 91 | _animationController?.animateTo(0.6); 92 | } else if (_animationController!.value > 0.8 && 93 | _animationController!.value <= 1.0) { 94 | _animationController?.animateTo(0.8); 95 | } 96 | } 97 | 98 | void _onNextClick() { 99 | if (_animationController!.value >= 0 && 100 | _animationController!.value <= 0.2) { 101 | _animationController?.animateTo(0.4); 102 | } else if (_animationController!.value > 0.2 && 103 | _animationController!.value <= 0.4) { 104 | _animationController?.animateTo(0.6); 105 | } else if (_animationController!.value > 0.4 && 106 | _animationController!.value <= 0.6) { 107 | _animationController?.animateTo(0.8); 108 | } else if (_animationController!.value > 0.6 && 109 | _animationController!.value <= 0.8) { 110 | _signUpClick(); 111 | } 112 | } 113 | 114 | void _signUpClick() { 115 | Navigator.pop(context); 116 | } 117 | } 118 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_genius_scan/flutter_genius_scan.dart'; 3 | import 'components/care_view.dart'; 4 | import 'components/center_next_button.dart'; 5 | import 'components/mood_diary_vew.dart'; 6 | import 'components/relax_view.dart'; 7 | import 'components/splash_view.dart'; 8 | import 'components/top_back_skip_view.dart'; 9 | import 'components/welcome_view.dart'; 10 | import 'package:flutter_dotenv/flutter_dotenv.dart' as DotEnv; 11 | 12 | void main() async { 13 | await DotEnv.dotenv.load(fileName: ".env"); 14 | runApp(MyApp()); 15 | } 16 | 17 | class MyApp extends StatefulWidget { 18 | @override 19 | _MyAppState createState() => _MyAppState(); 20 | } 21 | 22 | class _MyAppState extends State { 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | return MaterialApp( 27 | home: Scaffold( 28 | body: IntroductionAnimationScreen()), 29 | ); 30 | } 31 | } 32 | class IntroductionAnimationScreen extends StatefulWidget { 33 | const IntroductionAnimationScreen({Key? key}) : super(key: key); 34 | 35 | @override 36 | _IntroductionAnimationScreenState createState() => 37 | _IntroductionAnimationScreenState(); 38 | } 39 | 40 | class _IntroductionAnimationScreenState 41 | extends State with TickerProviderStateMixin { 42 | AnimationController? _animationController; 43 | 44 | @override 45 | void initState() { 46 | FlutterGeniusScan.setLicenceKey(DotEnv.dotenv.env['GENIUS_SCAN_LICENCE_KEY'] ?? '').then((result)=>{ 47 | print("License has been set") 48 | }).catchError((err){print("Professor Snape $err");}); 49 | _animationController = 50 | AnimationController(vsync: this, duration: Duration(seconds: 8)); 51 | _animationController?.animateTo(0.0); 52 | super.initState(); 53 | } 54 | 55 | @override 56 | void dispose() { 57 | _animationController?.dispose(); 58 | super.dispose(); 59 | } 60 | 61 | @override 62 | Widget build(BuildContext context) { 63 | print(_animationController?.value); 64 | return Scaffold( 65 | backgroundColor: Color(0xffF7EBE1), 66 | body: ClipRect( 67 | child: Stack( 68 | children: [ 69 | SplashView( 70 | animationController: _animationController!, 71 | ), 72 | RelaxView( 73 | animationController: _animationController!, 74 | ), 75 | CareView( 76 | animationController: _animationController!, 77 | ), 78 | MoodDiaryVew( 79 | animationController: _animationController!, 80 | ), 81 | WelcomeView( 82 | animationController: _animationController!, 83 | ), 84 | TopBackSkipView( 85 | onBackClick: _onBackClick, 86 | onSkipClick: _onSkipClick, 87 | animationController: _animationController!, 88 | ), 89 | CenterNextButton( 90 | animationController: _animationController!, 91 | onNextClick: _onNextClick, 92 | ), 93 | ], 94 | ), 95 | ), 96 | ); 97 | } 98 | 99 | void _onSkipClick() { 100 | _animationController?.animateTo(0.8, 101 | duration: Duration(milliseconds: 1200)); 102 | } 103 | 104 | void _onBackClick() { 105 | if (_animationController!.value >= 0 && 106 | _animationController!.value <= 0.2) { 107 | _animationController?.animateTo(0.0); 108 | } else if (_animationController!.value > 0.2 && 109 | _animationController!.value <= 0.4) { 110 | _animationController?.animateTo(0.2); 111 | } else if (_animationController!.value > 0.4 && 112 | _animationController!.value <= 0.6) { 113 | _animationController?.animateTo(0.4); 114 | } else if (_animationController!.value > 0.6 && 115 | _animationController!.value <= 0.8) { 116 | _animationController?.animateTo(0.6); 117 | } else if (_animationController!.value > 0.8 && 118 | _animationController!.value <= 1.0) { 119 | _animationController?.animateTo(0.8); 120 | } 121 | } 122 | 123 | void _onNextClick() { 124 | if (_animationController!.value >= 0 && 125 | _animationController!.value <= 0.2) { 126 | _animationController?.animateTo(0.4); 127 | } else if (_animationController!.value > 0.2 && 128 | _animationController!.value <= 0.4) { 129 | _animationController?.animateTo(0.6); 130 | } else if (_animationController!.value > 0.4 && 131 | _animationController!.value <= 0.6) { 132 | _animationController?.animateTo(0.8); 133 | } else if (_animationController!.value > 0.6 && 134 | _animationController!.value <= 0.8) { 135 | _signUpClick(); 136 | } 137 | } 138 | 139 | void _signUpClick() { 140 | Navigator.pop(context); 141 | } 142 | } 143 | 144 | // class MyScaffoldBody extends StatelessWidget { 145 | // @override 146 | // Widget build(BuildContext context) { 147 | // return Center( 148 | // child: ElevatedButton( 149 | // onPressed: () { 150 | // FlutterGeniusScan.scanWithConfiguration({ 151 | // 'source': 'camera', 152 | // 'multiPage': true, 153 | // }).then((result) { 154 | // String pdfUrl = result['pdfUrl']; 155 | // OpenFile.open(pdfUrl.replaceAll("file://", '')).then( 156 | // (result) => debugPrint(result.message), 157 | // onError: (error) => displayError(context, error)); 158 | // }, onError: (error) => displayError(context, error)); 159 | // }, 160 | // child: Text("Scan a doc"), 161 | // )); 162 | // } 163 | // 164 | // void displayError(BuildContext context, PlatformException error) { 165 | // ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(error.message!))); 166 | // } 167 | // } 168 | 169 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | animations: 5 | dependency: "direct main" 6 | description: 7 | name: animations 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.0" 11 | archive: 12 | dependency: transitive 13 | description: 14 | name: archive 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "3.1.2" 18 | args: 19 | dependency: transitive 20 | description: 21 | name: args 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.0.0" 25 | async: 26 | dependency: transitive 27 | description: 28 | name: async 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "2.6.1" 32 | boolean_selector: 33 | dependency: transitive 34 | description: 35 | name: boolean_selector 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "2.1.0" 39 | characters: 40 | dependency: transitive 41 | description: 42 | name: characters 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "1.1.0" 46 | charcode: 47 | dependency: transitive 48 | description: 49 | name: charcode 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.2.0" 53 | clock: 54 | dependency: transitive 55 | description: 56 | name: clock 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.1.0" 60 | collection: 61 | dependency: transitive 62 | description: 63 | name: collection 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.15.0" 67 | crypto: 68 | dependency: transitive 69 | description: 70 | name: crypto 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "3.0.1" 74 | cupertino_icons: 75 | dependency: "direct main" 76 | description: 77 | name: cupertino_icons 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "1.0.3" 81 | fake_async: 82 | dependency: transitive 83 | description: 84 | name: fake_async 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "1.2.0" 88 | ffi: 89 | dependency: transitive 90 | description: 91 | name: ffi 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "1.1.2" 95 | flutter: 96 | dependency: "direct main" 97 | description: flutter 98 | source: sdk 99 | version: "0.0.0" 100 | flutter_genius_scan: 101 | dependency: "direct main" 102 | description: 103 | name: flutter_genius_scan 104 | url: "https://pub.dartlang.org" 105 | source: hosted 106 | version: "4.0.8" 107 | flutter_launcher_icons: 108 | dependency: "direct dev" 109 | description: 110 | name: flutter_launcher_icons 111 | url: "https://pub.dartlang.org" 112 | source: hosted 113 | version: "0.9.0" 114 | flutter_rating_bar: 115 | dependency: "direct main" 116 | description: 117 | name: flutter_rating_bar 118 | url: "https://pub.dartlang.org" 119 | source: hosted 120 | version: "4.0.0" 121 | flutter_test: 122 | dependency: "direct dev" 123 | description: flutter 124 | source: sdk 125 | version: "0.0.0" 126 | font_awesome_flutter: 127 | dependency: "direct main" 128 | description: 129 | name: font_awesome_flutter 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "9.1.0" 133 | image: 134 | dependency: transitive 135 | description: 136 | name: image 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "3.0.2" 140 | intl: 141 | dependency: "direct main" 142 | description: 143 | name: intl 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "0.17.0" 147 | matcher: 148 | dependency: transitive 149 | description: 150 | name: matcher 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "0.12.10" 154 | meta: 155 | dependency: transitive 156 | description: 157 | name: meta 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "1.3.0" 161 | open_file: 162 | dependency: "direct main" 163 | description: 164 | name: open_file 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "3.2.1" 168 | path: 169 | dependency: transitive 170 | description: 171 | name: path 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "1.8.0" 175 | petitparser: 176 | dependency: transitive 177 | description: 178 | name: petitparser 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "4.1.0" 182 | sky_engine: 183 | dependency: transitive 184 | description: flutter 185 | source: sdk 186 | version: "0.0.99" 187 | source_span: 188 | dependency: transitive 189 | description: 190 | name: source_span 191 | url: "https://pub.dartlang.org" 192 | source: hosted 193 | version: "1.8.1" 194 | stack_trace: 195 | dependency: transitive 196 | description: 197 | name: stack_trace 198 | url: "https://pub.dartlang.org" 199 | source: hosted 200 | version: "1.10.0" 201 | stream_channel: 202 | dependency: transitive 203 | description: 204 | name: stream_channel 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "2.1.0" 208 | string_scanner: 209 | dependency: transitive 210 | description: 211 | name: string_scanner 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "1.1.0" 215 | term_glyph: 216 | dependency: transitive 217 | description: 218 | name: term_glyph 219 | url: "https://pub.dartlang.org" 220 | source: hosted 221 | version: "1.2.0" 222 | test_api: 223 | dependency: transitive 224 | description: 225 | name: test_api 226 | url: "https://pub.dartlang.org" 227 | source: hosted 228 | version: "0.3.0" 229 | typed_data: 230 | dependency: transitive 231 | description: 232 | name: typed_data 233 | url: "https://pub.dartlang.org" 234 | source: hosted 235 | version: "1.3.0" 236 | vector_math: 237 | dependency: transitive 238 | description: 239 | name: vector_math 240 | url: "https://pub.dartlang.org" 241 | source: hosted 242 | version: "2.1.0" 243 | xml: 244 | dependency: transitive 245 | description: 246 | name: xml 247 | url: "https://pub.dartlang.org" 248 | source: hosted 249 | version: "5.1.2" 250 | yaml: 251 | dependency: transitive 252 | description: 253 | name: yaml 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "3.1.0" 257 | sdks: 258 | dart: ">=2.12.0 <3.0.0" 259 | flutter: ">=1.12.13+hotfix.5" 260 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: paper 2 | description: Scan documents on the go 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.12.0 <3.0.0" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | open_file: ^3.1.0 27 | flutter_dotenv: ^5.0.2 28 | 29 | flutter_genius_scan: 30 | version: 4.0.8 31 | 32 | 33 | # The following adds the Cupertino Icons font to your application. 34 | # Use with the CupertinoIcons class for iOS style icons. 35 | cupertino_icons: ^1.0.2 36 | animations: ^2.0.0 37 | font_awesome_flutter: ^9.0.0 38 | flutter_rating_bar: ^4.0.0 39 | intl: ^0.17.0 40 | 41 | 42 | dev_dependencies: 43 | flutter_test: 44 | sdk: flutter 45 | flutter_launcher_icons: "^0.9.0" 46 | 47 | flutter_icons: 48 | image_path: "icon/icon.png" 49 | android: true 50 | ios: true 51 | # For information on the generic Dart part of this file, see the 52 | # following page: https://dart.dev/tools/pub/pubspec 53 | 54 | # The following section is specific to Flutter. 55 | flutter: 56 | assets: 57 | - assets/introduction_animation/ 58 | - .env 59 | # The following line ensures that the Material Icons font is 60 | # included with your application, so that you can use the icons in 61 | # the material Icons class. 62 | uses-material-design: true 63 | 64 | # To add assets to your application, add an assets section, like this: 65 | # assets: 66 | # - images/a_dot_burr.jpeg 67 | # - images/a_dot_ham.jpeg 68 | 69 | # An image asset can refer to one or more resolution-specific "variants", see 70 | # https://flutter.dev/assets-and-images/#resolution-aware. 71 | 72 | # For details regarding adding assets from package dependencies, see 73 | # https://flutter.dev/assets-and-images/#from-packages 74 | 75 | # To add custom fonts to your application, add a fonts section here, 76 | # in this "flutter" section. Each entry in this list should have a 77 | # "family" key with the font family name, and a "fonts" key with a 78 | # list giving the asset and other descriptors for the font. For 79 | # example: 80 | # fonts: 81 | # - family: Schyler 82 | # fonts: 83 | # - asset: fonts/Schyler-Regular.ttf 84 | # - asset: fonts/Schyler-Italic.ttf 85 | # style: italic 86 | # - family: Trajan Pro 87 | # fonts: 88 | # - asset: fonts/TrajanPro.ttf 89 | # - asset: fonts/TrajanPro_Bold.ttf 90 | # weight: 700 91 | # 92 | # For details regarding fonts from package dependencies, 93 | # see https://flutter.dev/custom-fonts/#from-packages 94 | -------------------------------------------------------------------------------- /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:paper/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/josharsh/Paper/1ccb5c4dde41c8079c4024bd78e4c2f27bd12c56/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | paper 27 | 28 | 29 | 30 | 33 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "paper", 3 | "short_name": "paper", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "Scan documents on the go", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | --------------------------------------------------------------------------------