Showing
55 changed files
with
1854 additions
and
0 deletions
example/android/app/build.gradle
0 → 100644
| 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.example" | ||
| 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.example"> | ||
| 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.example"> | ||
| 3 | + <application | ||
| 4 | + android:label="example" | ||
| 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 io.flutter.plugins; | ||
| 2 | + | ||
| 3 | +import androidx.annotation.Keep; | ||
| 4 | +import androidx.annotation.NonNull; | ||
| 5 | +import io.flutter.Log; | ||
| 6 | + | ||
| 7 | +import io.flutter.embedding.engine.FlutterEngine; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * Generated file. Do not edit. | ||
| 11 | + * This file is generated by the Flutter tool based on the | ||
| 12 | + * plugins that support the Android platform. | ||
| 13 | + */ | ||
| 14 | +@Keep | ||
| 15 | +public final class GeneratedPluginRegistrant { | ||
| 16 | + private static final String TAG = "GeneratedPluginRegistrant"; | ||
| 17 | + public static void registerWith(@NonNull FlutterEngine flutterEngine) { | ||
| 18 | + } | ||
| 19 | +} |
| 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> |
544 Bytes
442 Bytes
721 Bytes
1.01 KB
1.41 KB
| 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.example"> | ||
| 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> |
example/android/build.gradle
0 → 100644
| 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 | + project.evaluationDependsOn(':app') | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | +task clean(type: Delete) { | ||
| 28 | + delete rootProject.buildDir | ||
| 29 | +} |
example/android/gradle.properties
0 → 100644
example/android/gradlew
0 → 100644
| 1 | +#!/usr/bin/env bash | ||
| 2 | + | ||
| 3 | +############################################################################## | ||
| 4 | +## | ||
| 5 | +## Gradle start up script for UN*X | ||
| 6 | +## | ||
| 7 | +############################################################################## | ||
| 8 | + | ||
| 9 | +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
| 10 | +DEFAULT_JVM_OPTS="" | ||
| 11 | + | ||
| 12 | +APP_NAME="Gradle" | ||
| 13 | +APP_BASE_NAME=`basename "$0"` | ||
| 14 | + | ||
| 15 | +# Use the maximum available, or set MAX_FD != -1 to use that value. | ||
| 16 | +MAX_FD="maximum" | ||
| 17 | + | ||
| 18 | +warn ( ) { | ||
| 19 | + echo "$*" | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | +die ( ) { | ||
| 23 | + echo | ||
| 24 | + echo "$*" | ||
| 25 | + echo | ||
| 26 | + exit 1 | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +# OS specific support (must be 'true' or 'false'). | ||
| 30 | +cygwin=false | ||
| 31 | +msys=false | ||
| 32 | +darwin=false | ||
| 33 | +case "`uname`" in | ||
| 34 | + CYGWIN* ) | ||
| 35 | + cygwin=true | ||
| 36 | + ;; | ||
| 37 | + Darwin* ) | ||
| 38 | + darwin=true | ||
| 39 | + ;; | ||
| 40 | + MINGW* ) | ||
| 41 | + msys=true | ||
| 42 | + ;; | ||
| 43 | +esac | ||
| 44 | + | ||
| 45 | +# Attempt to set APP_HOME | ||
| 46 | +# Resolve links: $0 may be a link | ||
| 47 | +PRG="$0" | ||
| 48 | +# Need this for relative symlinks. | ||
| 49 | +while [ -h "$PRG" ] ; do | ||
| 50 | + ls=`ls -ld "$PRG"` | ||
| 51 | + link=`expr "$ls" : '.*-> \(.*\)$'` | ||
| 52 | + if expr "$link" : '/.*' > /dev/null; then | ||
| 53 | + PRG="$link" | ||
| 54 | + else | ||
| 55 | + PRG=`dirname "$PRG"`"/$link" | ||
| 56 | + fi | ||
| 57 | +done | ||
| 58 | +SAVED="`pwd`" | ||
| 59 | +cd "`dirname \"$PRG\"`/" >/dev/null | ||
| 60 | +APP_HOME="`pwd -P`" | ||
| 61 | +cd "$SAVED" >/dev/null | ||
| 62 | + | ||
| 63 | +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | ||
| 64 | + | ||
| 65 | +# Determine the Java command to use to start the JVM. | ||
| 66 | +if [ -n "$JAVA_HOME" ] ; then | ||
| 67 | + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | ||
| 68 | + # IBM's JDK on AIX uses strange locations for the executables | ||
| 69 | + JAVACMD="$JAVA_HOME/jre/sh/java" | ||
| 70 | + else | ||
| 71 | + JAVACMD="$JAVA_HOME/bin/java" | ||
| 72 | + fi | ||
| 73 | + if [ ! -x "$JAVACMD" ] ; then | ||
| 74 | + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME | ||
| 75 | + | ||
| 76 | +Please set the JAVA_HOME variable in your environment to match the | ||
| 77 | +location of your Java installation." | ||
| 78 | + fi | ||
| 79 | +else | ||
| 80 | + JAVACMD="java" | ||
| 81 | + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
| 82 | + | ||
| 83 | +Please set the JAVA_HOME variable in your environment to match the | ||
| 84 | +location of your Java installation." | ||
| 85 | +fi | ||
| 86 | + | ||
| 87 | +# Increase the maximum file descriptors if we can. | ||
| 88 | +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then | ||
| 89 | + MAX_FD_LIMIT=`ulimit -H -n` | ||
| 90 | + if [ $? -eq 0 ] ; then | ||
| 91 | + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then | ||
| 92 | + MAX_FD="$MAX_FD_LIMIT" | ||
| 93 | + fi | ||
| 94 | + ulimit -n $MAX_FD | ||
| 95 | + if [ $? -ne 0 ] ; then | ||
| 96 | + warn "Could not set maximum file descriptor limit: $MAX_FD" | ||
| 97 | + fi | ||
| 98 | + else | ||
| 99 | + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" | ||
| 100 | + fi | ||
| 101 | +fi | ||
| 102 | + | ||
| 103 | +# For Darwin, add options to specify how the application appears in the dock | ||
| 104 | +if $darwin; then | ||
| 105 | + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" | ||
| 106 | +fi | ||
| 107 | + | ||
| 108 | +# For Cygwin, switch paths to Windows format before running java | ||
| 109 | +if $cygwin ; then | ||
| 110 | + APP_HOME=`cygpath --path --mixed "$APP_HOME"` | ||
| 111 | + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | ||
| 112 | + JAVACMD=`cygpath --unix "$JAVACMD"` | ||
| 113 | + | ||
| 114 | + # We build the pattern for arguments to be converted via cygpath | ||
| 115 | + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` | ||
| 116 | + SEP="" | ||
| 117 | + for dir in $ROOTDIRSRAW ; do | ||
| 118 | + ROOTDIRS="$ROOTDIRS$SEP$dir" | ||
| 119 | + SEP="|" | ||
| 120 | + done | ||
| 121 | + OURCYGPATTERN="(^($ROOTDIRS))" | ||
| 122 | + # Add a user-defined pattern to the cygpath arguments | ||
| 123 | + if [ "$GRADLE_CYGPATTERN" != "" ] ; then | ||
| 124 | + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" | ||
| 125 | + fi | ||
| 126 | + # Now convert the arguments - kludge to limit ourselves to /bin/sh | ||
| 127 | + i=0 | ||
| 128 | + for arg in "$@" ; do | ||
| 129 | + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` | ||
| 130 | + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option | ||
| 131 | + | ||
| 132 | + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition | ||
| 133 | + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` | ||
| 134 | + else | ||
| 135 | + eval `echo args$i`="\"$arg\"" | ||
| 136 | + fi | ||
| 137 | + i=$((i+1)) | ||
| 138 | + done | ||
| 139 | + case $i in | ||
| 140 | + (0) set -- ;; | ||
| 141 | + (1) set -- "$args0" ;; | ||
| 142 | + (2) set -- "$args0" "$args1" ;; | ||
| 143 | + (3) set -- "$args0" "$args1" "$args2" ;; | ||
| 144 | + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; | ||
| 145 | + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | ||
| 146 | + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | ||
| 147 | + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | ||
| 148 | + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; | ||
| 149 | + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; | ||
| 150 | + esac | ||
| 151 | +fi | ||
| 152 | + | ||
| 153 | +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules | ||
| 154 | +function splitJvmOpts() { | ||
| 155 | + JVM_OPTS=("$@") | ||
| 156 | +} | ||
| 157 | +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS | ||
| 158 | +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" | ||
| 159 | + | ||
| 160 | +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" |
example/android/gradlew.bat
0 → 100644
| 1 | +@if "%DEBUG%" == "" @echo off | ||
| 2 | +@rem ########################################################################## | ||
| 3 | +@rem | ||
| 4 | +@rem Gradle startup script for Windows | ||
| 5 | +@rem | ||
| 6 | +@rem ########################################################################## | ||
| 7 | + | ||
| 8 | +@rem Set local scope for the variables with windows NT shell | ||
| 9 | +if "%OS%"=="Windows_NT" setlocal | ||
| 10 | + | ||
| 11 | +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
| 12 | +set DEFAULT_JVM_OPTS= | ||
| 13 | + | ||
| 14 | +set DIRNAME=%~dp0 | ||
| 15 | +if "%DIRNAME%" == "" set DIRNAME=. | ||
| 16 | +set APP_BASE_NAME=%~n0 | ||
| 17 | +set APP_HOME=%DIRNAME% | ||
| 18 | + | ||
| 19 | +@rem Find java.exe | ||
| 20 | +if defined JAVA_HOME goto findJavaFromJavaHome | ||
| 21 | + | ||
| 22 | +set JAVA_EXE=java.exe | ||
| 23 | +%JAVA_EXE% -version >NUL 2>&1 | ||
| 24 | +if "%ERRORLEVEL%" == "0" goto init | ||
| 25 | + | ||
| 26 | +echo. | ||
| 27 | +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
| 28 | +echo. | ||
| 29 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
| 30 | +echo location of your Java installation. | ||
| 31 | + | ||
| 32 | +goto fail | ||
| 33 | + | ||
| 34 | +:findJavaFromJavaHome | ||
| 35 | +set JAVA_HOME=%JAVA_HOME:"=% | ||
| 36 | +set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
| 37 | + | ||
| 38 | +if exist "%JAVA_EXE%" goto init | ||
| 39 | + | ||
| 40 | +echo. | ||
| 41 | +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
| 42 | +echo. | ||
| 43 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
| 44 | +echo location of your Java installation. | ||
| 45 | + | ||
| 46 | +goto fail | ||
| 47 | + | ||
| 48 | +:init | ||
| 49 | +@rem Get command-line arguments, handling Windowz variants | ||
| 50 | + | ||
| 51 | +if not "%OS%" == "Windows_NT" goto win9xME_args | ||
| 52 | +if "%@eval[2+2]" == "4" goto 4NT_args | ||
| 53 | + | ||
| 54 | +:win9xME_args | ||
| 55 | +@rem Slurp the command line arguments. | ||
| 56 | +set CMD_LINE_ARGS= | ||
| 57 | +set _SKIP=2 | ||
| 58 | + | ||
| 59 | +:win9xME_args_slurp | ||
| 60 | +if "x%~1" == "x" goto execute | ||
| 61 | + | ||
| 62 | +set CMD_LINE_ARGS=%* | ||
| 63 | +goto execute | ||
| 64 | + | ||
| 65 | +:4NT_args | ||
| 66 | +@rem Get arguments from the 4NT Shell from JP Software | ||
| 67 | +set CMD_LINE_ARGS=%$ | ||
| 68 | + | ||
| 69 | +:execute | ||
| 70 | +@rem Setup the command line | ||
| 71 | + | ||
| 72 | +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
| 73 | + | ||
| 74 | +@rem Execute Gradle | ||
| 75 | +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
| 76 | + | ||
| 77 | +:end | ||
| 78 | +@rem End local scope for the variables with windows NT shell | ||
| 79 | +if "%ERRORLEVEL%"=="0" goto mainEnd | ||
| 80 | + | ||
| 81 | +:fail | ||
| 82 | +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
| 83 | +rem the _cmd.exe /c_ return code! | ||
| 84 | +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
| 85 | +exit /b 1 | ||
| 86 | + | ||
| 87 | +:mainEnd | ||
| 88 | +if "%OS%"=="Windows_NT" endlocal | ||
| 89 | + | ||
| 90 | +:omega |
example/android/local.properties
0 → 100644
example/android/settings.gradle
0 → 100644
| 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" |
example/macos/Flutter/Flutter-Debug.xcconfig
0 → 100644
| 1 | +#include "ephemeral/Flutter-Generated.xcconfig" |
| 1 | +#include "ephemeral/Flutter-Generated.xcconfig" |
| 1 | +// This is a generated file; do not edit or check into version control. | ||
| 2 | +FLUTTER_ROOT=/Users/jonatasborges/flutter | ||
| 3 | +FLUTTER_APPLICATION_PATH=/Users/jonatasborges/Downloads/get-4.6.1/example | ||
| 4 | +COCOAPODS_PARALLEL_CODE_SIGN=true | ||
| 5 | +FLUTTER_BUILD_DIR=build | ||
| 6 | +FLUTTER_BUILD_NAME=1.0.0 | ||
| 7 | +FLUTTER_BUILD_NUMBER=1 | ||
| 8 | +DART_OBFUSCATION=false | ||
| 9 | +TRACK_WIDGET_CREATION=false | ||
| 10 | +TREE_SHAKE_ICONS=false | ||
| 11 | +PACKAGE_CONFIG=.dart_tool/package_config.json |
| 1 | +#!/bin/sh | ||
| 2 | +# This is a generated file; do not edit or check into version control. | ||
| 3 | +export "FLUTTER_ROOT=/Users/jonatasborges/flutter" | ||
| 4 | +export "FLUTTER_APPLICATION_PATH=/Users/jonatasborges/Downloads/get-4.6.1/example" | ||
| 5 | +export "COCOAPODS_PARALLEL_CODE_SIGN=true" | ||
| 6 | +export "FLUTTER_BUILD_DIR=build" | ||
| 7 | +export "FLUTTER_BUILD_NAME=1.0.0" | ||
| 8 | +export "FLUTTER_BUILD_NUMBER=1" | ||
| 9 | +export "DART_OBFUSCATION=false" | ||
| 10 | +export "TRACK_WIDGET_CREATION=false" | ||
| 11 | +export "TREE_SHAKE_ICONS=false" | ||
| 12 | +export "PACKAGE_CONFIG=.dart_tool/package_config.json" |
| 1 | +// !$*UTF8*$! | ||
| 2 | +{ | ||
| 3 | + archiveVersion = 1; | ||
| 4 | + classes = { | ||
| 5 | + }; | ||
| 6 | + objectVersion = 51; | ||
| 7 | + objects = { | ||
| 8 | + | ||
| 9 | +/* Begin PBXAggregateTarget section */ | ||
| 10 | + 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { | ||
| 11 | + isa = PBXAggregateTarget; | ||
| 12 | + buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; | ||
| 13 | + buildPhases = ( | ||
| 14 | + 33CC111E2044C6BF0003C045 /* ShellScript */, | ||
| 15 | + ); | ||
| 16 | + dependencies = ( | ||
| 17 | + ); | ||
| 18 | + name = "Flutter Assemble"; | ||
| 19 | + productName = FLX; | ||
| 20 | + }; | ||
| 21 | +/* End PBXAggregateTarget section */ | ||
| 22 | + | ||
| 23 | +/* Begin PBXBuildFile section */ | ||
| 24 | + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; | ||
| 25 | + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; | ||
| 26 | + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; | ||
| 27 | + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; | ||
| 28 | + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; | ||
| 29 | +/* End PBXBuildFile section */ | ||
| 30 | + | ||
| 31 | +/* Begin PBXContainerItemProxy section */ | ||
| 32 | + 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { | ||
| 33 | + isa = PBXContainerItemProxy; | ||
| 34 | + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; | ||
| 35 | + proxyType = 1; | ||
| 36 | + remoteGlobalIDString = 33CC111A2044C6BA0003C045; | ||
| 37 | + remoteInfo = FLX; | ||
| 38 | + }; | ||
| 39 | +/* End PBXContainerItemProxy section */ | ||
| 40 | + | ||
| 41 | +/* Begin PBXCopyFilesBuildPhase section */ | ||
| 42 | + 33CC110E2044A8840003C045 /* Bundle Framework */ = { | ||
| 43 | + isa = PBXCopyFilesBuildPhase; | ||
| 44 | + buildActionMask = 2147483647; | ||
| 45 | + dstPath = ""; | ||
| 46 | + dstSubfolderSpec = 10; | ||
| 47 | + files = ( | ||
| 48 | + ); | ||
| 49 | + name = "Bundle Framework"; | ||
| 50 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 51 | + }; | ||
| 52 | +/* End PBXCopyFilesBuildPhase section */ | ||
| 53 | + | ||
| 54 | +/* Begin PBXFileReference section */ | ||
| 55 | + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; }; | ||
| 56 | + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; }; | ||
| 57 | + 33CC10ED2044A3C60003C045 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 58 | + 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; | ||
| 59 | + 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; }; | ||
| 60 | + 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; }; | ||
| 61 | + 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = "<group>"; }; | ||
| 62 | + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = "<group>"; }; | ||
| 63 | + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 64 | + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = "<group>"; }; | ||
| 65 | + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = "<group>"; }; | ||
| 66 | + 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; }; | ||
| 67 | + 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; }; | ||
| 68 | + 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; }; | ||
| 69 | + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; }; | ||
| 70 | + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; }; | ||
| 71 | +/* End PBXFileReference section */ | ||
| 72 | + | ||
| 73 | +/* Begin PBXFrameworksBuildPhase section */ | ||
| 74 | + 33CC10EA2044A3C60003C045 /* Frameworks */ = { | ||
| 75 | + isa = PBXFrameworksBuildPhase; | ||
| 76 | + buildActionMask = 2147483647; | ||
| 77 | + files = ( | ||
| 78 | + ); | ||
| 79 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 80 | + }; | ||
| 81 | +/* End PBXFrameworksBuildPhase section */ | ||
| 82 | + | ||
| 83 | +/* Begin PBXGroup section */ | ||
| 84 | + 33BA886A226E78AF003329D5 /* Configs */ = { | ||
| 85 | + isa = PBXGroup; | ||
| 86 | + children = ( | ||
| 87 | + 33E5194F232828860026EE4D /* AppInfo.xcconfig */, | ||
| 88 | + 9740EEB21CF90195004384FC /* Debug.xcconfig */, | ||
| 89 | + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, | ||
| 90 | + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, | ||
| 91 | + ); | ||
| 92 | + path = Configs; | ||
| 93 | + sourceTree = "<group>"; | ||
| 94 | + }; | ||
| 95 | + 33CC10E42044A3C60003C045 = { | ||
| 96 | + isa = PBXGroup; | ||
| 97 | + children = ( | ||
| 98 | + 33FAB671232836740065AC1E /* Runner */, | ||
| 99 | + 33CEB47122A05771004F2AC0 /* Flutter */, | ||
| 100 | + 33CC10EE2044A3C60003C045 /* Products */, | ||
| 101 | + D73912EC22F37F3D000D13A0 /* Frameworks */, | ||
| 102 | + ); | ||
| 103 | + sourceTree = "<group>"; | ||
| 104 | + }; | ||
| 105 | + 33CC10EE2044A3C60003C045 /* Products */ = { | ||
| 106 | + isa = PBXGroup; | ||
| 107 | + children = ( | ||
| 108 | + 33CC10ED2044A3C60003C045 /* example.app */, | ||
| 109 | + ); | ||
| 110 | + name = Products; | ||
| 111 | + sourceTree = "<group>"; | ||
| 112 | + }; | ||
| 113 | + 33CC11242044D66E0003C045 /* Resources */ = { | ||
| 114 | + isa = PBXGroup; | ||
| 115 | + children = ( | ||
| 116 | + 33CC10F22044A3C60003C045 /* Assets.xcassets */, | ||
| 117 | + 33CC10F42044A3C60003C045 /* MainMenu.xib */, | ||
| 118 | + 33CC10F72044A3C60003C045 /* Info.plist */, | ||
| 119 | + ); | ||
| 120 | + name = Resources; | ||
| 121 | + path = ..; | ||
| 122 | + sourceTree = "<group>"; | ||
| 123 | + }; | ||
| 124 | + 33CEB47122A05771004F2AC0 /* Flutter */ = { | ||
| 125 | + isa = PBXGroup; | ||
| 126 | + children = ( | ||
| 127 | + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, | ||
| 128 | + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, | ||
| 129 | + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, | ||
| 130 | + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, | ||
| 131 | + ); | ||
| 132 | + path = Flutter; | ||
| 133 | + sourceTree = "<group>"; | ||
| 134 | + }; | ||
| 135 | + 33FAB671232836740065AC1E /* Runner */ = { | ||
| 136 | + isa = PBXGroup; | ||
| 137 | + children = ( | ||
| 138 | + 33CC10F02044A3C60003C045 /* AppDelegate.swift */, | ||
| 139 | + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, | ||
| 140 | + 33E51913231747F40026EE4D /* DebugProfile.entitlements */, | ||
| 141 | + 33E51914231749380026EE4D /* Release.entitlements */, | ||
| 142 | + 33CC11242044D66E0003C045 /* Resources */, | ||
| 143 | + 33BA886A226E78AF003329D5 /* Configs */, | ||
| 144 | + ); | ||
| 145 | + path = Runner; | ||
| 146 | + sourceTree = "<group>"; | ||
| 147 | + }; | ||
| 148 | + D73912EC22F37F3D000D13A0 /* Frameworks */ = { | ||
| 149 | + isa = PBXGroup; | ||
| 150 | + children = ( | ||
| 151 | + ); | ||
| 152 | + name = Frameworks; | ||
| 153 | + sourceTree = "<group>"; | ||
| 154 | + }; | ||
| 155 | +/* End PBXGroup section */ | ||
| 156 | + | ||
| 157 | +/* Begin PBXNativeTarget section */ | ||
| 158 | + 33CC10EC2044A3C60003C045 /* Runner */ = { | ||
| 159 | + isa = PBXNativeTarget; | ||
| 160 | + buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; | ||
| 161 | + buildPhases = ( | ||
| 162 | + 33CC10E92044A3C60003C045 /* Sources */, | ||
| 163 | + 33CC10EA2044A3C60003C045 /* Frameworks */, | ||
| 164 | + 33CC10EB2044A3C60003C045 /* Resources */, | ||
| 165 | + 33CC110E2044A8840003C045 /* Bundle Framework */, | ||
| 166 | + 3399D490228B24CF009A79C7 /* ShellScript */, | ||
| 167 | + ); | ||
| 168 | + buildRules = ( | ||
| 169 | + ); | ||
| 170 | + dependencies = ( | ||
| 171 | + 33CC11202044C79F0003C045 /* PBXTargetDependency */, | ||
| 172 | + ); | ||
| 173 | + name = Runner; | ||
| 174 | + productName = Runner; | ||
| 175 | + productReference = 33CC10ED2044A3C60003C045 /* example.app */; | ||
| 176 | + productType = "com.apple.product-type.application"; | ||
| 177 | + }; | ||
| 178 | +/* End PBXNativeTarget section */ | ||
| 179 | + | ||
| 180 | +/* Begin PBXProject section */ | ||
| 181 | + 33CC10E52044A3C60003C045 /* Project object */ = { | ||
| 182 | + isa = PBXProject; | ||
| 183 | + attributes = { | ||
| 184 | + LastSwiftUpdateCheck = 0920; | ||
| 185 | + LastUpgradeCheck = 0930; | ||
| 186 | + ORGANIZATIONNAME = ""; | ||
| 187 | + TargetAttributes = { | ||
| 188 | + 33CC10EC2044A3C60003C045 = { | ||
| 189 | + CreatedOnToolsVersion = 9.2; | ||
| 190 | + LastSwiftMigration = 1100; | ||
| 191 | + ProvisioningStyle = Automatic; | ||
| 192 | + SystemCapabilities = { | ||
| 193 | + com.apple.Sandbox = { | ||
| 194 | + enabled = 1; | ||
| 195 | + }; | ||
| 196 | + }; | ||
| 197 | + }; | ||
| 198 | + 33CC111A2044C6BA0003C045 = { | ||
| 199 | + CreatedOnToolsVersion = 9.2; | ||
| 200 | + ProvisioningStyle = Manual; | ||
| 201 | + }; | ||
| 202 | + }; | ||
| 203 | + }; | ||
| 204 | + buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; | ||
| 205 | + compatibilityVersion = "Xcode 9.3"; | ||
| 206 | + developmentRegion = en; | ||
| 207 | + hasScannedForEncodings = 0; | ||
| 208 | + knownRegions = ( | ||
| 209 | + en, | ||
| 210 | + Base, | ||
| 211 | + ); | ||
| 212 | + mainGroup = 33CC10E42044A3C60003C045; | ||
| 213 | + productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; | ||
| 214 | + projectDirPath = ""; | ||
| 215 | + projectRoot = ""; | ||
| 216 | + targets = ( | ||
| 217 | + 33CC10EC2044A3C60003C045 /* Runner */, | ||
| 218 | + 33CC111A2044C6BA0003C045 /* Flutter Assemble */, | ||
| 219 | + ); | ||
| 220 | + }; | ||
| 221 | +/* End PBXProject section */ | ||
| 222 | + | ||
| 223 | +/* Begin PBXResourcesBuildPhase section */ | ||
| 224 | + 33CC10EB2044A3C60003C045 /* Resources */ = { | ||
| 225 | + isa = PBXResourcesBuildPhase; | ||
| 226 | + buildActionMask = 2147483647; | ||
| 227 | + files = ( | ||
| 228 | + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, | ||
| 229 | + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, | ||
| 230 | + ); | ||
| 231 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 232 | + }; | ||
| 233 | +/* End PBXResourcesBuildPhase section */ | ||
| 234 | + | ||
| 235 | +/* Begin PBXShellScriptBuildPhase section */ | ||
| 236 | + 3399D490228B24CF009A79C7 /* ShellScript */ = { | ||
| 237 | + isa = PBXShellScriptBuildPhase; | ||
| 238 | + buildActionMask = 2147483647; | ||
| 239 | + files = ( | ||
| 240 | + ); | ||
| 241 | + inputFileListPaths = ( | ||
| 242 | + ); | ||
| 243 | + inputPaths = ( | ||
| 244 | + ); | ||
| 245 | + outputFileListPaths = ( | ||
| 246 | + ); | ||
| 247 | + outputPaths = ( | ||
| 248 | + ); | ||
| 249 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 250 | + shellPath = /bin/sh; | ||
| 251 | + shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; | ||
| 252 | + }; | ||
| 253 | + 33CC111E2044C6BF0003C045 /* ShellScript */ = { | ||
| 254 | + isa = PBXShellScriptBuildPhase; | ||
| 255 | + buildActionMask = 2147483647; | ||
| 256 | + files = ( | ||
| 257 | + ); | ||
| 258 | + inputFileListPaths = ( | ||
| 259 | + Flutter/ephemeral/FlutterInputs.xcfilelist, | ||
| 260 | + ); | ||
| 261 | + inputPaths = ( | ||
| 262 | + Flutter/ephemeral/tripwire, | ||
| 263 | + ); | ||
| 264 | + outputFileListPaths = ( | ||
| 265 | + Flutter/ephemeral/FlutterOutputs.xcfilelist, | ||
| 266 | + ); | ||
| 267 | + outputPaths = ( | ||
| 268 | + ); | ||
| 269 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 270 | + shellPath = /bin/sh; | ||
| 271 | + shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; | ||
| 272 | + }; | ||
| 273 | +/* End PBXShellScriptBuildPhase section */ | ||
| 274 | + | ||
| 275 | +/* Begin PBXSourcesBuildPhase section */ | ||
| 276 | + 33CC10E92044A3C60003C045 /* Sources */ = { | ||
| 277 | + isa = PBXSourcesBuildPhase; | ||
| 278 | + buildActionMask = 2147483647; | ||
| 279 | + files = ( | ||
| 280 | + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, | ||
| 281 | + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, | ||
| 282 | + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, | ||
| 283 | + ); | ||
| 284 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 285 | + }; | ||
| 286 | +/* End PBXSourcesBuildPhase section */ | ||
| 287 | + | ||
| 288 | +/* Begin PBXTargetDependency section */ | ||
| 289 | + 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { | ||
| 290 | + isa = PBXTargetDependency; | ||
| 291 | + target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; | ||
| 292 | + targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; | ||
| 293 | + }; | ||
| 294 | +/* End PBXTargetDependency section */ | ||
| 295 | + | ||
| 296 | +/* Begin PBXVariantGroup section */ | ||
| 297 | + 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { | ||
| 298 | + isa = PBXVariantGroup; | ||
| 299 | + children = ( | ||
| 300 | + 33CC10F52044A3C60003C045 /* Base */, | ||
| 301 | + ); | ||
| 302 | + name = MainMenu.xib; | ||
| 303 | + path = Runner; | ||
| 304 | + sourceTree = "<group>"; | ||
| 305 | + }; | ||
| 306 | +/* End PBXVariantGroup section */ | ||
| 307 | + | ||
| 308 | +/* Begin XCBuildConfiguration section */ | ||
| 309 | + 338D0CE9231458BD00FA5F75 /* Profile */ = { | ||
| 310 | + isa = XCBuildConfiguration; | ||
| 311 | + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | ||
| 312 | + buildSettings = { | ||
| 313 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 314 | + CLANG_ANALYZER_NONNULL = YES; | ||
| 315 | + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
| 316 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
| 317 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 318 | + CLANG_ENABLE_MODULES = YES; | ||
| 319 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 320 | + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| 321 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 322 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 323 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
| 324 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 325 | + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
| 326 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 327 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 328 | + CLANG_WARN_INFINITE_RECURSION = YES; | ||
| 329 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 330 | + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
| 331 | + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
| 332 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 333 | + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
| 334 | + CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
| 335 | + CODE_SIGN_IDENTITY = "-"; | ||
| 336 | + COPY_PHASE_STRIP = NO; | ||
| 337 | + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
| 338 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 339 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 340 | + GCC_C_LANGUAGE_STANDARD = gnu11; | ||
| 341 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 342 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 343 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 344 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 345 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 346 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 347 | + MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
| 348 | + MTL_ENABLE_DEBUG_INFO = NO; | ||
| 349 | + SDKROOT = macosx; | ||
| 350 | + SWIFT_COMPILATION_MODE = wholemodule; | ||
| 351 | + SWIFT_OPTIMIZATION_LEVEL = "-O"; | ||
| 352 | + }; | ||
| 353 | + name = Profile; | ||
| 354 | + }; | ||
| 355 | + 338D0CEA231458BD00FA5F75 /* Profile */ = { | ||
| 356 | + isa = XCBuildConfiguration; | ||
| 357 | + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
| 358 | + buildSettings = { | ||
| 359 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 360 | + CLANG_ENABLE_MODULES = YES; | ||
| 361 | + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; | ||
| 362 | + CODE_SIGN_STYLE = Automatic; | ||
| 363 | + COMBINE_HIDPI_IMAGES = YES; | ||
| 364 | + INFOPLIST_FILE = Runner/Info.plist; | ||
| 365 | + LD_RUNPATH_SEARCH_PATHS = ( | ||
| 366 | + "$(inherited)", | ||
| 367 | + "@executable_path/../Frameworks", | ||
| 368 | + ); | ||
| 369 | + PROVISIONING_PROFILE_SPECIFIER = ""; | ||
| 370 | + SWIFT_VERSION = 5.0; | ||
| 371 | + }; | ||
| 372 | + name = Profile; | ||
| 373 | + }; | ||
| 374 | + 338D0CEB231458BD00FA5F75 /* Profile */ = { | ||
| 375 | + isa = XCBuildConfiguration; | ||
| 376 | + buildSettings = { | ||
| 377 | + CODE_SIGN_STYLE = Manual; | ||
| 378 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 379 | + }; | ||
| 380 | + name = Profile; | ||
| 381 | + }; | ||
| 382 | + 33CC10F92044A3C60003C045 /* Debug */ = { | ||
| 383 | + isa = XCBuildConfiguration; | ||
| 384 | + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; | ||
| 385 | + buildSettings = { | ||
| 386 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 387 | + CLANG_ANALYZER_NONNULL = YES; | ||
| 388 | + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
| 389 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
| 390 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 391 | + CLANG_ENABLE_MODULES = YES; | ||
| 392 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 393 | + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| 394 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 395 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 396 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
| 397 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 398 | + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
| 399 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 400 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 401 | + CLANG_WARN_INFINITE_RECURSION = YES; | ||
| 402 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 403 | + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
| 404 | + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
| 405 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 406 | + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
| 407 | + CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
| 408 | + CODE_SIGN_IDENTITY = "-"; | ||
| 409 | + COPY_PHASE_STRIP = NO; | ||
| 410 | + DEBUG_INFORMATION_FORMAT = dwarf; | ||
| 411 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 412 | + ENABLE_TESTABILITY = YES; | ||
| 413 | + GCC_C_LANGUAGE_STANDARD = gnu11; | ||
| 414 | + GCC_DYNAMIC_NO_PIC = NO; | ||
| 415 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 416 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
| 417 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 418 | + "DEBUG=1", | ||
| 419 | + "$(inherited)", | ||
| 420 | + ); | ||
| 421 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 422 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 423 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 424 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 425 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 426 | + MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
| 427 | + MTL_ENABLE_DEBUG_INFO = YES; | ||
| 428 | + ONLY_ACTIVE_ARCH = YES; | ||
| 429 | + SDKROOT = macosx; | ||
| 430 | + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; | ||
| 431 | + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| 432 | + }; | ||
| 433 | + name = Debug; | ||
| 434 | + }; | ||
| 435 | + 33CC10FA2044A3C60003C045 /* Release */ = { | ||
| 436 | + isa = XCBuildConfiguration; | ||
| 437 | + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | ||
| 438 | + buildSettings = { | ||
| 439 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 440 | + CLANG_ANALYZER_NONNULL = YES; | ||
| 441 | + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
| 442 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
| 443 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 444 | + CLANG_ENABLE_MODULES = YES; | ||
| 445 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 446 | + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| 447 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 448 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 449 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
| 450 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 451 | + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
| 452 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 453 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 454 | + CLANG_WARN_INFINITE_RECURSION = YES; | ||
| 455 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 456 | + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
| 457 | + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
| 458 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 459 | + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
| 460 | + CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
| 461 | + CODE_SIGN_IDENTITY = "-"; | ||
| 462 | + COPY_PHASE_STRIP = NO; | ||
| 463 | + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
| 464 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 465 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 466 | + GCC_C_LANGUAGE_STANDARD = gnu11; | ||
| 467 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 468 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 469 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 470 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 471 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 472 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 473 | + MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
| 474 | + MTL_ENABLE_DEBUG_INFO = NO; | ||
| 475 | + SDKROOT = macosx; | ||
| 476 | + SWIFT_COMPILATION_MODE = wholemodule; | ||
| 477 | + SWIFT_OPTIMIZATION_LEVEL = "-O"; | ||
| 478 | + }; | ||
| 479 | + name = Release; | ||
| 480 | + }; | ||
| 481 | + 33CC10FC2044A3C60003C045 /* Debug */ = { | ||
| 482 | + isa = XCBuildConfiguration; | ||
| 483 | + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
| 484 | + buildSettings = { | ||
| 485 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 486 | + CLANG_ENABLE_MODULES = YES; | ||
| 487 | + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; | ||
| 488 | + CODE_SIGN_STYLE = Automatic; | ||
| 489 | + COMBINE_HIDPI_IMAGES = YES; | ||
| 490 | + INFOPLIST_FILE = Runner/Info.plist; | ||
| 491 | + LD_RUNPATH_SEARCH_PATHS = ( | ||
| 492 | + "$(inherited)", | ||
| 493 | + "@executable_path/../Frameworks", | ||
| 494 | + ); | ||
| 495 | + PROVISIONING_PROFILE_SPECIFIER = ""; | ||
| 496 | + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| 497 | + SWIFT_VERSION = 5.0; | ||
| 498 | + }; | ||
| 499 | + name = Debug; | ||
| 500 | + }; | ||
| 501 | + 33CC10FD2044A3C60003C045 /* Release */ = { | ||
| 502 | + isa = XCBuildConfiguration; | ||
| 503 | + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
| 504 | + buildSettings = { | ||
| 505 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 506 | + CLANG_ENABLE_MODULES = YES; | ||
| 507 | + CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; | ||
| 508 | + CODE_SIGN_STYLE = Automatic; | ||
| 509 | + COMBINE_HIDPI_IMAGES = YES; | ||
| 510 | + INFOPLIST_FILE = Runner/Info.plist; | ||
| 511 | + LD_RUNPATH_SEARCH_PATHS = ( | ||
| 512 | + "$(inherited)", | ||
| 513 | + "@executable_path/../Frameworks", | ||
| 514 | + ); | ||
| 515 | + PROVISIONING_PROFILE_SPECIFIER = ""; | ||
| 516 | + SWIFT_VERSION = 5.0; | ||
| 517 | + }; | ||
| 518 | + name = Release; | ||
| 519 | + }; | ||
| 520 | + 33CC111C2044C6BA0003C045 /* Debug */ = { | ||
| 521 | + isa = XCBuildConfiguration; | ||
| 522 | + buildSettings = { | ||
| 523 | + CODE_SIGN_STYLE = Manual; | ||
| 524 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 525 | + }; | ||
| 526 | + name = Debug; | ||
| 527 | + }; | ||
| 528 | + 33CC111D2044C6BA0003C045 /* Release */ = { | ||
| 529 | + isa = XCBuildConfiguration; | ||
| 530 | + buildSettings = { | ||
| 531 | + CODE_SIGN_STYLE = Automatic; | ||
| 532 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 533 | + }; | ||
| 534 | + name = Release; | ||
| 535 | + }; | ||
| 536 | +/* End XCBuildConfiguration section */ | ||
| 537 | + | ||
| 538 | +/* Begin XCConfigurationList section */ | ||
| 539 | + 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { | ||
| 540 | + isa = XCConfigurationList; | ||
| 541 | + buildConfigurations = ( | ||
| 542 | + 33CC10F92044A3C60003C045 /* Debug */, | ||
| 543 | + 33CC10FA2044A3C60003C045 /* Release */, | ||
| 544 | + 338D0CE9231458BD00FA5F75 /* Profile */, | ||
| 545 | + ); | ||
| 546 | + defaultConfigurationIsVisible = 0; | ||
| 547 | + defaultConfigurationName = Release; | ||
| 548 | + }; | ||
| 549 | + 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { | ||
| 550 | + isa = XCConfigurationList; | ||
| 551 | + buildConfigurations = ( | ||
| 552 | + 33CC10FC2044A3C60003C045 /* Debug */, | ||
| 553 | + 33CC10FD2044A3C60003C045 /* Release */, | ||
| 554 | + 338D0CEA231458BD00FA5F75 /* Profile */, | ||
| 555 | + ); | ||
| 556 | + defaultConfigurationIsVisible = 0; | ||
| 557 | + defaultConfigurationName = Release; | ||
| 558 | + }; | ||
| 559 | + 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { | ||
| 560 | + isa = XCConfigurationList; | ||
| 561 | + buildConfigurations = ( | ||
| 562 | + 33CC111C2044C6BA0003C045 /* Debug */, | ||
| 563 | + 33CC111D2044C6BA0003C045 /* Release */, | ||
| 564 | + 338D0CEB231458BD00FA5F75 /* Profile */, | ||
| 565 | + ); | ||
| 566 | + defaultConfigurationIsVisible = 0; | ||
| 567 | + defaultConfigurationName = Release; | ||
| 568 | + }; | ||
| 569 | +/* End XCConfigurationList section */ | ||
| 570 | + }; | ||
| 571 | + rootObject = 33CC10E52044A3C60003C045 /* Project object */; | ||
| 572 | +} |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Scheme | ||
| 3 | + LastUpgradeVersion = "1000" | ||
| 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 = "33CC10EC2044A3C60003C045" | ||
| 18 | + BuildableName = "example.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 | + <MacroExpansion> | ||
| 31 | + <BuildableReference | ||
| 32 | + BuildableIdentifier = "primary" | ||
| 33 | + BlueprintIdentifier = "33CC10EC2044A3C60003C045" | ||
| 34 | + BuildableName = "example.app" | ||
| 35 | + BlueprintName = "Runner" | ||
| 36 | + ReferencedContainer = "container:Runner.xcodeproj"> | ||
| 37 | + </BuildableReference> | ||
| 38 | + </MacroExpansion> | ||
| 39 | + <AdditionalOptions> | ||
| 40 | + </AdditionalOptions> | ||
| 41 | + </TestAction> | ||
| 42 | + <LaunchAction | ||
| 43 | + buildConfiguration = "Debug" | ||
| 44 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 45 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 46 | + launchStyle = "0" | ||
| 47 | + useCustomWorkingDirectory = "NO" | ||
| 48 | + ignoresPersistentStateOnLaunch = "NO" | ||
| 49 | + debugDocumentVersioning = "YES" | ||
| 50 | + debugServiceExtension = "internal" | ||
| 51 | + allowLocationSimulation = "YES"> | ||
| 52 | + <BuildableProductRunnable | ||
| 53 | + runnableDebuggingMode = "0"> | ||
| 54 | + <BuildableReference | ||
| 55 | + BuildableIdentifier = "primary" | ||
| 56 | + BlueprintIdentifier = "33CC10EC2044A3C60003C045" | ||
| 57 | + BuildableName = "example.app" | ||
| 58 | + BlueprintName = "Runner" | ||
| 59 | + ReferencedContainer = "container:Runner.xcodeproj"> | ||
| 60 | + </BuildableReference> | ||
| 61 | + </BuildableProductRunnable> | ||
| 62 | + <AdditionalOptions> | ||
| 63 | + </AdditionalOptions> | ||
| 64 | + </LaunchAction> | ||
| 65 | + <ProfileAction | ||
| 66 | + buildConfiguration = "Profile" | ||
| 67 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 68 | + savedToolIdentifier = "" | ||
| 69 | + useCustomWorkingDirectory = "NO" | ||
| 70 | + debugDocumentVersioning = "YES"> | ||
| 71 | + <BuildableProductRunnable | ||
| 72 | + runnableDebuggingMode = "0"> | ||
| 73 | + <BuildableReference | ||
| 74 | + BuildableIdentifier = "primary" | ||
| 75 | + BlueprintIdentifier = "33CC10EC2044A3C60003C045" | ||
| 76 | + BuildableName = "example.app" | ||
| 77 | + BlueprintName = "Runner" | ||
| 78 | + ReferencedContainer = "container:Runner.xcodeproj"> | ||
| 79 | + </BuildableReference> | ||
| 80 | + </BuildableProductRunnable> | ||
| 81 | + </ProfileAction> | ||
| 82 | + <AnalyzeAction | ||
| 83 | + buildConfiguration = "Debug"> | ||
| 84 | + </AnalyzeAction> | ||
| 85 | + <ArchiveAction | ||
| 86 | + buildConfiguration = "Release" | ||
| 87 | + revealArchiveInOrganizer = "YES"> | ||
| 88 | + </ArchiveAction> | ||
| 89 | +</Scheme> |
example/macos/Runner/AppDelegate.swift
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "size" : "16x16", | ||
| 5 | + "idiom" : "mac", | ||
| 6 | + "filename" : "app_icon_16.png", | ||
| 7 | + "scale" : "1x" | ||
| 8 | + }, | ||
| 9 | + { | ||
| 10 | + "size" : "16x16", | ||
| 11 | + "idiom" : "mac", | ||
| 12 | + "filename" : "app_icon_32.png", | ||
| 13 | + "scale" : "2x" | ||
| 14 | + }, | ||
| 15 | + { | ||
| 16 | + "size" : "32x32", | ||
| 17 | + "idiom" : "mac", | ||
| 18 | + "filename" : "app_icon_32.png", | ||
| 19 | + "scale" : "1x" | ||
| 20 | + }, | ||
| 21 | + { | ||
| 22 | + "size" : "32x32", | ||
| 23 | + "idiom" : "mac", | ||
| 24 | + "filename" : "app_icon_64.png", | ||
| 25 | + "scale" : "2x" | ||
| 26 | + }, | ||
| 27 | + { | ||
| 28 | + "size" : "128x128", | ||
| 29 | + "idiom" : "mac", | ||
| 30 | + "filename" : "app_icon_128.png", | ||
| 31 | + "scale" : "1x" | ||
| 32 | + }, | ||
| 33 | + { | ||
| 34 | + "size" : "128x128", | ||
| 35 | + "idiom" : "mac", | ||
| 36 | + "filename" : "app_icon_256.png", | ||
| 37 | + "scale" : "2x" | ||
| 38 | + }, | ||
| 39 | + { | ||
| 40 | + "size" : "256x256", | ||
| 41 | + "idiom" : "mac", | ||
| 42 | + "filename" : "app_icon_256.png", | ||
| 43 | + "scale" : "1x" | ||
| 44 | + }, | ||
| 45 | + { | ||
| 46 | + "size" : "256x256", | ||
| 47 | + "idiom" : "mac", | ||
| 48 | + "filename" : "app_icon_512.png", | ||
| 49 | + "scale" : "2x" | ||
| 50 | + }, | ||
| 51 | + { | ||
| 52 | + "size" : "512x512", | ||
| 53 | + "idiom" : "mac", | ||
| 54 | + "filename" : "app_icon_512.png", | ||
| 55 | + "scale" : "1x" | ||
| 56 | + }, | ||
| 57 | + { | ||
| 58 | + "size" : "512x512", | ||
| 59 | + "idiom" : "mac", | ||
| 60 | + "filename" : "app_icon_1024.png", | ||
| 61 | + "scale" : "2x" | ||
| 62 | + } | ||
| 63 | + ], | ||
| 64 | + "info" : { | ||
| 65 | + "version" : 1, | ||
| 66 | + "author" : "xcode" | ||
| 67 | + } | ||
| 68 | +} |
45.9 KB
3.2 KB
1.4 KB
5.79 KB
1.21 KB
14.5 KB
1.83 KB
example/macos/Runner/Base.lproj/MainMenu.xib
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> | ||
| 3 | + <dependencies> | ||
| 4 | + <deployment identifier="macosx"/> | ||
| 5 | + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/> | ||
| 6 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
| 7 | + </dependencies> | ||
| 8 | + <objects> | ||
| 9 | + <customObject id="-2" userLabel="File's Owner" customClass="NSApplication"> | ||
| 10 | + <connections> | ||
| 11 | + <outlet property="delegate" destination="Voe-Tx-rLC" id="GzC-gU-4Uq"/> | ||
| 12 | + </connections> | ||
| 13 | + </customObject> | ||
| 14 | + <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> | ||
| 15 | + <customObject id="-3" userLabel="Application" customClass="NSObject"/> | ||
| 16 | + <customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Runner" customModuleProvider="target"> | ||
| 17 | + <connections> | ||
| 18 | + <outlet property="applicationMenu" destination="uQy-DD-JDr" id="XBo-yE-nKs"/> | ||
| 19 | + <outlet property="mainFlutterWindow" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/> | ||
| 20 | + </connections> | ||
| 21 | + </customObject> | ||
| 22 | + <customObject id="YLy-65-1bz" customClass="NSFontManager"/> | ||
| 23 | + <menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6"> | ||
| 24 | + <items> | ||
| 25 | + <menuItem title="APP_NAME" id="1Xt-HY-uBw"> | ||
| 26 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 27 | + <menu key="submenu" title="APP_NAME" systemMenu="apple" id="uQy-DD-JDr"> | ||
| 28 | + <items> | ||
| 29 | + <menuItem title="About APP_NAME" id="5kV-Vb-QxS"> | ||
| 30 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 31 | + <connections> | ||
| 32 | + <action selector="orderFrontStandardAboutPanel:" target="-1" id="Exp-CZ-Vem"/> | ||
| 33 | + </connections> | ||
| 34 | + </menuItem> | ||
| 35 | + <menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/> | ||
| 36 | + <menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/> | ||
| 37 | + <menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/> | ||
| 38 | + <menuItem title="Services" id="NMo-om-nkz"> | ||
| 39 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 40 | + <menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/> | ||
| 41 | + </menuItem> | ||
| 42 | + <menuItem isSeparatorItem="YES" id="4je-JR-u6R"/> | ||
| 43 | + <menuItem title="Hide APP_NAME" keyEquivalent="h" id="Olw-nP-bQN"> | ||
| 44 | + <connections> | ||
| 45 | + <action selector="hide:" target="-1" id="PnN-Uc-m68"/> | ||
| 46 | + </connections> | ||
| 47 | + </menuItem> | ||
| 48 | + <menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO"> | ||
| 49 | + <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/> | ||
| 50 | + <connections> | ||
| 51 | + <action selector="hideOtherApplications:" target="-1" id="VT4-aY-XCT"/> | ||
| 52 | + </connections> | ||
| 53 | + </menuItem> | ||
| 54 | + <menuItem title="Show All" id="Kd2-mp-pUS"> | ||
| 55 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 56 | + <connections> | ||
| 57 | + <action selector="unhideAllApplications:" target="-1" id="Dhg-Le-xox"/> | ||
| 58 | + </connections> | ||
| 59 | + </menuItem> | ||
| 60 | + <menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/> | ||
| 61 | + <menuItem title="Quit APP_NAME" keyEquivalent="q" id="4sb-4s-VLi"> | ||
| 62 | + <connections> | ||
| 63 | + <action selector="terminate:" target="-1" id="Te7-pn-YzF"/> | ||
| 64 | + </connections> | ||
| 65 | + </menuItem> | ||
| 66 | + </items> | ||
| 67 | + </menu> | ||
| 68 | + </menuItem> | ||
| 69 | + <menuItem title="Edit" id="5QF-Oa-p0T"> | ||
| 70 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 71 | + <menu key="submenu" title="Edit" id="W48-6f-4Dl"> | ||
| 72 | + <items> | ||
| 73 | + <menuItem title="Undo" keyEquivalent="z" id="dRJ-4n-Yzg"> | ||
| 74 | + <connections> | ||
| 75 | + <action selector="undo:" target="-1" id="M6e-cu-g7V"/> | ||
| 76 | + </connections> | ||
| 77 | + </menuItem> | ||
| 78 | + <menuItem title="Redo" keyEquivalent="Z" id="6dh-zS-Vam"> | ||
| 79 | + <connections> | ||
| 80 | + <action selector="redo:" target="-1" id="oIA-Rs-6OD"/> | ||
| 81 | + </connections> | ||
| 82 | + </menuItem> | ||
| 83 | + <menuItem isSeparatorItem="YES" id="WRV-NI-Exz"/> | ||
| 84 | + <menuItem title="Cut" keyEquivalent="x" id="uRl-iY-unG"> | ||
| 85 | + <connections> | ||
| 86 | + <action selector="cut:" target="-1" id="YJe-68-I9s"/> | ||
| 87 | + </connections> | ||
| 88 | + </menuItem> | ||
| 89 | + <menuItem title="Copy" keyEquivalent="c" id="x3v-GG-iWU"> | ||
| 90 | + <connections> | ||
| 91 | + <action selector="copy:" target="-1" id="G1f-GL-Joy"/> | ||
| 92 | + </connections> | ||
| 93 | + </menuItem> | ||
| 94 | + <menuItem title="Paste" keyEquivalent="v" id="gVA-U4-sdL"> | ||
| 95 | + <connections> | ||
| 96 | + <action selector="paste:" target="-1" id="UvS-8e-Qdg"/> | ||
| 97 | + </connections> | ||
| 98 | + </menuItem> | ||
| 99 | + <menuItem title="Paste and Match Style" keyEquivalent="V" id="WeT-3V-zwk"> | ||
| 100 | + <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/> | ||
| 101 | + <connections> | ||
| 102 | + <action selector="pasteAsPlainText:" target="-1" id="cEh-KX-wJQ"/> | ||
| 103 | + </connections> | ||
| 104 | + </menuItem> | ||
| 105 | + <menuItem title="Delete" id="pa3-QI-u2k"> | ||
| 106 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 107 | + <connections> | ||
| 108 | + <action selector="delete:" target="-1" id="0Mk-Ml-PaM"/> | ||
| 109 | + </connections> | ||
| 110 | + </menuItem> | ||
| 111 | + <menuItem title="Select All" keyEquivalent="a" id="Ruw-6m-B2m"> | ||
| 112 | + <connections> | ||
| 113 | + <action selector="selectAll:" target="-1" id="VNm-Mi-diN"/> | ||
| 114 | + </connections> | ||
| 115 | + </menuItem> | ||
| 116 | + <menuItem isSeparatorItem="YES" id="uyl-h8-XO2"/> | ||
| 117 | + <menuItem title="Find" id="4EN-yA-p0u"> | ||
| 118 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 119 | + <menu key="submenu" title="Find" id="1b7-l0-nxx"> | ||
| 120 | + <items> | ||
| 121 | + <menuItem title="Find…" tag="1" keyEquivalent="f" id="Xz5-n4-O0W"> | ||
| 122 | + <connections> | ||
| 123 | + <action selector="performFindPanelAction:" target="-1" id="cD7-Qs-BN4"/> | ||
| 124 | + </connections> | ||
| 125 | + </menuItem> | ||
| 126 | + <menuItem title="Find and Replace…" tag="12" keyEquivalent="f" id="YEy-JH-Tfz"> | ||
| 127 | + <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/> | ||
| 128 | + <connections> | ||
| 129 | + <action selector="performFindPanelAction:" target="-1" id="WD3-Gg-5AJ"/> | ||
| 130 | + </connections> | ||
| 131 | + </menuItem> | ||
| 132 | + <menuItem title="Find Next" tag="2" keyEquivalent="g" id="q09-fT-Sye"> | ||
| 133 | + <connections> | ||
| 134 | + <action selector="performFindPanelAction:" target="-1" id="NDo-RZ-v9R"/> | ||
| 135 | + </connections> | ||
| 136 | + </menuItem> | ||
| 137 | + <menuItem title="Find Previous" tag="3" keyEquivalent="G" id="OwM-mh-QMV"> | ||
| 138 | + <connections> | ||
| 139 | + <action selector="performFindPanelAction:" target="-1" id="HOh-sY-3ay"/> | ||
| 140 | + </connections> | ||
| 141 | + </menuItem> | ||
| 142 | + <menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="buJ-ug-pKt"> | ||
| 143 | + <connections> | ||
| 144 | + <action selector="performFindPanelAction:" target="-1" id="U76-nv-p5D"/> | ||
| 145 | + </connections> | ||
| 146 | + </menuItem> | ||
| 147 | + <menuItem title="Jump to Selection" keyEquivalent="j" id="S0p-oC-mLd"> | ||
| 148 | + <connections> | ||
| 149 | + <action selector="centerSelectionInVisibleArea:" target="-1" id="IOG-6D-g5B"/> | ||
| 150 | + </connections> | ||
| 151 | + </menuItem> | ||
| 152 | + </items> | ||
| 153 | + </menu> | ||
| 154 | + </menuItem> | ||
| 155 | + <menuItem title="Spelling and Grammar" id="Dv1-io-Yv7"> | ||
| 156 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 157 | + <menu key="submenu" title="Spelling" id="3IN-sU-3Bg"> | ||
| 158 | + <items> | ||
| 159 | + <menuItem title="Show Spelling and Grammar" keyEquivalent=":" id="HFo-cy-zxI"> | ||
| 160 | + <connections> | ||
| 161 | + <action selector="showGuessPanel:" target="-1" id="vFj-Ks-hy3"/> | ||
| 162 | + </connections> | ||
| 163 | + </menuItem> | ||
| 164 | + <menuItem title="Check Document Now" keyEquivalent=";" id="hz2-CU-CR7"> | ||
| 165 | + <connections> | ||
| 166 | + <action selector="checkSpelling:" target="-1" id="fz7-VC-reM"/> | ||
| 167 | + </connections> | ||
| 168 | + </menuItem> | ||
| 169 | + <menuItem isSeparatorItem="YES" id="bNw-od-mp5"/> | ||
| 170 | + <menuItem title="Check Spelling While Typing" id="rbD-Rh-wIN"> | ||
| 171 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 172 | + <connections> | ||
| 173 | + <action selector="toggleContinuousSpellChecking:" target="-1" id="7w6-Qz-0kB"/> | ||
| 174 | + </connections> | ||
| 175 | + </menuItem> | ||
| 176 | + <menuItem title="Check Grammar With Spelling" id="mK6-2p-4JG"> | ||
| 177 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 178 | + <connections> | ||
| 179 | + <action selector="toggleGrammarChecking:" target="-1" id="muD-Qn-j4w"/> | ||
| 180 | + </connections> | ||
| 181 | + </menuItem> | ||
| 182 | + <menuItem title="Correct Spelling Automatically" id="78Y-hA-62v"> | ||
| 183 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 184 | + <connections> | ||
| 185 | + <action selector="toggleAutomaticSpellingCorrection:" target="-1" id="2lM-Qi-WAP"/> | ||
| 186 | + </connections> | ||
| 187 | + </menuItem> | ||
| 188 | + </items> | ||
| 189 | + </menu> | ||
| 190 | + </menuItem> | ||
| 191 | + <menuItem title="Substitutions" id="9ic-FL-obx"> | ||
| 192 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 193 | + <menu key="submenu" title="Substitutions" id="FeM-D8-WVr"> | ||
| 194 | + <items> | ||
| 195 | + <menuItem title="Show Substitutions" id="z6F-FW-3nz"> | ||
| 196 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 197 | + <connections> | ||
| 198 | + <action selector="orderFrontSubstitutionsPanel:" target="-1" id="oku-mr-iSq"/> | ||
| 199 | + </connections> | ||
| 200 | + </menuItem> | ||
| 201 | + <menuItem isSeparatorItem="YES" id="gPx-C9-uUO"/> | ||
| 202 | + <menuItem title="Smart Copy/Paste" id="9yt-4B-nSM"> | ||
| 203 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 204 | + <connections> | ||
| 205 | + <action selector="toggleSmartInsertDelete:" target="-1" id="3IJ-Se-DZD"/> | ||
| 206 | + </connections> | ||
| 207 | + </menuItem> | ||
| 208 | + <menuItem title="Smart Quotes" id="hQb-2v-fYv"> | ||
| 209 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 210 | + <connections> | ||
| 211 | + <action selector="toggleAutomaticQuoteSubstitution:" target="-1" id="ptq-xd-QOA"/> | ||
| 212 | + </connections> | ||
| 213 | + </menuItem> | ||
| 214 | + <menuItem title="Smart Dashes" id="rgM-f4-ycn"> | ||
| 215 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 216 | + <connections> | ||
| 217 | + <action selector="toggleAutomaticDashSubstitution:" target="-1" id="oCt-pO-9gS"/> | ||
| 218 | + </connections> | ||
| 219 | + </menuItem> | ||
| 220 | + <menuItem title="Smart Links" id="cwL-P1-jid"> | ||
| 221 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 222 | + <connections> | ||
| 223 | + <action selector="toggleAutomaticLinkDetection:" target="-1" id="Gip-E3-Fov"/> | ||
| 224 | + </connections> | ||
| 225 | + </menuItem> | ||
| 226 | + <menuItem title="Data Detectors" id="tRr-pd-1PS"> | ||
| 227 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 228 | + <connections> | ||
| 229 | + <action selector="toggleAutomaticDataDetection:" target="-1" id="R1I-Nq-Kbl"/> | ||
| 230 | + </connections> | ||
| 231 | + </menuItem> | ||
| 232 | + <menuItem title="Text Replacement" id="HFQ-gK-NFA"> | ||
| 233 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 234 | + <connections> | ||
| 235 | + <action selector="toggleAutomaticTextReplacement:" target="-1" id="DvP-Fe-Py6"/> | ||
| 236 | + </connections> | ||
| 237 | + </menuItem> | ||
| 238 | + </items> | ||
| 239 | + </menu> | ||
| 240 | + </menuItem> | ||
| 241 | + <menuItem title="Transformations" id="2oI-Rn-ZJC"> | ||
| 242 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 243 | + <menu key="submenu" title="Transformations" id="c8a-y6-VQd"> | ||
| 244 | + <items> | ||
| 245 | + <menuItem title="Make Upper Case" id="vmV-6d-7jI"> | ||
| 246 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 247 | + <connections> | ||
| 248 | + <action selector="uppercaseWord:" target="-1" id="sPh-Tk-edu"/> | ||
| 249 | + </connections> | ||
| 250 | + </menuItem> | ||
| 251 | + <menuItem title="Make Lower Case" id="d9M-CD-aMd"> | ||
| 252 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 253 | + <connections> | ||
| 254 | + <action selector="lowercaseWord:" target="-1" id="iUZ-b5-hil"/> | ||
| 255 | + </connections> | ||
| 256 | + </menuItem> | ||
| 257 | + <menuItem title="Capitalize" id="UEZ-Bs-lqG"> | ||
| 258 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 259 | + <connections> | ||
| 260 | + <action selector="capitalizeWord:" target="-1" id="26H-TL-nsh"/> | ||
| 261 | + </connections> | ||
| 262 | + </menuItem> | ||
| 263 | + </items> | ||
| 264 | + </menu> | ||
| 265 | + </menuItem> | ||
| 266 | + <menuItem title="Speech" id="xrE-MZ-jX0"> | ||
| 267 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 268 | + <menu key="submenu" title="Speech" id="3rS-ZA-NoH"> | ||
| 269 | + <items> | ||
| 270 | + <menuItem title="Start Speaking" id="Ynk-f8-cLZ"> | ||
| 271 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 272 | + <connections> | ||
| 273 | + <action selector="startSpeaking:" target="-1" id="654-Ng-kyl"/> | ||
| 274 | + </connections> | ||
| 275 | + </menuItem> | ||
| 276 | + <menuItem title="Stop Speaking" id="Oyz-dy-DGm"> | ||
| 277 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 278 | + <connections> | ||
| 279 | + <action selector="stopSpeaking:" target="-1" id="dX8-6p-jy9"/> | ||
| 280 | + </connections> | ||
| 281 | + </menuItem> | ||
| 282 | + </items> | ||
| 283 | + </menu> | ||
| 284 | + </menuItem> | ||
| 285 | + </items> | ||
| 286 | + </menu> | ||
| 287 | + </menuItem> | ||
| 288 | + <menuItem title="View" id="H8h-7b-M4v"> | ||
| 289 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 290 | + <menu key="submenu" title="View" id="HyV-fh-RgO"> | ||
| 291 | + <items> | ||
| 292 | + <menuItem title="Enter Full Screen" keyEquivalent="f" id="4J7-dP-txa"> | ||
| 293 | + <modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/> | ||
| 294 | + <connections> | ||
| 295 | + <action selector="toggleFullScreen:" target="-1" id="dU3-MA-1Rq"/> | ||
| 296 | + </connections> | ||
| 297 | + </menuItem> | ||
| 298 | + </items> | ||
| 299 | + </menu> | ||
| 300 | + </menuItem> | ||
| 301 | + <menuItem title="Window" id="aUF-d1-5bR"> | ||
| 302 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 303 | + <menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo"> | ||
| 304 | + <items> | ||
| 305 | + <menuItem title="Minimize" keyEquivalent="m" id="OY7-WF-poV"> | ||
| 306 | + <connections> | ||
| 307 | + <action selector="performMiniaturize:" target="-1" id="VwT-WD-YPe"/> | ||
| 308 | + </connections> | ||
| 309 | + </menuItem> | ||
| 310 | + <menuItem title="Zoom" id="R4o-n2-Eq4"> | ||
| 311 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 312 | + <connections> | ||
| 313 | + <action selector="performZoom:" target="-1" id="DIl-cC-cCs"/> | ||
| 314 | + </connections> | ||
| 315 | + </menuItem> | ||
| 316 | + <menuItem isSeparatorItem="YES" id="eu3-7i-yIM"/> | ||
| 317 | + <menuItem title="Bring All to Front" id="LE2-aR-0XJ"> | ||
| 318 | + <modifierMask key="keyEquivalentModifierMask"/> | ||
| 319 | + <connections> | ||
| 320 | + <action selector="arrangeInFront:" target="-1" id="DRN-fu-gQh"/> | ||
| 321 | + </connections> | ||
| 322 | + </menuItem> | ||
| 323 | + </items> | ||
| 324 | + </menu> | ||
| 325 | + </menuItem> | ||
| 326 | + </items> | ||
| 327 | + <point key="canvasLocation" x="142" y="-258"/> | ||
| 328 | + </menu> | ||
| 329 | + <window title="APP_NAME" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="MainFlutterWindow" customModule="Runner" customModuleProvider="target"> | ||
| 330 | + <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/> | ||
| 331 | + <rect key="contentRect" x="335" y="390" width="800" height="600"/> | ||
| 332 | + <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1577"/> | ||
| 333 | + <view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ"> | ||
| 334 | + <rect key="frame" x="0.0" y="0.0" width="800" height="600"/> | ||
| 335 | + <autoresizingMask key="autoresizingMask"/> | ||
| 336 | + </view> | ||
| 337 | + </window> | ||
| 338 | + </objects> | ||
| 339 | +</document> |
| 1 | +// Application-level settings for the Runner target. | ||
| 2 | +// | ||
| 3 | +// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the | ||
| 4 | +// future. If not, the values below would default to using the project name when this becomes a | ||
| 5 | +// 'flutter create' template. | ||
| 6 | + | ||
| 7 | +// The application's name. By default this is also the title of the Flutter window. | ||
| 8 | +PRODUCT_NAME = example | ||
| 9 | + | ||
| 10 | +// The application's bundle identifier | ||
| 11 | +PRODUCT_BUNDLE_IDENTIFIER = com.example.example | ||
| 12 | + | ||
| 13 | +// The copyright displayed in application information | ||
| 14 | +PRODUCT_COPYRIGHT = Copyright © 2021 com.example. All rights reserved. |
example/macos/Runner/Configs/Debug.xcconfig
0 → 100644
| 1 | +WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings | ||
| 2 | +GCC_WARN_UNDECLARED_SELECTOR = YES | ||
| 3 | +CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES | ||
| 4 | +CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE | ||
| 5 | +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES | ||
| 6 | +CLANG_WARN_PRAGMA_PACK = YES | ||
| 7 | +CLANG_WARN_STRICT_PROTOTYPES = YES | ||
| 8 | +CLANG_WARN_COMMA = YES | ||
| 9 | +GCC_WARN_STRICT_SELECTOR_MATCH = YES | ||
| 10 | +CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES | ||
| 11 | +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES | ||
| 12 | +GCC_WARN_SHADOW = YES | ||
| 13 | +CLANG_WARN_UNREACHABLE_CODE = YES |
| 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>com.apple.security.app-sandbox</key> | ||
| 6 | + <true/> | ||
| 7 | + <key>com.apple.security.cs.allow-jit</key> | ||
| 8 | + <true/> | ||
| 9 | + <key>com.apple.security.network.server</key> | ||
| 10 | + <true/> | ||
| 11 | +</dict> | ||
| 12 | +</plist> |
example/macos/Runner/Info.plist
0 → 100644
| 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>CFBundleIconFile</key> | ||
| 10 | + <string></string> | ||
| 11 | + <key>CFBundleIdentifier</key> | ||
| 12 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 13 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 14 | + <string>6.0</string> | ||
| 15 | + <key>CFBundleName</key> | ||
| 16 | + <string>$(PRODUCT_NAME)</string> | ||
| 17 | + <key>CFBundlePackageType</key> | ||
| 18 | + <string>APPL</string> | ||
| 19 | + <key>CFBundleShortVersionString</key> | ||
| 20 | + <string>$(FLUTTER_BUILD_NAME)</string> | ||
| 21 | + <key>CFBundleVersion</key> | ||
| 22 | + <string>$(FLUTTER_BUILD_NUMBER)</string> | ||
| 23 | + <key>LSMinimumSystemVersion</key> | ||
| 24 | + <string>$(MACOSX_DEPLOYMENT_TARGET)</string> | ||
| 25 | + <key>NSHumanReadableCopyright</key> | ||
| 26 | + <string>$(PRODUCT_COPYRIGHT)</string> | ||
| 27 | + <key>NSMainNibFile</key> | ||
| 28 | + <string>MainMenu</string> | ||
| 29 | + <key>NSPrincipalClass</key> | ||
| 30 | + <string>NSApplication</string> | ||
| 31 | +</dict> | ||
| 32 | +</plist> |
example/macos/Runner/MainFlutterWindow.swift
0 → 100644
| 1 | +import Cocoa | ||
| 2 | +import FlutterMacOS | ||
| 3 | + | ||
| 4 | +class MainFlutterWindow: NSWindow { | ||
| 5 | + override func awakeFromNib() { | ||
| 6 | + let flutterViewController = FlutterViewController.init() | ||
| 7 | + let windowFrame = self.frame | ||
| 8 | + self.contentViewController = flutterViewController | ||
| 9 | + self.setFrame(windowFrame, display: true) | ||
| 10 | + | ||
| 11 | + RegisterGeneratedPlugins(registry: flutterViewController) | ||
| 12 | + | ||
| 13 | + super.awakeFromNib() | ||
| 14 | + } | ||
| 15 | +} |
example/macos/Runner/Release.entitlements
0 → 100644
example/web/favicon.png
0 → 100644
917 Bytes
example/web/icons/Icon-192.png
0 → 100644
5.17 KB
example/web/icons/Icon-512.png
0 → 100644
8.06 KB
example/web/index.html
0 → 100644
| 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 | + For 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="example"> | ||
| 24 | + <link rel="apple-touch-icon" href="icons/Icon-192.png"> | ||
| 25 | + | ||
| 26 | + <title>example</title> | ||
| 27 | + <link rel="manifest" href="manifest.json"> | ||
| 28 | +</head> | ||
| 29 | +<body> | ||
| 30 | + <!-- This script installs service_worker.js to provide PWA functionality to | ||
| 31 | + application. For more information, see: | ||
| 32 | + https://developers.google.com/web/fundamentals/primers/service-workers --> | ||
| 33 | + <script> | ||
| 34 | + var serviceWorkerVersion = null; | ||
| 35 | + var scriptLoaded = false; | ||
| 36 | + function loadMainDartJs() { | ||
| 37 | + if (scriptLoaded) { | ||
| 38 | + return; | ||
| 39 | + } | ||
| 40 | + scriptLoaded = true; | ||
| 41 | + var scriptTag = document.createElement('script'); | ||
| 42 | + scriptTag.src = 'main.dart.js'; | ||
| 43 | + scriptTag.type = 'application/javascript'; | ||
| 44 | + document.body.append(scriptTag); | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + if ('serviceWorker' in navigator) { | ||
| 48 | + // Service workers are supported. Use them. | ||
| 49 | + window.addEventListener('load', function () { | ||
| 50 | + // Wait for registration to finish before dropping the <script> tag. | ||
| 51 | + // Otherwise, the browser will load the script multiple times, | ||
| 52 | + // potentially different versions. | ||
| 53 | + var serviceWorkerUrl = 'flutter_service_worker.js?v=' + serviceWorkerVersion; | ||
| 54 | + navigator.serviceWorker.register(serviceWorkerUrl) | ||
| 55 | + .then((reg) => { | ||
| 56 | + function waitForActivation(serviceWorker) { | ||
| 57 | + serviceWorker.addEventListener('statechange', () => { | ||
| 58 | + if (serviceWorker.state == 'activated') { | ||
| 59 | + console.log('Installed new service worker.'); | ||
| 60 | + loadMainDartJs(); | ||
| 61 | + } | ||
| 62 | + }); | ||
| 63 | + } | ||
| 64 | + if (!reg.active && (reg.installing || reg.waiting)) { | ||
| 65 | + // No active web worker and we have installed or are installing | ||
| 66 | + // one for the first time. Simply wait for it to activate. | ||
| 67 | + waitForActivation(reg.installing ?? reg.waiting); | ||
| 68 | + } else if (!reg.active.scriptURL.endsWith(serviceWorkerVersion)) { | ||
| 69 | + // When the app updates the serviceWorkerVersion changes, so we | ||
| 70 | + // need to ask the service worker to update. | ||
| 71 | + console.log('New service worker available.'); | ||
| 72 | + reg.update(); | ||
| 73 | + waitForActivation(reg.installing); | ||
| 74 | + } else { | ||
| 75 | + // Existing service worker is still good. | ||
| 76 | + console.log('Loading app from service worker.'); | ||
| 77 | + loadMainDartJs(); | ||
| 78 | + } | ||
| 79 | + }); | ||
| 80 | + | ||
| 81 | + // If service worker doesn't succeed in a reasonable amount of time, | ||
| 82 | + // fallback to plaint <script> tag. | ||
| 83 | + setTimeout(() => { | ||
| 84 | + if (!scriptLoaded) { | ||
| 85 | + console.warn( | ||
| 86 | + 'Failed to load app from service worker. Falling back to plain <script> tag.', | ||
| 87 | + ); | ||
| 88 | + loadMainDartJs(); | ||
| 89 | + } | ||
| 90 | + }, 4000); | ||
| 91 | + }); | ||
| 92 | + } else { | ||
| 93 | + // Service workers not supported. Just drop the <script> tag. | ||
| 94 | + loadMainDartJs(); | ||
| 95 | + } | ||
| 96 | + </script> | ||
| 97 | +</body> | ||
| 98 | +</html> |
example/web/manifest.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "example", | ||
| 3 | + "short_name": "example", | ||
| 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 | +} |
-
Please register or login to post a comment