고원빈

[frontend] Flutter Project 생성

Showing 70 changed files with 1224 additions and 0 deletions
1 +m
...\ No newline at end of file ...\ No newline at end of file
1 +# Miscellaneous
2 +*.class
3 +*.log
4 +*.pyc
5 +*.swp
6 +.DS_Store
7 +.atom/
8 +.buildlog/
9 +.history
10 +.svn/
11 +
12 +# IntelliJ related
13 +*.iml
14 +*.ipr
15 +*.iws
16 +.idea/
17 +
18 +# The .vscode folder contains launch configuration and tasks you configure in
19 +# VS Code which you may wish to be included in version control, so this line
20 +# is commented out by default.
21 +#.vscode/
22 +
23 +# Flutter/Dart/Pub related
24 +**/doc/api/
25 +**/ios/Flutter/.last_build_id
26 +.dart_tool/
27 +.flutter-plugins
28 +.flutter-plugins-dependencies
29 +.packages
30 +.pub-cache/
31 +.pub/
32 +/build/
33 +
34 +# Web related
35 +lib/generated_plugin_registrant.dart
36 +
37 +# Symbolication related
38 +app.*.symbols
39 +
40 +# Obfuscation related
41 +app.*.map.json
42 +
43 +# Android Studio will place build artifacts here
44 +/android/app/debug
45 +/android/app/profile
46 +/android/app/release
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: adc687823a831bbebe28bdccfac1a628ca621513
8 + channel: stable
9 +
10 +project_type: app
1 +# app_frontend
2 +
3 +A new Flutter project.
4 +
5 +## Getting Started
6 +
7 +This project is a starting point for a Flutter application.
8 +
9 +A few resources to get you started if this is your first Flutter project:
10 +
11 +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12 +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13 +
14 +For help getting started with Flutter, view our
15 +[online documentation](https://flutter.dev/docs), which offers tutorials,
16 +samples, guidance on mobile development, and a full API reference.
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
1 +def localProperties = new Properties()
2 +def localPropertiesFile = rootProject.file('local.properties')
3 +if (localPropertiesFile.exists()) {
4 + localPropertiesFile.withReader('UTF-8') { reader ->
5 + localProperties.load(reader)
6 + }
7 +}
8 +
9 +def flutterRoot = localProperties.getProperty('flutter.sdk')
10 +if (flutterRoot == null) {
11 + throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 +}
13 +
14 +def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 +if (flutterVersionCode == null) {
16 + flutterVersionCode = '1'
17 +}
18 +
19 +def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 +if (flutterVersionName == null) {
21 + flutterVersionName = '1.0'
22 +}
23 +
24 +apply plugin: 'com.android.application'
25 +apply plugin: 'kotlin-android'
26 +apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 +
28 +android {
29 + compileSdkVersion 30
30 +
31 + sourceSets {
32 + main.java.srcDirs += 'src/main/kotlin'
33 + }
34 +
35 + defaultConfig {
36 + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 + applicationId "com.example.app_frontend"
38 + minSdkVersion 16
39 + targetSdkVersion 30
40 + versionCode flutterVersionCode.toInteger()
41 + versionName flutterVersionName
42 + }
43 +
44 + buildTypes {
45 + release {
46 + // TODO: Add your own signing config for the release build.
47 + // Signing with the debug keys for now, so `flutter run --release` works.
48 + signingConfig signingConfigs.debug
49 + }
50 + }
51 +}
52 +
53 +flutter {
54 + source '../..'
55 +}
56 +
57 +dependencies {
58 + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
59 +}
1 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 + package="com.example.app_frontend">
3 + <!-- Flutter needs it to communicate with the running application
4 + to allow setting breakpoints, to provide hot reload, etc.
5 + -->
6 + <uses-permission android:name="android.permission.INTERNET"/>
7 +</manifest>
1 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 + package="com.example.app_frontend">
3 + <application
4 + android:label="app_frontend"
5 + android:icon="@mipmap/ic_launcher">
6 + <activity
7 + android:name=".MainActivity"
8 + android:launchMode="singleTop"
9 + android:theme="@style/LaunchTheme"
10 + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11 + android:hardwareAccelerated="true"
12 + android:windowSoftInputMode="adjustResize">
13 + <!-- Specifies an Android theme to apply to this Activity as soon as
14 + the Android process has started. This theme is visible to the user
15 + while the Flutter UI initializes. After that, this theme continues
16 + to determine the Window background behind the Flutter UI. -->
17 + <meta-data
18 + android:name="io.flutter.embedding.android.NormalTheme"
19 + android:resource="@style/NormalTheme"
20 + />
21 + <!-- Displays an Android View that continues showing the launch screen
22 + Drawable until Flutter paints its first frame, then this splash
23 + screen fades out. A splash screen is useful to avoid any visual
24 + gap between the end of Android's launch screen and the painting of
25 + Flutter's first frame. -->
26 + <meta-data
27 + android:name="io.flutter.embedding.android.SplashScreenDrawable"
28 + android:resource="@drawable/launch_background"
29 + />
30 + <intent-filter>
31 + <action android:name="android.intent.action.MAIN"/>
32 + <category android:name="android.intent.category.LAUNCHER"/>
33 + </intent-filter>
34 + </activity>
35 + <!-- Don't delete the meta-data below.
36 + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
37 + <meta-data
38 + android:name="flutterEmbedding"
39 + android:value="2" />
40 + </application>
41 +</manifest>
1 +package com.example.app_frontend
2 +
3 +import io.flutter.embedding.android.FlutterActivity
4 +
5 +class MainActivity: FlutterActivity() {
6 +}
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<!-- Modify this file to customize your launch splash screen -->
3 +<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4 + <item android:drawable="?android:colorBackground" />
5 +
6 + <!-- You can insert your own image assets here -->
7 + <!-- <item>
8 + <bitmap
9 + android:gravity="center"
10 + android:src="@mipmap/launch_image" />
11 + </item> -->
12 +</layer-list>
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<!-- Modify this file to customize your launch splash screen -->
3 +<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4 + <item android:drawable="@android:color/white" />
5 +
6 + <!-- You can insert your own image assets here -->
7 + <!-- <item>
8 + <bitmap
9 + android:gravity="center"
10 + android:src="@mipmap/launch_image" />
11 + </item> -->
12 +</layer-list>
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<resources>
3 + <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4 + <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5 + <!-- Show a splash screen on the activity. Automatically removed when
6 + Flutter draws its first frame -->
7 + <item name="android:windowBackground">@drawable/launch_background</item>
8 + </style>
9 + <!-- Theme applied to the Android Window as soon as the process has started.
10 + This theme determines the color of the Android Window while your
11 + Flutter UI initializes, as well as behind your Flutter UI while its
12 + running.
13 +
14 + This Theme is only used starting with V2 of Flutter's Android embedding. -->
15 + <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16 + <item name="android:windowBackground">?android:colorBackground</item>
17 + </style>
18 +</resources>
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<resources>
3 + <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
4 + <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5 + <!-- Show a splash screen on the activity. Automatically removed when
6 + Flutter draws its first frame -->
7 + <item name="android:windowBackground">@drawable/launch_background</item>
8 + </style>
9 + <!-- Theme applied to the Android Window as soon as the process has started.
10 + This theme determines the color of the Android Window while your
11 + Flutter UI initializes, as well as behind your Flutter UI while its
12 + running.
13 +
14 + This Theme is only used starting with V2 of Flutter's Android embedding. -->
15 + <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16 + <item name="android:windowBackground">?android:colorBackground</item>
17 + </style>
18 +</resources>
1 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 + package="com.example.app_frontend">
3 + <!-- Flutter needs it to communicate with the running application
4 + to allow setting breakpoints, to provide hot reload, etc.
5 + -->
6 + <uses-permission android:name="android.permission.INTERNET"/>
7 +</manifest>
1 +buildscript {
2 + ext.kotlin_version = '1.3.50'
3 + repositories {
4 + google()
5 + jcenter()
6 + }
7 +
8 + dependencies {
9 + classpath 'com.android.tools.build:gradle:4.1.0'
10 + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 + }
12 +}
13 +
14 +allprojects {
15 + repositories {
16 + google()
17 + jcenter()
18 + }
19 +}
20 +
21 +rootProject.buildDir = '../build'
22 +subprojects {
23 + project.buildDir = "${rootProject.buildDir}/${project.name}"
24 +}
25 +subprojects {
26 + project.evaluationDependsOn(':app')
27 +}
28 +
29 +task clean(type: Delete) {
30 + delete rootProject.buildDir
31 +}
1 +org.gradle.jvmargs=-Xmx1536M
2 +android.useAndroidX=true
3 +android.enableJetifier=true
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
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"
1 +*.mode1v3
2 +*.mode2v3
3 +*.moved-aside
4 +*.pbxuser
5 +*.perspectivev3
6 +**/*sync/
7 +.sconsign.dblite
8 +.tags*
9 +**/.vagrant/
10 +**/DerivedData/
11 +Icon?
12 +**/Pods/
13 +**/.symlinks/
14 +profile
15 +xcuserdata
16 +**/.generated/
17 +Flutter/App.framework
18 +Flutter/Flutter.framework
19 +Flutter/Flutter.podspec
20 +Flutter/Generated.xcconfig
21 +Flutter/app.flx
22 +Flutter/app.zip
23 +Flutter/flutter_assets/
24 +Flutter/flutter_export_environment.sh
25 +ServiceDefinitions.json
26 +Runner/GeneratedPluginRegistrant.*
27 +
28 +# Exceptions to above rules.
29 +!default.mode1v3
30 +!default.mode2v3
31 +!default.pbxuser
32 +!default.perspectivev3
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>CFBundleDevelopmentRegion</key>
6 + <string>en</string>
7 + <key>CFBundleExecutable</key>
8 + <string>App</string>
9 + <key>CFBundleIdentifier</key>
10 + <string>io.flutter.flutter.app</string>
11 + <key>CFBundleInfoDictionaryVersion</key>
12 + <string>6.0</string>
13 + <key>CFBundleName</key>
14 + <string>App</string>
15 + <key>CFBundlePackageType</key>
16 + <string>FMWK</string>
17 + <key>CFBundleShortVersionString</key>
18 + <string>1.0</string>
19 + <key>CFBundleSignature</key>
20 + <string>????</string>
21 + <key>CFBundleVersion</key>
22 + <string>1.0</string>
23 + <key>MinimumOSVersion</key>
24 + <string>8.0</string>
25 +</dict>
26 +</plist>
This diff is collapsed. Click to expand it.
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<Workspace
3 + version = "1.0">
4 + <FileRef
5 + location = "self:">
6 + </FileRef>
7 +</Workspace>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>IDEDidComputeMac32BitWarning</key>
6 + <true/>
7 +</dict>
8 +</plist>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>PreviewsEnabled</key>
6 + <false/>
7 +</dict>
8 +</plist>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<Scheme
3 + LastUpgradeVersion = "1020"
4 + version = "1.3">
5 + <BuildAction
6 + parallelizeBuildables = "YES"
7 + buildImplicitDependencies = "YES">
8 + <BuildActionEntries>
9 + <BuildActionEntry
10 + buildForTesting = "YES"
11 + buildForRunning = "YES"
12 + buildForProfiling = "YES"
13 + buildForArchiving = "YES"
14 + buildForAnalyzing = "YES">
15 + <BuildableReference
16 + BuildableIdentifier = "primary"
17 + BlueprintIdentifier = "97C146ED1CF9000F007C117D"
18 + BuildableName = "Runner.app"
19 + BlueprintName = "Runner"
20 + ReferencedContainer = "container:Runner.xcodeproj">
21 + </BuildableReference>
22 + </BuildActionEntry>
23 + </BuildActionEntries>
24 + </BuildAction>
25 + <TestAction
26 + buildConfiguration = "Debug"
27 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29 + shouldUseLaunchSchemeArgsEnv = "YES">
30 + <Testables>
31 + </Testables>
32 + <MacroExpansion>
33 + <BuildableReference
34 + BuildableIdentifier = "primary"
35 + BlueprintIdentifier = "97C146ED1CF9000F007C117D"
36 + BuildableName = "Runner.app"
37 + BlueprintName = "Runner"
38 + ReferencedContainer = "container:Runner.xcodeproj">
39 + </BuildableReference>
40 + </MacroExpansion>
41 + <AdditionalOptions>
42 + </AdditionalOptions>
43 + </TestAction>
44 + <LaunchAction
45 + buildConfiguration = "Debug"
46 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48 + launchStyle = "0"
49 + useCustomWorkingDirectory = "NO"
50 + ignoresPersistentStateOnLaunch = "NO"
51 + debugDocumentVersioning = "YES"
52 + debugServiceExtension = "internal"
53 + allowLocationSimulation = "YES">
54 + <BuildableProductRunnable
55 + runnableDebuggingMode = "0">
56 + <BuildableReference
57 + BuildableIdentifier = "primary"
58 + BlueprintIdentifier = "97C146ED1CF9000F007C117D"
59 + BuildableName = "Runner.app"
60 + BlueprintName = "Runner"
61 + ReferencedContainer = "container:Runner.xcodeproj">
62 + </BuildableReference>
63 + </BuildableProductRunnable>
64 + <AdditionalOptions>
65 + </AdditionalOptions>
66 + </LaunchAction>
67 + <ProfileAction
68 + buildConfiguration = "Profile"
69 + shouldUseLaunchSchemeArgsEnv = "YES"
70 + savedToolIdentifier = ""
71 + useCustomWorkingDirectory = "NO"
72 + debugDocumentVersioning = "YES">
73 + <BuildableProductRunnable
74 + runnableDebuggingMode = "0">
75 + <BuildableReference
76 + BuildableIdentifier = "primary"
77 + BlueprintIdentifier = "97C146ED1CF9000F007C117D"
78 + BuildableName = "Runner.app"
79 + BlueprintName = "Runner"
80 + ReferencedContainer = "container:Runner.xcodeproj">
81 + </BuildableReference>
82 + </BuildableProductRunnable>
83 + </ProfileAction>
84 + <AnalyzeAction
85 + buildConfiguration = "Debug">
86 + </AnalyzeAction>
87 + <ArchiveAction
88 + buildConfiguration = "Release"
89 + revealArchiveInOrganizer = "YES">
90 + </ArchiveAction>
91 +</Scheme>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<Workspace
3 + version = "1.0">
4 + <FileRef
5 + location = "group:Runner.xcodeproj">
6 + </FileRef>
7 +</Workspace>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>IDEDidComputeMac32BitWarning</key>
6 + <true/>
7 +</dict>
8 +</plist>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>PreviewsEnabled</key>
6 + <false/>
7 +</dict>
8 +</plist>
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 +}
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 +}
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 +}
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.
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3 + <dependencies>
4 + <deployment identifier="iOS"/>
5 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
6 + </dependencies>
7 + <scenes>
8 + <!--View Controller-->
9 + <scene sceneID="EHf-IW-A2E">
10 + <objects>
11 + <viewController id="01J-lp-oVM" sceneMemberID="viewController">
12 + <layoutGuides>
13 + <viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
14 + <viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
15 + </layoutGuides>
16 + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18 + <subviews>
19 + <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
20 + </imageView>
21 + </subviews>
22 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
23 + <constraints>
24 + <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
25 + <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
26 + </constraints>
27 + </view>
28 + </viewController>
29 + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
30 + </objects>
31 + <point key="canvasLocation" x="53" y="375"/>
32 + </scene>
33 + </scenes>
34 + <resources>
35 + <image name="LaunchImage" width="168" height="185"/>
36 + </resources>
37 +</document>
1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
3 + <dependencies>
4 + <deployment identifier="iOS"/>
5 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
6 + </dependencies>
7 + <scenes>
8 + <!--Flutter View Controller-->
9 + <scene sceneID="tne-QT-ifu">
10 + <objects>
11 + <viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
12 + <layoutGuides>
13 + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
14 + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
15 + </layoutGuides>
16 + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
17 + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
18 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
20 + </view>
21 + </viewController>
22 + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
23 + </objects>
24 + </scene>
25 + </scenes>
26 +</document>
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 +<plist version="1.0">
4 +<dict>
5 + <key>CFBundleDevelopmentRegion</key>
6 + <string>$(DEVELOPMENT_LANGUAGE)</string>
7 + <key>CFBundleExecutable</key>
8 + <string>$(EXECUTABLE_NAME)</string>
9 + <key>CFBundleIdentifier</key>
10 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11 + <key>CFBundleInfoDictionaryVersion</key>
12 + <string>6.0</string>
13 + <key>CFBundleName</key>
14 + <string>app_frontend</string>
15 + <key>CFBundlePackageType</key>
16 + <string>APPL</string>
17 + <key>CFBundleShortVersionString</key>
18 + <string>$(FLUTTER_BUILD_NAME)</string>
19 + <key>CFBundleSignature</key>
20 + <string>????</string>
21 + <key>CFBundleVersion</key>
22 + <string>$(FLUTTER_BUILD_NUMBER)</string>
23 + <key>LSRequiresIPhoneOS</key>
24 + <true/>
25 + <key>UILaunchStoryboardName</key>
26 + <string>LaunchScreen</string>
27 + <key>UIMainStoryboardFile</key>
28 + <string>Main</string>
29 + <key>UISupportedInterfaceOrientations</key>
30 + <array>
31 + <string>UIInterfaceOrientationPortrait</string>
32 + <string>UIInterfaceOrientationLandscapeLeft</string>
33 + <string>UIInterfaceOrientationLandscapeRight</string>
34 + </array>
35 + <key>UISupportedInterfaceOrientations~ipad</key>
36 + <array>
37 + <string>UIInterfaceOrientationPortrait</string>
38 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
39 + <string>UIInterfaceOrientationLandscapeLeft</string>
40 + <string>UIInterfaceOrientationLandscapeRight</string>
41 + </array>
42 + <key>UIViewControllerBasedStatusBarAppearance</key>
43 + <false/>
44 +</dict>
45 +</plist>
1 +#import "GeneratedPluginRegistrant.h"
1 +import 'package:flutter/material.dart';
2 +
3 +void main() {
4 + runApp(MyApp());
5 +}
6 +
7 +class MyApp extends StatelessWidget {
8 + // This widget is the root of your application.
9 + @override
10 + Widget build(BuildContext context) {
11 + return MaterialApp(
12 + title: 'Flutter Demo',
13 + theme: ThemeData(
14 + // This is the theme of your application.
15 + //
16 + // Try running your application with "flutter run". You'll see the
17 + // application has a blue toolbar. Then, without quitting the app, try
18 + // changing the primarySwatch below to Colors.green and then invoke
19 + // "hot reload" (press "r" in the console where you ran "flutter run",
20 + // or simply save your changes to "hot reload" in a Flutter IDE).
21 + // Notice that the counter didn't reset back to zero; the application
22 + // is not restarted.
23 + primarySwatch: Colors.blue,
24 + ),
25 + home: MyHomePage(title: 'Flutter Demo Home Page'),
26 + );
27 + }
28 +}
29 +
30 +class MyHomePage extends StatefulWidget {
31 + MyHomePage({Key key, this.title}) : super(key: key);
32 +
33 + // This widget is the home page of your application. It is stateful, meaning
34 + // that it has a State object (defined below) that contains fields that affect
35 + // how it looks.
36 +
37 + // This class is the configuration for the state. It holds the values (in this
38 + // case the title) provided by the parent (in this case the App widget) and
39 + // used by the build method of the State. Fields in a Widget subclass are
40 + // always marked "final".
41 +
42 + final String title;
43 +
44 + @override
45 + _MyHomePageState createState() => _MyHomePageState();
46 +}
47 +
48 +class _MyHomePageState extends State<MyHomePage> {
49 + int _counter = 0;
50 +
51 + void _incrementCounter() {
52 + setState(() {
53 + // This call to setState tells the Flutter framework that something has
54 + // changed in this State, which causes it to rerun the build method below
55 + // so that the display can reflect the updated values. If we changed
56 + // _counter without calling setState(), then the build method would not be
57 + // called again, and so nothing would appear to happen.
58 + _counter++;
59 + });
60 + }
61 +
62 + @override
63 + Widget build(BuildContext context) {
64 + // This method is rerun every time setState is called, for instance as done
65 + // by the _incrementCounter method above.
66 + //
67 + // The Flutter framework has been optimized to make rerunning build methods
68 + // fast, so that you can just rebuild anything that needs updating rather
69 + // than having to individually change instances of widgets.
70 + return Scaffold(
71 + appBar: AppBar(
72 + // Here we take the value from the MyHomePage object that was created by
73 + // the App.build method, and use it to set our appbar title.
74 + title: Text(widget.title),
75 + ),
76 + body: Center(
77 + // Center is a layout widget. It takes a single child and positions it
78 + // in the middle of the parent.
79 + child: Column(
80 + // Column is also a layout widget. It takes a list of children and
81 + // arranges them vertically. By default, it sizes itself to fit its
82 + // children horizontally, and tries to be as tall as its parent.
83 + //
84 + // Invoke "debug painting" (press "p" in the console, choose the
85 + // "Toggle Debug Paint" action from the Flutter Inspector in Android
86 + // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
87 + // to see the wireframe for each widget.
88 + //
89 + // Column has various properties to control how it sizes itself and
90 + // how it positions its children. Here we use mainAxisAlignment to
91 + // center the children vertically; the main axis here is the vertical
92 + // axis because Columns are vertical (the cross axis would be
93 + // horizontal).
94 + mainAxisAlignment: MainAxisAlignment.center,
95 + children: <Widget>[
96 + Text(
97 + 'You have pushed the button this many times:',
98 + ),
99 + Text(
100 + '$_counter',
101 + style: Theme.of(context).textTheme.headline4,
102 + ),
103 + ],
104 + ),
105 + ),
106 + floatingActionButton: FloatingActionButton(
107 + onPressed: _incrementCounter,
108 + tooltip: 'Increment',
109 + child: Icon(Icons.add),
110 + ), // This trailing comma makes auto-formatting nicer for build methods.
111 + );
112 + }
113 +}
1 +# Generated by pub
2 +# See https://dart.dev/tools/pub/glossary#lockfile
3 +packages:
4 + async:
5 + dependency: transitive
6 + description:
7 + name: async
8 + url: "https://pub.dartlang.org"
9 + source: hosted
10 + version: "2.5.0"
11 + boolean_selector:
12 + dependency: transitive
13 + description:
14 + name: boolean_selector
15 + url: "https://pub.dartlang.org"
16 + source: hosted
17 + version: "2.1.0"
18 + characters:
19 + dependency: transitive
20 + description:
21 + name: characters
22 + url: "https://pub.dartlang.org"
23 + source: hosted
24 + version: "1.1.0"
25 + charcode:
26 + dependency: transitive
27 + description:
28 + name: charcode
29 + url: "https://pub.dartlang.org"
30 + source: hosted
31 + version: "1.2.0"
32 + clock:
33 + dependency: transitive
34 + description:
35 + name: clock
36 + url: "https://pub.dartlang.org"
37 + source: hosted
38 + version: "1.1.0"
39 + collection:
40 + dependency: transitive
41 + description:
42 + name: collection
43 + url: "https://pub.dartlang.org"
44 + source: hosted
45 + version: "1.15.0"
46 + cupertino_icons:
47 + dependency: "direct main"
48 + description:
49 + name: cupertino_icons
50 + url: "https://pub.dartlang.org"
51 + source: hosted
52 + version: "1.0.2"
53 + fake_async:
54 + dependency: transitive
55 + description:
56 + name: fake_async
57 + url: "https://pub.dartlang.org"
58 + source: hosted
59 + version: "1.2.0"
60 + flutter:
61 + dependency: "direct main"
62 + description: flutter
63 + source: sdk
64 + version: "0.0.0"
65 + flutter_test:
66 + dependency: "direct dev"
67 + description: flutter
68 + source: sdk
69 + version: "0.0.0"
70 + matcher:
71 + dependency: transitive
72 + description:
73 + name: matcher
74 + url: "https://pub.dartlang.org"
75 + source: hosted
76 + version: "0.12.10"
77 + meta:
78 + dependency: transitive
79 + description:
80 + name: meta
81 + url: "https://pub.dartlang.org"
82 + source: hosted
83 + version: "1.3.0"
84 + path:
85 + dependency: transitive
86 + description:
87 + name: path
88 + url: "https://pub.dartlang.org"
89 + source: hosted
90 + version: "1.8.0"
91 + sky_engine:
92 + dependency: transitive
93 + description: flutter
94 + source: sdk
95 + version: "0.0.99"
96 + source_span:
97 + dependency: transitive
98 + description:
99 + name: source_span
100 + url: "https://pub.dartlang.org"
101 + source: hosted
102 + version: "1.8.0"
103 + stack_trace:
104 + dependency: transitive
105 + description:
106 + name: stack_trace
107 + url: "https://pub.dartlang.org"
108 + source: hosted
109 + version: "1.10.0"
110 + stream_channel:
111 + dependency: transitive
112 + description:
113 + name: stream_channel
114 + url: "https://pub.dartlang.org"
115 + source: hosted
116 + version: "2.1.0"
117 + string_scanner:
118 + dependency: transitive
119 + description:
120 + name: string_scanner
121 + url: "https://pub.dartlang.org"
122 + source: hosted
123 + version: "1.1.0"
124 + term_glyph:
125 + dependency: transitive
126 + description:
127 + name: term_glyph
128 + url: "https://pub.dartlang.org"
129 + source: hosted
130 + version: "1.2.0"
131 + test_api:
132 + dependency: transitive
133 + description:
134 + name: test_api
135 + url: "https://pub.dartlang.org"
136 + source: hosted
137 + version: "0.2.19"
138 + typed_data:
139 + dependency: transitive
140 + description:
141 + name: typed_data
142 + url: "https://pub.dartlang.org"
143 + source: hosted
144 + version: "1.3.0"
145 + vector_math:
146 + dependency: transitive
147 + description:
148 + name: vector_math
149 + url: "https://pub.dartlang.org"
150 + source: hosted
151 + version: "2.1.0"
152 +sdks:
153 + dart: ">=2.12.0-0.0 <3.0.0"
1 +name: app_frontend
2 +description: A new Flutter project.
3 +
4 +# The following line prevents the package from being accidentally published to
5 +# pub.dev using `pub publish`. This is preferred for private packages.
6 +publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 +
8 +# The following defines the version and build number for your application.
9 +# A version number is three numbers separated by dots, like 1.2.43
10 +# followed by an optional build number separated by a +.
11 +# Both the version and the builder number may be overridden in flutter
12 +# build by specifying --build-name and --build-number, respectively.
13 +# In Android, build-name is used as versionName while build-number used as versionCode.
14 +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 +# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 +# Read more about iOS versioning at
17 +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 +version: 1.0.0+1
19 +
20 +environment:
21 + sdk: ">=2.7.0 <3.0.0"
22 +
23 +dependencies:
24 + flutter:
25 + sdk: flutter
26 +
27 +
28 + # The following adds the Cupertino Icons font to your application.
29 + # Use with the CupertinoIcons class for iOS style icons.
30 + cupertino_icons: ^1.0.2
31 +
32 +dev_dependencies:
33 + flutter_test:
34 + sdk: flutter
35 +
36 +# For information on the generic Dart part of this file, see the
37 +# following page: https://dart.dev/tools/pub/pubspec
38 +
39 +# The following section is specific to Flutter.
40 +flutter:
41 +
42 + # The following line ensures that the Material Icons font is
43 + # included with your application, so that you can use the icons in
44 + # the material Icons class.
45 + uses-material-design: true
46 +
47 + # To add assets to your application, add an assets section, like this:
48 + # assets:
49 + # - images/a_dot_burr.jpeg
50 + # - images/a_dot_ham.jpeg
51 +
52 + # An image asset can refer to one or more resolution-specific "variants", see
53 + # https://flutter.dev/assets-and-images/#resolution-aware.
54 +
55 + # For details regarding adding assets from package dependencies, see
56 + # https://flutter.dev/assets-and-images/#from-packages
57 +
58 + # To add custom fonts to your application, add a fonts section here,
59 + # in this "flutter" section. Each entry in this list should have a
60 + # "family" key with the font family name, and a "fonts" key with a
61 + # list giving the asset and other descriptors for the font. For
62 + # example:
63 + # fonts:
64 + # - family: Schyler
65 + # fonts:
66 + # - asset: fonts/Schyler-Regular.ttf
67 + # - asset: fonts/Schyler-Italic.ttf
68 + # style: italic
69 + # - family: Trajan Pro
70 + # fonts:
71 + # - asset: fonts/TrajanPro.ttf
72 + # - asset: fonts/TrajanPro_Bold.ttf
73 + # weight: 700
74 + #
75 + # For details regarding fonts from package dependencies,
76 + # see https://flutter.dev/custom-fonts/#from-packages
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:app_frontend/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 +}
1 +<!DOCTYPE html>
2 +<html>
3 +<head>
4 + <!--
5 + If you are serving your web app in a path other than the root, change the
6 + href value below to reflect the base path you are serving from.
7 +
8 + The path provided below has to start and end with a slash "/" in order for
9 + it to work correctly.
10 +
11 + Fore more details:
12 + * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13 + -->
14 + <base href="/">
15 +
16 + <meta charset="UTF-8">
17 + <meta content="IE=Edge" http-equiv="X-UA-Compatible">
18 + <meta name="description" content="A new Flutter project.">
19 +
20 + <!-- iOS meta tags & icons -->
21 + <meta name="apple-mobile-web-app-capable" content="yes">
22 + <meta name="apple-mobile-web-app-status-bar-style" content="black">
23 + <meta name="apple-mobile-web-app-title" content="app_frontend">
24 + <link rel="apple-touch-icon" href="icons/Icon-192.png">
25 +
26 + <!-- Favicon -->
27 + <link rel="icon" type="image/png" href="favicon.png"/>
28 +
29 + <title>app_frontend</title>
30 + <link rel="manifest" href="manifest.json">
31 +</head>
32 +<body>
33 + <!-- This script installs service_worker.js to provide PWA functionality to
34 + application. For more information, see:
35 + https://developers.google.com/web/fundamentals/primers/service-workers -->
36 + <script>
37 + if ('serviceWorker' in navigator) {
38 + window.addEventListener('flutter-first-frame', function () {
39 + navigator.serviceWorker.register('flutter_service_worker.js');
40 + });
41 + }
42 + </script>
43 + <script src="main.dart.js" type="application/javascript"></script>
44 +</body>
45 +</html>
1 +{
2 + "name": "app_frontend",
3 + "short_name": "app_frontend",
4 + "start_url": ".",
5 + "display": "standalone",
6 + "background_color": "#0175C2",
7 + "theme_color": "#0175C2",
8 + "description": "A new Flutter project.",
9 + "orientation": "portrait-primary",
10 + "prefer_related_applications": false,
11 + "icons": [
12 + {
13 + "src": "icons/Icon-192.png",
14 + "sizes": "192x192",
15 + "type": "image/png"
16 + },
17 + {
18 + "src": "icons/Icon-512.png",
19 + "sizes": "512x512",
20 + "type": "image/png"
21 + }
22 + ]
23 +}