Showing
61 changed files
with
155 additions
and
1474 deletions
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' | @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' | ||
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" |
27 | 27 | ||
28 | android { | 28 | android { |
29 | - compileSdkVersion 28 | 29 | + compileSdkVersion 29 |
30 | 30 | ||
31 | sourceSets { | 31 | sourceSets { |
32 | main.java.srcDirs += 'src/main/kotlin' | 32 | main.java.srcDirs += 'src/main/kotlin' |
@@ -38,9 +38,9 @@ android { | @@ -38,9 +38,9 @@ android { | ||
38 | 38 | ||
39 | defaultConfig { | 39 | defaultConfig { |
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). |
41 | - applicationId "com.getx.GetXDemo" | 41 | + applicationId "getx.demo.app.example" |
42 | minSdkVersion 16 | 42 | minSdkVersion 16 |
43 | - targetSdkVersion 28 | 43 | + targetSdkVersion 29 |
44 | versionCode flutterVersionCode.toInteger() | 44 | versionCode flutterVersionCode.toInteger() |
45 | versionName flutterVersionName | 45 | versionName flutterVersionName |
46 | } | 46 | } |
1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | - package="com.example.get_state"> | 2 | + package="getx.demo.app.example"> |
3 | <!-- Flutter needs it to communicate with the running application | 3 | <!-- Flutter needs it to communicate with the running application |
4 | to allow setting breakpoints, to provide hot reload, etc. | 4 | to allow setting breakpoints, to provide hot reload, etc. |
5 | --> | 5 | --> |
1 | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.get_state"> | ||
2 | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that | 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | + package="getx.demo.app.example"> | ||
3 | + <!-- io.flutter.app.FlutterApplication is an android.app.Application that | ||
3 | calls FlutterMain.startInitialization(this); in its onCreate method. | 4 | calls FlutterMain.startInitialization(this); in its onCreate method. |
4 | In most cases you can leave this as-is, but you if you want to provide | 5 | In most cases you can leave this as-is, but you if you want to provide |
5 | additional functionality it is fine to subclass or reimplement | 6 | additional functionality it is fine to subclass or reimplement |
6 | FlutterApplication and put your custom class here. --> | 7 | FlutterApplication and put your custom class here. --> |
7 | - <application android:name="io.flutter.app.FlutterApplication" android:label="GetX Demo" android:icon="@mipmap/ic_launcher"> | ||
8 | - <activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize"> | ||
9 | - <!-- Specifies an Android theme to apply to this Activity as soon as | 8 | + <application |
9 | + android:name="io.flutter.app.FlutterApplication" | ||
10 | + android:label="example" | ||
11 | + android:icon="@mipmap/ic_launcher"> | ||
12 | + <activity | ||
13 | + android:name=".MainActivity" | ||
14 | + android:launchMode="singleTop" | ||
15 | + android:theme="@style/LaunchTheme" | ||
16 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | ||
17 | + android:hardwareAccelerated="true" | ||
18 | + android:windowSoftInputMode="adjustResize"> | ||
19 | + <!-- Specifies an Android theme to apply to this Activity as soon as | ||
10 | the Android process has started. This theme is visible to the user | 20 | the Android process has started. This theme is visible to the user |
11 | while the Flutter UI initializes. After that, this theme continues | 21 | while the Flutter UI initializes. After that, this theme continues |
12 | to determine the Window background behind the Flutter UI. --> | 22 | to determine the Window background behind the Flutter UI. --> |
13 | - <meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" /> | ||
14 | - <!-- Displays an Android View that continues showing the launch screen | 23 | + <meta-data |
24 | + android:name="io.flutter.embedding.android.NormalTheme" | ||
25 | + android:resource="@style/NormalTheme" | ||
26 | + /> | ||
27 | + <!-- Displays an Android View that continues showing the launch screen | ||
15 | Drawable until Flutter paints its first frame, then this splash | 28 | Drawable until Flutter paints its first frame, then this splash |
16 | screen fades out. A splash screen is useful to avoid any visual | 29 | screen fades out. A splash screen is useful to avoid any visual |
17 | gap between the end of Android's launch screen and the painting of | 30 | gap between the end of Android's launch screen and the painting of |
18 | Flutter's first frame. --> | 31 | Flutter's first frame. --> |
19 | - <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" /> | ||
20 | - <intent-filter> | ||
21 | - <action android:name="android.intent.action.MAIN"/> | ||
22 | - <category android:name="android.intent.category.LAUNCHER"/> | ||
23 | - </intent-filter> | ||
24 | - </activity> | ||
25 | - <!-- Don't delete the meta-data below. | 32 | + <meta-data |
33 | + android:name="io.flutter.embedding.android.SplashScreenDrawable" | ||
34 | + android:resource="@drawable/launch_background" | ||
35 | + /> | ||
36 | + <intent-filter> | ||
37 | + <action android:name="android.intent.action.MAIN"/> | ||
38 | + <category android:name="android.intent.category.LAUNCHER"/> | ||
39 | + </intent-filter> | ||
40 | + </activity> | ||
41 | + <!-- Don't delete the meta-data below. | ||
26 | This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | 42 | This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
27 | - <meta-data android:name="flutterEmbedding" android:value="2" /> | ||
28 | - </application> | 43 | + <meta-data |
44 | + android:name="flutterEmbedding" | ||
45 | + android:value="2" /> | ||
46 | + </application> | ||
29 | </manifest> | 47 | </manifest> |
1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | - package="com.example.get_state"> | 2 | + package="getx.demo.app.example"> |
3 | <!-- Flutter needs it to communicate with the running application | 3 | <!-- Flutter needs it to communicate with the running application |
4 | to allow setting breakpoints, to provide hot reload, etc. | 4 | to allow setting breakpoints, to provide hot reload, etc. |
5 | --> | 5 | --> |
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<module type="JAVA_MODULE" version="4"> | ||
3 | - <component name="FacetManager"> | ||
4 | - <facet type="android" name="Android"> | ||
5 | - <configuration> | ||
6 | - <option name="ALLOW_USER_CONFIGURATION" value="false" /> | ||
7 | - <option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" /> | ||
8 | - <option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" /> | ||
9 | - <option name="MANIFEST_FILE_RELATIVE_PATH" value="/app/src/main/AndroidManifest.xml" /> | ||
10 | - <option name="RES_FOLDER_RELATIVE_PATH" value="/app/src/main/res" /> | ||
11 | - <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/app/src/main/assets" /> | ||
12 | - <option name="LIBS_FOLDER_RELATIVE_PATH" value="/app/src/main/libs" /> | ||
13 | - <option name="PROGUARD_LOGS_FOLDER_RELATIVE_PATH" value="/app/src/main/proguard_logs" /> | ||
14 | - </configuration> | ||
15 | - </facet> | ||
16 | - </component> | ||
17 | - <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
18 | - <exclude-output /> | ||
19 | - <content url="file://$MODULE_DIR$"> | ||
20 | - <sourceFolder url="file://$MODULE_DIR$/app/src/main/java" isTestSource="false" /> | ||
21 | - <sourceFolder url="file://$MODULE_DIR$/app/src/main/kotlin" isTestSource="false" /> | ||
22 | - <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" /> | ||
23 | - </content> | ||
24 | - <orderEntry type="jdk" jdkName="Android API 25 Platform" jdkType="Android SDK" /> | ||
25 | - <orderEntry type="sourceFolder" forTests="false" /> | ||
26 | - <orderEntry type="library" name="Flutter for Android" level="project" /> | ||
27 | - <orderEntry type="library" name="KotlinJavaRuntime" level="project" /> | ||
28 | - </component> | ||
29 | -</module> |
1 | -// Copyright 2014 The Flutter Authors. All rights reserved. | ||
2 | -// Use of this source code is governed by a BSD-style license that can be | ||
3 | -// found in the LICENSE file. | ||
4 | - | ||
5 | include ':app' | 1 | include ':app' |
6 | 2 | ||
7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") |
@@ -21,6 +21,6 @@ | @@ -21,6 +21,6 @@ | ||
21 | <key>CFBundleVersion</key> | 21 | <key>CFBundleVersion</key> |
22 | <string>1.0</string> | 22 | <string>1.0</string> |
23 | <key>MinimumOSVersion</key> | 23 | <key>MinimumOSVersion</key> |
24 | - <string>8.0</string> | 24 | + <string>9.0</string> |
25 | </dict> | 25 | </dict> |
26 | </plist> | 26 | </plist> |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | archiveVersion = 1; | 3 | archiveVersion = 1; |
4 | classes = { | 4 | classes = { |
5 | }; | 5 | }; |
6 | - objectVersion = 50; | 6 | + objectVersion = 46; |
7 | objects = { | 7 | objects = { |
8 | 8 | ||
9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
@@ -90,7 +90,6 @@ | @@ -90,7 +90,6 @@ | ||
90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, | 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, |
91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, | 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, |
92 | 97C147021CF9000F007C117D /* Info.plist */, | 92 | 97C147021CF9000F007C117D /* Info.plist */, |
93 | - 97C146F11CF9000F007C117D /* Supporting Files */, | ||
94 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, | 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, |
95 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, | 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, |
96 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, | 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, |
@@ -99,13 +98,6 @@ | @@ -99,13 +98,6 @@ | ||
99 | path = Runner; | 98 | path = Runner; |
100 | sourceTree = "<group>"; | 99 | sourceTree = "<group>"; |
101 | }; | 100 | }; |
102 | - 97C146F11CF9000F007C117D /* Supporting Files */ = { | ||
103 | - isa = PBXGroup; | ||
104 | - children = ( | ||
105 | - ); | ||
106 | - name = "Supporting Files"; | ||
107 | - sourceTree = "<group>"; | ||
108 | - }; | ||
109 | /* End PBXGroup section */ | 101 | /* End PBXGroup section */ |
110 | 102 | ||
111 | /* Begin PBXNativeTarget section */ | 103 | /* Begin PBXNativeTarget section */ |
@@ -280,7 +272,7 @@ | @@ -280,7 +272,7 @@ | ||
280 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
281 | GCC_WARN_UNUSED_FUNCTION = YES; | 273 | GCC_WARN_UNUSED_FUNCTION = YES; |
282 | GCC_WARN_UNUSED_VARIABLE = YES; | 274 | GCC_WARN_UNUSED_VARIABLE = YES; |
283 | - IPHONEOS_DEPLOYMENT_TARGET = 8.0; | 275 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
284 | MTL_ENABLE_DEBUG_INFO = NO; | 276 | MTL_ENABLE_DEBUG_INFO = NO; |
285 | SDKROOT = iphoneos; | 277 | SDKROOT = iphoneos; |
286 | SUPPORTED_PLATFORMS = iphoneos; | 278 | SUPPORTED_PLATFORMS = iphoneos; |
@@ -302,15 +294,12 @@ | @@ -302,15 +294,12 @@ | ||
302 | "$(PROJECT_DIR)/Flutter", | 294 | "$(PROJECT_DIR)/Flutter", |
303 | ); | 295 | ); |
304 | INFOPLIST_FILE = Runner/Info.plist; | 296 | INFOPLIST_FILE = Runner/Info.plist; |
305 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
306 | - "$(inherited)", | ||
307 | - "@executable_path/Frameworks", | ||
308 | - ); | 297 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
309 | LIBRARY_SEARCH_PATHS = ( | 298 | LIBRARY_SEARCH_PATHS = ( |
310 | "$(inherited)", | 299 | "$(inherited)", |
311 | "$(PROJECT_DIR)/Flutter", | 300 | "$(PROJECT_DIR)/Flutter", |
312 | ); | 301 | ); |
313 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | 302 | + PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example; |
314 | PRODUCT_NAME = "$(TARGET_NAME)"; | 303 | PRODUCT_NAME = "$(TARGET_NAME)"; |
315 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | 304 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; |
316 | SWIFT_VERSION = 5.0; | 305 | SWIFT_VERSION = 5.0; |
@@ -365,7 +354,7 @@ | @@ -365,7 +354,7 @@ | ||
365 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 354 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
366 | GCC_WARN_UNUSED_FUNCTION = YES; | 355 | GCC_WARN_UNUSED_FUNCTION = YES; |
367 | GCC_WARN_UNUSED_VARIABLE = YES; | 356 | GCC_WARN_UNUSED_VARIABLE = YES; |
368 | - IPHONEOS_DEPLOYMENT_TARGET = 8.0; | 357 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
369 | MTL_ENABLE_DEBUG_INFO = YES; | 358 | MTL_ENABLE_DEBUG_INFO = YES; |
370 | ONLY_ACTIVE_ARCH = YES; | 359 | ONLY_ACTIVE_ARCH = YES; |
371 | SDKROOT = iphoneos; | 360 | SDKROOT = iphoneos; |
@@ -414,12 +403,11 @@ | @@ -414,12 +403,11 @@ | ||
414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 403 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
415 | GCC_WARN_UNUSED_FUNCTION = YES; | 404 | GCC_WARN_UNUSED_FUNCTION = YES; |
416 | GCC_WARN_UNUSED_VARIABLE = YES; | 405 | GCC_WARN_UNUSED_VARIABLE = YES; |
417 | - IPHONEOS_DEPLOYMENT_TARGET = 8.0; | 406 | + IPHONEOS_DEPLOYMENT_TARGET = 9.0; |
418 | MTL_ENABLE_DEBUG_INFO = NO; | 407 | MTL_ENABLE_DEBUG_INFO = NO; |
419 | SDKROOT = iphoneos; | 408 | SDKROOT = iphoneos; |
420 | SUPPORTED_PLATFORMS = iphoneos; | 409 | SUPPORTED_PLATFORMS = iphoneos; |
421 | - SWIFT_COMPILATION_MODE = wholemodule; | ||
422 | - SWIFT_OPTIMIZATION_LEVEL = "-O"; | 410 | + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; |
423 | TARGETED_DEVICE_FAMILY = "1,2"; | 411 | TARGETED_DEVICE_FAMILY = "1,2"; |
424 | VALIDATE_PRODUCT = YES; | 412 | VALIDATE_PRODUCT = YES; |
425 | }; | 413 | }; |
@@ -438,15 +426,12 @@ | @@ -438,15 +426,12 @@ | ||
438 | "$(PROJECT_DIR)/Flutter", | 426 | "$(PROJECT_DIR)/Flutter", |
439 | ); | 427 | ); |
440 | INFOPLIST_FILE = Runner/Info.plist; | 428 | INFOPLIST_FILE = Runner/Info.plist; |
441 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
442 | - "$(inherited)", | ||
443 | - "@executable_path/Frameworks", | ||
444 | - ); | 429 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
445 | LIBRARY_SEARCH_PATHS = ( | 430 | LIBRARY_SEARCH_PATHS = ( |
446 | "$(inherited)", | 431 | "$(inherited)", |
447 | "$(PROJECT_DIR)/Flutter", | 432 | "$(PROJECT_DIR)/Flutter", |
448 | ); | 433 | ); |
449 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | 434 | + PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example; |
450 | PRODUCT_NAME = "$(TARGET_NAME)"; | 435 | PRODUCT_NAME = "$(TARGET_NAME)"; |
451 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | 436 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; |
452 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | 437 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; |
@@ -468,15 +453,12 @@ | @@ -468,15 +453,12 @@ | ||
468 | "$(PROJECT_DIR)/Flutter", | 453 | "$(PROJECT_DIR)/Flutter", |
469 | ); | 454 | ); |
470 | INFOPLIST_FILE = Runner/Info.plist; | 455 | INFOPLIST_FILE = Runner/Info.plist; |
471 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
472 | - "$(inherited)", | ||
473 | - "@executable_path/Frameworks", | ||
474 | - ); | 456 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
475 | LIBRARY_SEARCH_PATHS = ( | 457 | LIBRARY_SEARCH_PATHS = ( |
476 | "$(inherited)", | 458 | "$(inherited)", |
477 | "$(PROJECT_DIR)/Flutter", | 459 | "$(PROJECT_DIR)/Flutter", |
478 | ); | 460 | ); |
479 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | 461 | + PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example; |
480 | PRODUCT_NAME = "$(TARGET_NAME)"; | 462 | PRODUCT_NAME = "$(TARGET_NAME)"; |
481 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; | 463 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; |
482 | SWIFT_VERSION = 5.0; | 464 | SWIFT_VERSION = 5.0; |
1 | <?xml version="1.0" encoding="UTF-8"?> | 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"> | 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
3 | <plist version="1.0"> | 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>GetX Demo</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> | 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>example</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> | 45 | </plist> |
1 | import 'package:flutter/material.dart'; | 1 | import 'package:flutter/material.dart'; |
2 | import 'package:get/get.dart'; | 2 | import 'package:get/get.dart'; |
3 | -import 'package:get_state/routes/app_pages.dart'; | 3 | +import 'package:get_demo/routes/app_pages.dart'; |
4 | import 'shared/logger/logger_utils.dart'; | 4 | import 'shared/logger/logger_utils.dart'; |
5 | 5 | ||
6 | void main() { | 6 | void main() { |
1 | import 'package:dio/dio.dart'; | 1 | import 'package:dio/dio.dart'; |
2 | import 'package:get/get.dart'; | 2 | import 'package:get/get.dart'; |
3 | -import 'package:get_state/pages/home/domain/adapters/repository_adapter.dart'; | ||
4 | -import 'package:get_state/pages/home/presentation/controllers/home_controller.dart'; | 3 | +import 'package:get_demo/pages/home/domain/adapters/repository_adapter.dart'; |
4 | +import 'package:get_demo/pages/home/presentation/controllers/home_controller.dart'; | ||
5 | import '../data/home_repository.dart'; | 5 | import '../data/home_repository.dart'; |
6 | 6 | ||
7 | class HomeBinding extends Bindings { | 7 | class HomeBinding extends Bindings { |
1 | import 'package:dio/dio.dart'; | 1 | import 'package:dio/dio.dart'; |
2 | -import 'package:get_state/pages/home/domain/adapters/repository_adapter.dart'; | ||
3 | -import 'package:get_state/pages/home/domain/entity/cases_model.dart'; | 2 | +import 'package:get_demo/pages/home/domain/adapters/repository_adapter.dart'; |
3 | +import 'package:get_demo/pages/home/domain/entity/cases_model.dart'; | ||
4 | 4 | ||
5 | class HomeRepository implements IHomeRepository { | 5 | class HomeRepository implements IHomeRepository { |
6 | HomeRepository({this.dio}); | 6 | HomeRepository({this.dio}); |
1 | import 'package:get/get.dart'; | 1 | import 'package:get/get.dart'; |
2 | -import 'package:get_state/pages/home/domain/adapters/repository_adapter.dart'; | ||
3 | -import 'package:get_state/pages/home/domain/entity/cases_model.dart'; | 2 | +import 'package:get_demo/pages/home/domain/adapters/repository_adapter.dart'; |
3 | +import 'package:get_demo/pages/home/domain/entity/cases_model.dart'; | ||
4 | 4 | ||
5 | enum Status { loading, success, error } | 5 | enum Status { loading, success, error } |
6 | 6 |
1 | import 'dart:ui'; | 1 | import 'dart:ui'; |
2 | import 'package:flutter/material.dart'; | 2 | import 'package:flutter/material.dart'; |
3 | import 'package:get/get.dart'; | 3 | import 'package:get/get.dart'; |
4 | -import 'package:get_state/pages/home/domain/entity/cases_model.dart'; | 4 | +import 'package:get_demo/pages/home/domain/entity/cases_model.dart'; |
5 | import '../controllers/home_controller.dart'; | 5 | import '../controllers/home_controller.dart'; |
6 | 6 | ||
7 | class CountryView extends GetWidget<HomeController> { | 7 | class CountryView extends GetWidget<HomeController> { |
@@ -2,7 +2,7 @@ import 'dart:ui'; | @@ -2,7 +2,7 @@ import 'dart:ui'; | ||
2 | 2 | ||
3 | import 'package:flutter/material.dart'; | 3 | import 'package:flutter/material.dart'; |
4 | import 'package:get/get.dart'; | 4 | import 'package:get/get.dart'; |
5 | -import 'package:get_state/pages/home/domain/entity/cases_model.dart'; | 5 | +import 'package:get_demo/pages/home/domain/entity/cases_model.dart'; |
6 | 6 | ||
7 | class DetailsView extends StatelessWidget { | 7 | class DetailsView extends StatelessWidget { |
8 | @override | 8 | @override |
@@ -2,7 +2,7 @@ import 'dart:ui'; | @@ -2,7 +2,7 @@ import 'dart:ui'; | ||
2 | 2 | ||
3 | import 'package:flutter/material.dart'; | 3 | import 'package:flutter/material.dart'; |
4 | import 'package:get/get.dart'; | 4 | import 'package:get/get.dart'; |
5 | -import 'package:get_state/pages/home/presentation/controllers/home_controller.dart'; | 5 | +import 'package:get_demo/pages/home/presentation/controllers/home_controller.dart'; |
6 | 6 | ||
7 | class HomeView extends GetView<HomeController> { | 7 | class HomeView extends GetView<HomeController> { |
8 | @override | 8 | @override |
1 | import 'package:get/get.dart'; | 1 | import 'package:get/get.dart'; |
2 | -import 'package:get_state/pages/home/bindings/home_binding.dart'; | ||
3 | -import 'package:get_state/pages/home/presentation/views/country_view.dart'; | ||
4 | -import 'package:get_state/pages/home/presentation/views/details_view.dart'; | ||
5 | -import 'package:get_state/pages/home/presentation/views/home_view.dart'; | 2 | +import 'package:get_demo/pages/home/bindings/home_binding.dart'; |
3 | +import 'package:get_demo/pages/home/presentation/views/country_view.dart'; | ||
4 | +import 'package:get_demo/pages/home/presentation/views/details_view.dart'; | ||
5 | +import 'package:get_demo/pages/home/presentation/views/home_view.dart'; | ||
6 | 6 | ||
7 | part 'app_routes.dart'; | 7 | part 'app_routes.dart'; |
8 | 8 |
1 | cmake_minimum_required(VERSION 3.10) | 1 | cmake_minimum_required(VERSION 3.10) |
2 | project(runner LANGUAGES CXX) | 2 | project(runner LANGUAGES CXX) |
3 | 3 | ||
4 | -set(BINARY_NAME "GetX demo") | ||
5 | -set(APPLICATION_ID "com.getx.GetXDemo") | 4 | +set(BINARY_NAME "example") |
5 | +set(APPLICATION_ID "getx.demo.app.example") | ||
6 | 6 | ||
7 | cmake_policy(SET CMP0063 NEW) | 7 | cmake_policy(SET CMP0063 NEW) |
8 | 8 |
example/macos/.gitignore
deleted
100644 → 0
1 | -#include "ephemeral/Flutter-Generated.xcconfig" |
1 | -#include "ephemeral/Flutter-Generated.xcconfig" |
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 | - 33D1A10422148B71006C7A3E /* FlutterMacOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33D1A10322148B71006C7A3E /* FlutterMacOS.framework */; }; | ||
30 | - 33D1A10522148B93006C7A3E /* FlutterMacOS.framework in Bundle Framework */ = {isa = PBXBuildFile; fileRef = 33D1A10322148B71006C7A3E /* FlutterMacOS.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; | ||
31 | - D73912F022F37F9E000D13A0 /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D73912EF22F37F9E000D13A0 /* App.framework */; }; | ||
32 | - D73912F222F3801D000D13A0 /* App.framework in Bundle Framework */ = {isa = PBXBuildFile; fileRef = D73912EF22F37F9E000D13A0 /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; | ||
33 | -/* End PBXBuildFile section */ | ||
34 | - | ||
35 | -/* Begin PBXContainerItemProxy section */ | ||
36 | - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { | ||
37 | - isa = PBXContainerItemProxy; | ||
38 | - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; | ||
39 | - proxyType = 1; | ||
40 | - remoteGlobalIDString = 33CC111A2044C6BA0003C045; | ||
41 | - remoteInfo = FLX; | ||
42 | - }; | ||
43 | -/* End PBXContainerItemProxy section */ | ||
44 | - | ||
45 | -/* Begin PBXCopyFilesBuildPhase section */ | ||
46 | - 33CC110E2044A8840003C045 /* Bundle Framework */ = { | ||
47 | - isa = PBXCopyFilesBuildPhase; | ||
48 | - buildActionMask = 2147483647; | ||
49 | - dstPath = ""; | ||
50 | - dstSubfolderSpec = 10; | ||
51 | - files = ( | ||
52 | - D73912F222F3801D000D13A0 /* App.framework in Bundle Framework */, | ||
53 | - 33D1A10522148B93006C7A3E /* FlutterMacOS.framework in Bundle Framework */, | ||
54 | - ); | ||
55 | - name = "Bundle Framework"; | ||
56 | - runOnlyForDeploymentPostprocessing = 0; | ||
57 | - }; | ||
58 | -/* End PBXCopyFilesBuildPhase section */ | ||
59 | - | ||
60 | -/* Begin PBXFileReference section */ | ||
61 | - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; }; | ||
62 | - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; }; | ||
63 | - 33CC10ED2044A3C60003C045 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
64 | - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; | ||
65 | - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; }; | ||
66 | - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; }; | ||
67 | - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = "<group>"; }; | ||
68 | - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = "<group>"; }; | ||
69 | - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = "<group>"; }; | ||
70 | - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = "<group>"; }; | ||
71 | - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = "<group>"; }; | ||
72 | - 33D1A10322148B71006C7A3E /* FlutterMacOS.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FlutterMacOS.framework; path = Flutter/ephemeral/FlutterMacOS.framework; sourceTree = SOURCE_ROOT; }; | ||
73 | - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; }; | ||
74 | - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; }; | ||
75 | - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; }; | ||
76 | - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; }; | ||
77 | - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; }; | ||
78 | - D73912EF22F37F9E000D13A0 /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/ephemeral/App.framework; sourceTree = SOURCE_ROOT; }; | ||
79 | -/* End PBXFileReference section */ | ||
80 | - | ||
81 | -/* Begin PBXFrameworksBuildPhase section */ | ||
82 | - 33CC10EA2044A3C60003C045 /* Frameworks */ = { | ||
83 | - isa = PBXFrameworksBuildPhase; | ||
84 | - buildActionMask = 2147483647; | ||
85 | - files = ( | ||
86 | - D73912F022F37F9E000D13A0 /* App.framework in Frameworks */, | ||
87 | - 33D1A10422148B71006C7A3E /* FlutterMacOS.framework in Frameworks */, | ||
88 | - ); | ||
89 | - runOnlyForDeploymentPostprocessing = 0; | ||
90 | - }; | ||
91 | -/* End PBXFrameworksBuildPhase section */ | ||
92 | - | ||
93 | -/* Begin PBXGroup section */ | ||
94 | - 33BA886A226E78AF003329D5 /* Configs */ = { | ||
95 | - isa = PBXGroup; | ||
96 | - children = ( | ||
97 | - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, | ||
98 | - 9740EEB21CF90195004384FC /* Debug.xcconfig */, | ||
99 | - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, | ||
100 | - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, | ||
101 | - ); | ||
102 | - path = Configs; | ||
103 | - sourceTree = "<group>"; | ||
104 | - }; | ||
105 | - 33CC10E42044A3C60003C045 = { | ||
106 | - isa = PBXGroup; | ||
107 | - children = ( | ||
108 | - 33FAB671232836740065AC1E /* Runner */, | ||
109 | - 33CEB47122A05771004F2AC0 /* Flutter */, | ||
110 | - 33CC10EE2044A3C60003C045 /* Products */, | ||
111 | - D73912EC22F37F3D000D13A0 /* Frameworks */, | ||
112 | - ); | ||
113 | - sourceTree = "<group>"; | ||
114 | - }; | ||
115 | - 33CC10EE2044A3C60003C045 /* Products */ = { | ||
116 | - isa = PBXGroup; | ||
117 | - children = ( | ||
118 | - 33CC10ED2044A3C60003C045 /* example.app */, | ||
119 | - ); | ||
120 | - name = Products; | ||
121 | - sourceTree = "<group>"; | ||
122 | - }; | ||
123 | - 33CC11242044D66E0003C045 /* Resources */ = { | ||
124 | - isa = PBXGroup; | ||
125 | - children = ( | ||
126 | - 33CC10F22044A3C60003C045 /* Assets.xcassets */, | ||
127 | - 33CC10F42044A3C60003C045 /* MainMenu.xib */, | ||
128 | - 33CC10F72044A3C60003C045 /* Info.plist */, | ||
129 | - ); | ||
130 | - name = Resources; | ||
131 | - path = ..; | ||
132 | - sourceTree = "<group>"; | ||
133 | - }; | ||
134 | - 33CEB47122A05771004F2AC0 /* Flutter */ = { | ||
135 | - isa = PBXGroup; | ||
136 | - children = ( | ||
137 | - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, | ||
138 | - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, | ||
139 | - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, | ||
140 | - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, | ||
141 | - D73912EF22F37F9E000D13A0 /* App.framework */, | ||
142 | - 33D1A10322148B71006C7A3E /* FlutterMacOS.framework */, | ||
143 | - ); | ||
144 | - path = Flutter; | ||
145 | - sourceTree = "<group>"; | ||
146 | - }; | ||
147 | - 33FAB671232836740065AC1E /* Runner */ = { | ||
148 | - isa = PBXGroup; | ||
149 | - children = ( | ||
150 | - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, | ||
151 | - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, | ||
152 | - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, | ||
153 | - 33E51914231749380026EE4D /* Release.entitlements */, | ||
154 | - 33CC11242044D66E0003C045 /* Resources */, | ||
155 | - 33BA886A226E78AF003329D5 /* Configs */, | ||
156 | - ); | ||
157 | - path = Runner; | ||
158 | - sourceTree = "<group>"; | ||
159 | - }; | ||
160 | - D73912EC22F37F3D000D13A0 /* Frameworks */ = { | ||
161 | - isa = PBXGroup; | ||
162 | - children = ( | ||
163 | - ); | ||
164 | - name = Frameworks; | ||
165 | - sourceTree = "<group>"; | ||
166 | - }; | ||
167 | -/* End PBXGroup section */ | ||
168 | - | ||
169 | -/* Begin PBXNativeTarget section */ | ||
170 | - 33CC10EC2044A3C60003C045 /* Runner */ = { | ||
171 | - isa = PBXNativeTarget; | ||
172 | - buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; | ||
173 | - buildPhases = ( | ||
174 | - 33CC10E92044A3C60003C045 /* Sources */, | ||
175 | - 33CC10EA2044A3C60003C045 /* Frameworks */, | ||
176 | - 33CC10EB2044A3C60003C045 /* Resources */, | ||
177 | - 33CC110E2044A8840003C045 /* Bundle Framework */, | ||
178 | - 3399D490228B24CF009A79C7 /* ShellScript */, | ||
179 | - ); | ||
180 | - buildRules = ( | ||
181 | - ); | ||
182 | - dependencies = ( | ||
183 | - 33CC11202044C79F0003C045 /* PBXTargetDependency */, | ||
184 | - ); | ||
185 | - name = Runner; | ||
186 | - productName = Runner; | ||
187 | - productReference = 33CC10ED2044A3C60003C045 /* example.app */; | ||
188 | - productType = "com.apple.product-type.application"; | ||
189 | - }; | ||
190 | -/* End PBXNativeTarget section */ | ||
191 | - | ||
192 | -/* Begin PBXProject section */ | ||
193 | - 33CC10E52044A3C60003C045 /* Project object */ = { | ||
194 | - isa = PBXProject; | ||
195 | - attributes = { | ||
196 | - LastSwiftUpdateCheck = 0920; | ||
197 | - LastUpgradeCheck = 1160; | ||
198 | - ORGANIZATIONNAME = "The Flutter Authors"; | ||
199 | - TargetAttributes = { | ||
200 | - 33CC10EC2044A3C60003C045 = { | ||
201 | - CreatedOnToolsVersion = 9.2; | ||
202 | - LastSwiftMigration = 1100; | ||
203 | - ProvisioningStyle = Automatic; | ||
204 | - SystemCapabilities = { | ||
205 | - com.apple.Sandbox = { | ||
206 | - enabled = 1; | ||
207 | - }; | ||
208 | - }; | ||
209 | - }; | ||
210 | - 33CC111A2044C6BA0003C045 = { | ||
211 | - CreatedOnToolsVersion = 9.2; | ||
212 | - ProvisioningStyle = Manual; | ||
213 | - }; | ||
214 | - }; | ||
215 | - }; | ||
216 | - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; | ||
217 | - compatibilityVersion = "Xcode 8.0"; | ||
218 | - developmentRegion = en; | ||
219 | - hasScannedForEncodings = 0; | ||
220 | - knownRegions = ( | ||
221 | - en, | ||
222 | - Base, | ||
223 | - ); | ||
224 | - mainGroup = 33CC10E42044A3C60003C045; | ||
225 | - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; | ||
226 | - projectDirPath = ""; | ||
227 | - projectRoot = ""; | ||
228 | - targets = ( | ||
229 | - 33CC10EC2044A3C60003C045 /* Runner */, | ||
230 | - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, | ||
231 | - ); | ||
232 | - }; | ||
233 | -/* End PBXProject section */ | ||
234 | - | ||
235 | -/* Begin PBXResourcesBuildPhase section */ | ||
236 | - 33CC10EB2044A3C60003C045 /* Resources */ = { | ||
237 | - isa = PBXResourcesBuildPhase; | ||
238 | - buildActionMask = 2147483647; | ||
239 | - files = ( | ||
240 | - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, | ||
241 | - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, | ||
242 | - ); | ||
243 | - runOnlyForDeploymentPostprocessing = 0; | ||
244 | - }; | ||
245 | -/* End PBXResourcesBuildPhase section */ | ||
246 | - | ||
247 | -/* Begin PBXShellScriptBuildPhase section */ | ||
248 | - 3399D490228B24CF009A79C7 /* ShellScript */ = { | ||
249 | - isa = PBXShellScriptBuildPhase; | ||
250 | - buildActionMask = 2147483647; | ||
251 | - files = ( | ||
252 | - ); | ||
253 | - inputFileListPaths = ( | ||
254 | - ); | ||
255 | - inputPaths = ( | ||
256 | - ); | ||
257 | - outputFileListPaths = ( | ||
258 | - ); | ||
259 | - outputPaths = ( | ||
260 | - ); | ||
261 | - runOnlyForDeploymentPostprocessing = 0; | ||
262 | - shellPath = /bin/sh; | ||
263 | - shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename\n"; | ||
264 | - }; | ||
265 | - 33CC111E2044C6BF0003C045 /* ShellScript */ = { | ||
266 | - isa = PBXShellScriptBuildPhase; | ||
267 | - buildActionMask = 2147483647; | ||
268 | - files = ( | ||
269 | - ); | ||
270 | - inputFileListPaths = ( | ||
271 | - Flutter/ephemeral/FlutterInputs.xcfilelist, | ||
272 | - ); | ||
273 | - inputPaths = ( | ||
274 | - Flutter/ephemeral/tripwire, | ||
275 | - ); | ||
276 | - outputFileListPaths = ( | ||
277 | - Flutter/ephemeral/FlutterOutputs.xcfilelist, | ||
278 | - ); | ||
279 | - outputPaths = ( | ||
280 | - ); | ||
281 | - runOnlyForDeploymentPostprocessing = 0; | ||
282 | - shellPath = /bin/sh; | ||
283 | - shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; | ||
284 | - }; | ||
285 | -/* End PBXShellScriptBuildPhase section */ | ||
286 | - | ||
287 | -/* Begin PBXSourcesBuildPhase section */ | ||
288 | - 33CC10E92044A3C60003C045 /* Sources */ = { | ||
289 | - isa = PBXSourcesBuildPhase; | ||
290 | - buildActionMask = 2147483647; | ||
291 | - files = ( | ||
292 | - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, | ||
293 | - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, | ||
294 | - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, | ||
295 | - ); | ||
296 | - runOnlyForDeploymentPostprocessing = 0; | ||
297 | - }; | ||
298 | -/* End PBXSourcesBuildPhase section */ | ||
299 | - | ||
300 | -/* Begin PBXTargetDependency section */ | ||
301 | - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { | ||
302 | - isa = PBXTargetDependency; | ||
303 | - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; | ||
304 | - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; | ||
305 | - }; | ||
306 | -/* End PBXTargetDependency section */ | ||
307 | - | ||
308 | -/* Begin PBXVariantGroup section */ | ||
309 | - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { | ||
310 | - isa = PBXVariantGroup; | ||
311 | - children = ( | ||
312 | - 33CC10F52044A3C60003C045 /* Base */, | ||
313 | - ); | ||
314 | - name = MainMenu.xib; | ||
315 | - path = Runner; | ||
316 | - sourceTree = "<group>"; | ||
317 | - }; | ||
318 | -/* End PBXVariantGroup section */ | ||
319 | - | ||
320 | -/* Begin XCBuildConfiguration section */ | ||
321 | - 338D0CE9231458BD00FA5F75 /* Profile */ = { | ||
322 | - isa = XCBuildConfiguration; | ||
323 | - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | ||
324 | - buildSettings = { | ||
325 | - ALWAYS_SEARCH_USER_PATHS = NO; | ||
326 | - CLANG_ANALYZER_NONNULL = YES; | ||
327 | - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
328 | - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
329 | - CLANG_CXX_LIBRARY = "libc++"; | ||
330 | - CLANG_ENABLE_MODULES = YES; | ||
331 | - CLANG_ENABLE_OBJC_ARC = YES; | ||
332 | - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
333 | - CLANG_WARN_BOOL_CONVERSION = YES; | ||
334 | - CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
335 | - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
336 | - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
337 | - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
338 | - CLANG_WARN_EMPTY_BODY = YES; | ||
339 | - CLANG_WARN_ENUM_CONVERSION = YES; | ||
340 | - CLANG_WARN_INFINITE_RECURSION = YES; | ||
341 | - CLANG_WARN_INT_CONVERSION = YES; | ||
342 | - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
343 | - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
344 | - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
345 | - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
346 | - CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
347 | - CODE_SIGN_IDENTITY = "-"; | ||
348 | - COPY_PHASE_STRIP = NO; | ||
349 | - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
350 | - ENABLE_NS_ASSERTIONS = NO; | ||
351 | - ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
352 | - GCC_C_LANGUAGE_STANDARD = gnu11; | ||
353 | - GCC_NO_COMMON_BLOCKS = YES; | ||
354 | - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
355 | - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
356 | - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
357 | - GCC_WARN_UNUSED_FUNCTION = YES; | ||
358 | - GCC_WARN_UNUSED_VARIABLE = YES; | ||
359 | - MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
360 | - MTL_ENABLE_DEBUG_INFO = NO; | ||
361 | - SDKROOT = macosx; | ||
362 | - SWIFT_COMPILATION_MODE = wholemodule; | ||
363 | - SWIFT_OPTIMIZATION_LEVEL = "-O"; | ||
364 | - }; | ||
365 | - name = Profile; | ||
366 | - }; | ||
367 | - 338D0CEA231458BD00FA5F75 /* Profile */ = { | ||
368 | - isa = XCBuildConfiguration; | ||
369 | - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
370 | - buildSettings = { | ||
371 | - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
372 | - CLANG_ENABLE_MODULES = YES; | ||
373 | - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; | ||
374 | - CODE_SIGN_IDENTITY = "-"; | ||
375 | - CODE_SIGN_STYLE = Automatic; | ||
376 | - COMBINE_HIDPI_IMAGES = YES; | ||
377 | - FRAMEWORK_SEARCH_PATHS = ( | ||
378 | - "$(inherited)", | ||
379 | - "$(PROJECT_DIR)/Flutter/ephemeral", | ||
380 | - ); | ||
381 | - INFOPLIST_FILE = Runner/Info.plist; | ||
382 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
383 | - "$(inherited)", | ||
384 | - "@executable_path/../Frameworks", | ||
385 | - ); | ||
386 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | ||
387 | - PROVISIONING_PROFILE_SPECIFIER = ""; | ||
388 | - SWIFT_VERSION = 5.0; | ||
389 | - }; | ||
390 | - name = Profile; | ||
391 | - }; | ||
392 | - 338D0CEB231458BD00FA5F75 /* Profile */ = { | ||
393 | - isa = XCBuildConfiguration; | ||
394 | - buildSettings = { | ||
395 | - CODE_SIGN_STYLE = Manual; | ||
396 | - PRODUCT_NAME = "$(TARGET_NAME)"; | ||
397 | - }; | ||
398 | - name = Profile; | ||
399 | - }; | ||
400 | - 33CC10F92044A3C60003C045 /* Debug */ = { | ||
401 | - isa = XCBuildConfiguration; | ||
402 | - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; | ||
403 | - buildSettings = { | ||
404 | - ALWAYS_SEARCH_USER_PATHS = NO; | ||
405 | - CLANG_ANALYZER_NONNULL = YES; | ||
406 | - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
407 | - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
408 | - CLANG_CXX_LIBRARY = "libc++"; | ||
409 | - CLANG_ENABLE_MODULES = YES; | ||
410 | - CLANG_ENABLE_OBJC_ARC = YES; | ||
411 | - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
412 | - CLANG_WARN_BOOL_CONVERSION = YES; | ||
413 | - CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
414 | - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
415 | - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
416 | - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
417 | - CLANG_WARN_EMPTY_BODY = YES; | ||
418 | - CLANG_WARN_ENUM_CONVERSION = YES; | ||
419 | - CLANG_WARN_INFINITE_RECURSION = YES; | ||
420 | - CLANG_WARN_INT_CONVERSION = YES; | ||
421 | - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
422 | - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
423 | - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
424 | - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
425 | - CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
426 | - CODE_SIGN_IDENTITY = "-"; | ||
427 | - COPY_PHASE_STRIP = NO; | ||
428 | - DEBUG_INFORMATION_FORMAT = dwarf; | ||
429 | - ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
430 | - ENABLE_TESTABILITY = YES; | ||
431 | - GCC_C_LANGUAGE_STANDARD = gnu11; | ||
432 | - GCC_DYNAMIC_NO_PIC = NO; | ||
433 | - GCC_NO_COMMON_BLOCKS = YES; | ||
434 | - GCC_OPTIMIZATION_LEVEL = 0; | ||
435 | - GCC_PREPROCESSOR_DEFINITIONS = ( | ||
436 | - "DEBUG=1", | ||
437 | - "$(inherited)", | ||
438 | - ); | ||
439 | - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
440 | - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
441 | - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
442 | - GCC_WARN_UNUSED_FUNCTION = YES; | ||
443 | - GCC_WARN_UNUSED_VARIABLE = YES; | ||
444 | - MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
445 | - MTL_ENABLE_DEBUG_INFO = YES; | ||
446 | - ONLY_ACTIVE_ARCH = YES; | ||
447 | - SDKROOT = macosx; | ||
448 | - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; | ||
449 | - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
450 | - }; | ||
451 | - name = Debug; | ||
452 | - }; | ||
453 | - 33CC10FA2044A3C60003C045 /* Release */ = { | ||
454 | - isa = XCBuildConfiguration; | ||
455 | - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; | ||
456 | - buildSettings = { | ||
457 | - ALWAYS_SEARCH_USER_PATHS = NO; | ||
458 | - CLANG_ANALYZER_NONNULL = YES; | ||
459 | - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; | ||
460 | - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; | ||
461 | - CLANG_CXX_LIBRARY = "libc++"; | ||
462 | - CLANG_ENABLE_MODULES = YES; | ||
463 | - CLANG_ENABLE_OBJC_ARC = YES; | ||
464 | - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
465 | - CLANG_WARN_BOOL_CONVERSION = YES; | ||
466 | - CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
467 | - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
468 | - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
469 | - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
470 | - CLANG_WARN_EMPTY_BODY = YES; | ||
471 | - CLANG_WARN_ENUM_CONVERSION = YES; | ||
472 | - CLANG_WARN_INFINITE_RECURSION = YES; | ||
473 | - CLANG_WARN_INT_CONVERSION = YES; | ||
474 | - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
475 | - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
476 | - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
477 | - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
478 | - CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
479 | - CODE_SIGN_IDENTITY = "-"; | ||
480 | - COPY_PHASE_STRIP = NO; | ||
481 | - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
482 | - ENABLE_NS_ASSERTIONS = NO; | ||
483 | - ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
484 | - GCC_C_LANGUAGE_STANDARD = gnu11; | ||
485 | - GCC_NO_COMMON_BLOCKS = YES; | ||
486 | - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
487 | - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
488 | - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
489 | - GCC_WARN_UNUSED_FUNCTION = YES; | ||
490 | - GCC_WARN_UNUSED_VARIABLE = YES; | ||
491 | - MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
492 | - MTL_ENABLE_DEBUG_INFO = NO; | ||
493 | - SDKROOT = macosx; | ||
494 | - SWIFT_COMPILATION_MODE = wholemodule; | ||
495 | - SWIFT_OPTIMIZATION_LEVEL = "-O"; | ||
496 | - }; | ||
497 | - name = Release; | ||
498 | - }; | ||
499 | - 33CC10FC2044A3C60003C045 /* Debug */ = { | ||
500 | - isa = XCBuildConfiguration; | ||
501 | - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
502 | - buildSettings = { | ||
503 | - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
504 | - CLANG_ENABLE_MODULES = YES; | ||
505 | - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; | ||
506 | - CODE_SIGN_IDENTITY = "-"; | ||
507 | - CODE_SIGN_STYLE = Automatic; | ||
508 | - COMBINE_HIDPI_IMAGES = YES; | ||
509 | - FRAMEWORK_SEARCH_PATHS = ( | ||
510 | - "$(inherited)", | ||
511 | - "$(PROJECT_DIR)/Flutter/ephemeral", | ||
512 | - ); | ||
513 | - INFOPLIST_FILE = Runner/Info.plist; | ||
514 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
515 | - "$(inherited)", | ||
516 | - "@executable_path/../Frameworks", | ||
517 | - ); | ||
518 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | ||
519 | - PROVISIONING_PROFILE_SPECIFIER = ""; | ||
520 | - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
521 | - SWIFT_VERSION = 5.0; | ||
522 | - }; | ||
523 | - name = Debug; | ||
524 | - }; | ||
525 | - 33CC10FD2044A3C60003C045 /* Release */ = { | ||
526 | - isa = XCBuildConfiguration; | ||
527 | - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; | ||
528 | - buildSettings = { | ||
529 | - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
530 | - CLANG_ENABLE_MODULES = YES; | ||
531 | - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; | ||
532 | - CODE_SIGN_IDENTITY = "-"; | ||
533 | - CODE_SIGN_STYLE = Automatic; | ||
534 | - COMBINE_HIDPI_IMAGES = YES; | ||
535 | - FRAMEWORK_SEARCH_PATHS = ( | ||
536 | - "$(inherited)", | ||
537 | - "$(PROJECT_DIR)/Flutter/ephemeral", | ||
538 | - ); | ||
539 | - INFOPLIST_FILE = Runner/Info.plist; | ||
540 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
541 | - "$(inherited)", | ||
542 | - "@executable_path/../Frameworks", | ||
543 | - ); | ||
544 | - PRODUCT_BUNDLE_IDENTIFIER = com.getx.GetXDemo; | ||
545 | - PROVISIONING_PROFILE_SPECIFIER = ""; | ||
546 | - SWIFT_VERSION = 5.0; | ||
547 | - }; | ||
548 | - name = Release; | ||
549 | - }; | ||
550 | - 33CC111C2044C6BA0003C045 /* Debug */ = { | ||
551 | - isa = XCBuildConfiguration; | ||
552 | - buildSettings = { | ||
553 | - CODE_SIGN_STYLE = Manual; | ||
554 | - PRODUCT_NAME = "$(TARGET_NAME)"; | ||
555 | - }; | ||
556 | - name = Debug; | ||
557 | - }; | ||
558 | - 33CC111D2044C6BA0003C045 /* Release */ = { | ||
559 | - isa = XCBuildConfiguration; | ||
560 | - buildSettings = { | ||
561 | - CODE_SIGN_STYLE = Automatic; | ||
562 | - PRODUCT_NAME = "$(TARGET_NAME)"; | ||
563 | - }; | ||
564 | - name = Release; | ||
565 | - }; | ||
566 | -/* End XCBuildConfiguration section */ | ||
567 | - | ||
568 | -/* Begin XCConfigurationList section */ | ||
569 | - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { | ||
570 | - isa = XCConfigurationList; | ||
571 | - buildConfigurations = ( | ||
572 | - 33CC10F92044A3C60003C045 /* Debug */, | ||
573 | - 33CC10FA2044A3C60003C045 /* Release */, | ||
574 | - 338D0CE9231458BD00FA5F75 /* Profile */, | ||
575 | - ); | ||
576 | - defaultConfigurationIsVisible = 0; | ||
577 | - defaultConfigurationName = Release; | ||
578 | - }; | ||
579 | - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { | ||
580 | - isa = XCConfigurationList; | ||
581 | - buildConfigurations = ( | ||
582 | - 33CC10FC2044A3C60003C045 /* Debug */, | ||
583 | - 33CC10FD2044A3C60003C045 /* Release */, | ||
584 | - 338D0CEA231458BD00FA5F75 /* Profile */, | ||
585 | - ); | ||
586 | - defaultConfigurationIsVisible = 0; | ||
587 | - defaultConfigurationName = Release; | ||
588 | - }; | ||
589 | - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { | ||
590 | - isa = XCConfigurationList; | ||
591 | - buildConfigurations = ( | ||
592 | - 33CC111C2044C6BA0003C045 /* Debug */, | ||
593 | - 33CC111D2044C6BA0003C045 /* Release */, | ||
594 | - 338D0CEB231458BD00FA5F75 /* Profile */, | ||
595 | - ); | ||
596 | - defaultConfigurationIsVisible = 0; | ||
597 | - defaultConfigurationName = Release; | ||
598 | - }; | ||
599 | -/* End XCConfigurationList section */ | ||
600 | - }; | ||
601 | - rootObject = 33CC10E52044A3C60003C045 /* Project object */; | ||
602 | -} |
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<Scheme | ||
3 | - LastUpgradeVersion = "1160" | ||
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 | - <Testables> | ||
40 | - <TestableReference | ||
41 | - skipped = "NO"> | ||
42 | - <BuildableReference | ||
43 | - BuildableIdentifier = "primary" | ||
44 | - BlueprintIdentifier = "00380F9121DF178D00097171" | ||
45 | - BuildableName = "RunnerUITests.xctest" | ||
46 | - BlueprintName = "RunnerUITests" | ||
47 | - ReferencedContainer = "container:Runner.xcodeproj"> | ||
48 | - </BuildableReference> | ||
49 | - </TestableReference> | ||
50 | - </Testables> | ||
51 | - </TestAction> | ||
52 | - <LaunchAction | ||
53 | - buildConfiguration = "Debug" | ||
54 | - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
55 | - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
56 | - launchStyle = "0" | ||
57 | - useCustomWorkingDirectory = "NO" | ||
58 | - ignoresPersistentStateOnLaunch = "NO" | ||
59 | - debugDocumentVersioning = "YES" | ||
60 | - debugServiceExtension = "internal" | ||
61 | - allowLocationSimulation = "YES"> | ||
62 | - <BuildableProductRunnable | ||
63 | - runnableDebuggingMode = "0"> | ||
64 | - <BuildableReference | ||
65 | - BuildableIdentifier = "primary" | ||
66 | - BlueprintIdentifier = "33CC10EC2044A3C60003C045" | ||
67 | - BuildableName = "example.app" | ||
68 | - BlueprintName = "Runner" | ||
69 | - ReferencedContainer = "container:Runner.xcodeproj"> | ||
70 | - </BuildableReference> | ||
71 | - </BuildableProductRunnable> | ||
72 | - </LaunchAction> | ||
73 | - <ProfileAction | ||
74 | - buildConfiguration = "Release" | ||
75 | - shouldUseLaunchSchemeArgsEnv = "YES" | ||
76 | - savedToolIdentifier = "" | ||
77 | - useCustomWorkingDirectory = "NO" | ||
78 | - debugDocumentVersioning = "YES"> | ||
79 | - <BuildableProductRunnable | ||
80 | - runnableDebuggingMode = "0"> | ||
81 | - <BuildableReference | ||
82 | - BuildableIdentifier = "primary" | ||
83 | - BlueprintIdentifier = "33CC10EC2044A3C60003C045" | ||
84 | - BuildableName = "example.app" | ||
85 | - BlueprintName = "Runner" | ||
86 | - ReferencedContainer = "container:Runner.xcodeproj"> | ||
87 | - </BuildableReference> | ||
88 | - </BuildableProductRunnable> | ||
89 | - </ProfileAction> | ||
90 | - <AnalyzeAction | ||
91 | - buildConfiguration = "Debug"> | ||
92 | - </AnalyzeAction> | ||
93 | - <ArchiveAction | ||
94 | - buildConfiguration = "Release" | ||
95 | - revealArchiveInOrganizer = "YES"> | ||
96 | - </ArchiveAction> | ||
97 | -</Scheme> |
example/macos/Runner.xcodeproj/xcuserdata/roi.xcuserdatad/xcschemes/xcschememanagement.plist
deleted
100644 → 0
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>SchemeUserState</key> | ||
6 | - <dict> | ||
7 | - <key>Flutter Assemble.xcscheme_^#shared#^_</key> | ||
8 | - <dict> | ||
9 | - <key>orderHint</key> | ||
10 | - <integer>1</integer> | ||
11 | - </dict> | ||
12 | - <key>Runner.xcscheme_^#shared#^_</key> | ||
13 | - <dict> | ||
14 | - <key>orderHint</key> | ||
15 | - <integer>0</integer> | ||
16 | - </dict> | ||
17 | - </dict> | ||
18 | -</dict> | ||
19 | -</plist> |
example/macos/Runner.xcworkspace/xcuserdata/roi.xcuserdatad/UserInterfaceState.xcuserstate
deleted
100644 → 0
No preview for this file type
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
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 © 2020 com.example. All rights reserved. |
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.client</key> | ||
10 | - <true/> | ||
11 | - <key>com.apple.security.network.server</key> | ||
12 | - <true/> | ||
13 | -</dict> | ||
14 | -</plist> |
example/macos/Runner/Info.plist
deleted
100644 → 0
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> |
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 | -} |
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.network.client</key> | ||
8 | - <true/> | ||
9 | - <key>com.apple.security.network.server</key> | ||
10 | - <true/> | ||
11 | -</dict> | ||
12 | -</plist> |
@@ -2,9 +2,9 @@ import 'dart:math'; | @@ -2,9 +2,9 @@ import 'dart:math'; | ||
2 | 2 | ||
3 | import 'package:flutter_test/flutter_test.dart'; | 3 | import 'package:flutter_test/flutter_test.dart'; |
4 | import 'package:get/get.dart'; | 4 | import 'package:get/get.dart'; |
5 | -import 'package:get_state/pages/home/domain/adapters/repository_adapter.dart'; | ||
6 | -import 'package:get_state/pages/home/domain/entity/cases_model.dart'; | ||
7 | -import 'package:get_state/pages/home/presentation/controllers/home_controller.dart'; | 5 | +import 'package:get_demo/pages/home/domain/adapters/repository_adapter.dart'; |
6 | +import 'package:get_demo/pages/home/domain/entity/cases_model.dart'; | ||
7 | +import 'package:get_demo/pages/home/presentation/controllers/home_controller.dart'; | ||
8 | import 'package:matcher/matcher.dart'; | 8 | import 'package:matcher/matcher.dart'; |
9 | 9 | ||
10 | class MockRepository implements IHomeRepository { | 10 | class MockRepository implements IHomeRepository { |
@@ -8,13 +8,13 @@ | @@ -8,13 +8,13 @@ | ||
8 | <!-- iOS meta tags & icons --> | 8 | <!-- iOS meta tags & icons --> |
9 | <meta name="apple-mobile-web-app-capable" content="yes"> | 9 | <meta name="apple-mobile-web-app-capable" content="yes"> |
10 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 10 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
11 | - <meta name="apple-mobile-web-app-title" content="get_state"> | 11 | + <meta name="apple-mobile-web-app-title" content="example"> |
12 | <link rel="apple-touch-icon" href="icons/Icon-192.png"> | 12 | <link rel="apple-touch-icon" href="icons/Icon-192.png"> |
13 | 13 | ||
14 | <!-- Favicon --> | 14 | <!-- Favicon --> |
15 | - <link rel="shortcut icon" type="image/png" href="favicon.png"/> | 15 | + <link rel="icon" type="image/png" href="favicon.png"/> |
16 | 16 | ||
17 | - <title>get_state</title> | 17 | + <title>example</title> |
18 | <link rel="manifest" href="manifest.json"> | 18 | <link rel="manifest" href="manifest.json"> |
19 | </head> | 19 | </head> |
20 | <body> | 20 | <body> |
1 | { | 1 | { |
2 | - "name": "get_state", | ||
3 | - "short_name": "get_state", | 2 | + "name": "example", |
3 | + "short_name": "example", | ||
4 | "start_url": ".", | 4 | "start_url": ".", |
5 | - "display": "minimal-ui", | 5 | + "display": "standalone", |
6 | "background_color": "#0175C2", | 6 | "background_color": "#0175C2", |
7 | "theme_color": "#0175C2", | 7 | "theme_color": "#0175C2", |
8 | "description": "A new Flutter project.", | 8 | "description": "A new Flutter project.", |
@@ -885,7 +885,7 @@ extension GetNavigation on GetInterface { | @@ -885,7 +885,7 @@ extension GetNavigation on GetInterface { | ||
885 | } | 885 | } |
886 | 886 | ||
887 | if (defaultDurationTransition != null) { | 887 | if (defaultDurationTransition != null) { |
888 | - this.defaultTransitionDuration = defaultDurationTransition; | 888 | + defaultTransitionDuration = defaultDurationTransition; |
889 | } | 889 | } |
890 | 890 | ||
891 | if (defaultGlobalState != null) { | 891 | if (defaultGlobalState != null) { |
1 | import 'package:flutter/material.dart'; | 1 | import 'package:flutter/material.dart'; |
2 | - | ||
3 | import '../../state_manager/simple/get_state.dart'; | 2 | import '../../state_manager/simple/get_state.dart'; |
4 | 3 | ||
5 | class GetMaterialController extends GetxController { | 4 | class GetMaterialController extends GetxController { |
@@ -155,8 +155,8 @@ class GetPageRoute<T> extends PageRoute<T> { | @@ -155,8 +155,8 @@ class GetPageRoute<T> extends PageRoute<T> { | ||
155 | child: child, | 155 | child: child, |
156 | linearTransition: hasCurve); | 156 | linearTransition: hasCurve); |
157 | } | 157 | } |
158 | - if (this.customTransition != null) { | ||
159 | - return this.customTransition.buildTransition( | 158 | + if (customTransition != null) { |
159 | + return customTransition.buildTransition( | ||
160 | context, | 160 | context, |
161 | finalCurve, | 161 | finalCurve, |
162 | alignment, | 162 | alignment, |
@@ -11,13 +11,15 @@ bool _conditional(dynamic condition) { | @@ -11,13 +11,15 @@ bool _conditional(dynamic condition) { | ||
11 | } | 11 | } |
12 | 12 | ||
13 | /// | 13 | /// |
14 | -/// Called every time [listener] changes. As long as the [condition] returns true. | 14 | +/// Called every time [listener] changes. As long as the [condition] |
15 | +/// returns true. | ||
15 | /// | 16 | /// |
16 | /// Sample: | 17 | /// Sample: |
17 | /// Every time increment() is called, ever() will process the [condition] | 18 | /// Every time increment() is called, ever() will process the [condition] |
18 | -/// (can be a [bool] expression or a [bool Function()]), and only call the callback | ||
19 | -/// when [condition] is true. | ||
20 | -/// In our case, only when count is bigger to 5. In order to "dispose" this Worker | 19 | +/// (can be a [bool] expression or a [bool Function()]), and only call |
20 | +/// the callback when [condition] is true. | ||
21 | +/// In our case, only when count is bigger to 5. In order to "dispose" | ||
22 | +/// this Worker | ||
21 | /// that will run forever, we made a [worker] variable. So, when the count value | 23 | /// that will run forever, we made a [worker] variable. So, when the count value |
22 | /// reaches 10, the worker gets disposed, and releases any memory resources. | 24 | /// reaches 10, the worker gets disposed, and releases any memory resources. |
23 | /// | 25 | /// |
@@ -46,28 +48,30 @@ Worker ever<T>(RxInterface<T> listener, Function(T) callback, | @@ -46,28 +48,30 @@ Worker ever<T>(RxInterface<T> listener, Function(T) callback, | ||
46 | return Worker(sub.cancel, '[ever]'); | 48 | return Worker(sub.cancel, '[ever]'); |
47 | } | 49 | } |
48 | 50 | ||
49 | -/// Similar to [ever], but takes a list of [listeners], the condition for the [callback] | ||
50 | -/// is common to all [listeners], and the [callback] is executed to each one of them. | ||
51 | -/// The [Worker] is common to all, so [worker.dispose()] will cancel all streams. | 51 | +/// Similar to [ever], but takes a list of [listeners], the condition |
52 | +/// for the [callback] is common to all [listeners], | ||
53 | +/// and the [callback] is executed to each one of them. The [Worker] is | ||
54 | +/// common to all, so [worker.dispose()] will cancel all streams. | ||
52 | Worker everAll(List<RxInterface> listeners, Function(dynamic) callback, | 55 | Worker everAll(List<RxInterface> listeners, Function(dynamic) callback, |
53 | {dynamic condition = true}) { | 56 | {dynamic condition = true}) { |
54 | - List<StreamSubscription> evers = <StreamSubscription>[]; | 57 | + final evers = <StreamSubscription>[]; |
55 | for (var i in listeners) { | 58 | for (var i in listeners) { |
56 | - StreamSubscription sub = i.subject.stream.listen((event) { | 59 | + final sub = i.subject.stream.listen((event) { |
57 | if (_conditional(condition)) callback(event); | 60 | if (_conditional(condition)) callback(event); |
58 | }); | 61 | }); |
59 | evers.add(sub); | 62 | evers.add(sub); |
60 | } | 63 | } |
61 | 64 | ||
62 | Future<void> cancel() { | 65 | Future<void> cancel() { |
63 | - for (var i in evers) i.cancel(); | 66 | + for (var i in evers) { |
67 | + i.cancel(); | ||
68 | + } | ||
64 | return Future.value(() {}); | 69 | return Future.value(() {}); |
65 | } | 70 | } |
66 | 71 | ||
67 | return Worker(cancel, '[everAll]'); | 72 | return Worker(cancel, '[everAll]'); |
68 | } | 73 | } |
69 | 74 | ||
70 | - | ||
71 | /// [once()] will execute only 1 time when [condition] is met and cancel | 75 | /// [once()] will execute only 1 time when [condition] is met and cancel |
72 | /// the subscription to the [listener] stream right after that. | 76 | /// the subscription to the [listener] stream right after that. |
73 | /// [condition] defines when [callback] is called, and | 77 | /// [condition] defines when [callback] is called, and |
@@ -107,7 +111,8 @@ Worker once<T>(RxInterface<T> listener, Function(T) callback, | @@ -107,7 +111,8 @@ Worker once<T>(RxInterface<T> listener, Function(T) callback, | ||
107 | /// Ignore all changes in [listener] during [time] (1 sec by default) or until | 111 | /// Ignore all changes in [listener] during [time] (1 sec by default) or until |
108 | /// [condition] is met (can be a [bool] expression or a [bool Function()]), | 112 | /// [condition] is met (can be a [bool] expression or a [bool Function()]), |
109 | /// It brings the 1st "value" since the period of time, so | 113 | /// It brings the 1st "value" since the period of time, so |
110 | -/// if you click a counter button 3 times in 1 sec, it will show you "1" (after 1 sec of the first press) | 114 | +/// if you click a counter button 3 times in 1 sec, it will show you "1" |
115 | +/// (after 1 sec of the first press) | ||
111 | /// click counter 3 times in 1 sec, it will show you "4" (after 1 sec) | 116 | /// click counter 3 times in 1 sec, it will show you "4" (after 1 sec) |
112 | /// click counter 2 times in 1 sec, it will show you "7" (after 1 sec). | 117 | /// click counter 2 times in 1 sec, it will show you "7" (after 1 sec). |
113 | /// | 118 | /// |
@@ -122,7 +127,7 @@ Worker once<T>(RxInterface<T> listener, Function(T) callback, | @@ -122,7 +127,7 @@ Worker once<T>(RxInterface<T> listener, Function(T) callback, | ||
122 | /// ``` | 127 | /// ``` |
123 | Worker interval<T>(RxInterface<T> listener, Function(T) callback, | 128 | Worker interval<T>(RxInterface<T> listener, Function(T) callback, |
124 | {Duration time = const Duration(seconds: 1), dynamic condition = true}) { | 129 | {Duration time = const Duration(seconds: 1), dynamic condition = true}) { |
125 | - bool debounceActive = false; | 130 | + var debounceActive = false; |
126 | time ??= const Duration(seconds: 1); | 131 | time ??= const Duration(seconds: 1); |
127 | StreamSubscription sub = listener.subject.stream.listen((event) async { | 132 | StreamSubscription sub = listener.subject.stream.listen((event) async { |
128 | if (debounceActive || !_conditional(condition)) return; | 133 | if (debounceActive || !_conditional(condition)) return; |
@@ -135,9 +140,10 @@ Worker interval<T>(RxInterface<T> listener, Function(T) callback, | @@ -135,9 +140,10 @@ Worker interval<T>(RxInterface<T> listener, Function(T) callback, | ||
135 | } | 140 | } |
136 | 141 | ||
137 | /// [debounce] is similar to [interval], but sends the last value. | 142 | /// [debounce] is similar to [interval], but sends the last value. |
138 | -/// Useful for Anti DDos, every time the user stops typing for 1 second, for instance. | ||
139 | -/// When [listener] emits the last "value", when [time] hits, it calls [callback] | ||
140 | -/// with the last "value" emitted. | 143 | +/// Useful for Anti DDos, every time the user stops typing for 1 second, |
144 | +/// for instance. | ||
145 | +/// When [listener] emits the last "value", when [time] hits, | ||
146 | +/// it calls [callback] with the last "value" emitted. | ||
141 | /// | 147 | /// |
142 | /// Sample: | 148 | /// Sample: |
143 | /// | 149 | /// |
@@ -174,9 +180,9 @@ class Worker { | @@ -174,9 +180,9 @@ class Worker { | ||
174 | final String type; | 180 | final String type; |
175 | bool _disposed = false; | 181 | bool _disposed = false; |
176 | 182 | ||
177 | - bool _verbose = true; | 183 | + //final bool _verbose = true; |
178 | void _log(String msg) { | 184 | void _log(String msg) { |
179 | - if (!_verbose) return; | 185 | + // if (!_verbose) return; |
180 | GetConfig.log('$runtimeType $type $msg'); | 186 | GetConfig.log('$runtimeType $type $msg'); |
181 | } | 187 | } |
182 | 188 |
@@ -22,12 +22,12 @@ typedef GetStateUpdate = bool Function(); | @@ -22,12 +22,12 @@ typedef GetStateUpdate = bool Function(); | ||
22 | /// by [GetBuilder()], [SimpleBuilder()] (or similar) to comply | 22 | /// by [GetBuilder()], [SimpleBuilder()] (or similar) to comply |
23 | /// with [GetStateUpdate] signature. REPLACING the [StateSetter]. | 23 | /// with [GetStateUpdate] signature. REPLACING the [StateSetter]. |
24 | /// Avoids the potential (but extremely unlikely) issue of having | 24 | /// Avoids the potential (but extremely unlikely) issue of having |
25 | -/// the Widget in a dispose() state, and abstracts the API from the ugly fn((){}). | ||
26 | -/// TODO: check performance HIT for the extra method call. | ||
27 | -/// | 25 | +/// the Widget in a dispose() state, and abstracts the |
26 | +/// API from the ugly fn((){}). | ||
27 | +// TODO: check performance HIT for the extra method call. | ||
28 | mixin GetStateUpdaterMixin<T extends StatefulWidget> on State<T> { | 28 | mixin GetStateUpdaterMixin<T extends StatefulWidget> on State<T> { |
29 | // To avoid the creation of an anonym function to be GC later. | 29 | // To avoid the creation of an anonym function to be GC later. |
30 | - static VoidCallback _stateCallback = () {}; | 30 | + static final VoidCallback _stateCallback = () {}; |
31 | 31 | ||
32 | /// Experimental method to replace setState((){}); | 32 | /// Experimental method to replace setState((){}); |
33 | /// Used with GetStateUpdate. | 33 | /// Used with GetStateUpdate. |
1 | import 'dart:async'; | 1 | import 'dart:async'; |
2 | import 'dart:collection'; | 2 | import 'dart:collection'; |
3 | - | ||
4 | import 'package:flutter/widgets.dart'; | 3 | import 'package:flutter/widgets.dart'; |
5 | - | ||
6 | import 'get_state.dart'; | 4 | import 'get_state.dart'; |
7 | 5 | ||
8 | typedef ValueBuilderUpdateCallback<T> = void Function(T snapshot); | 6 | typedef ValueBuilderUpdateCallback<T> = void Function(T snapshot); |
@@ -102,12 +100,11 @@ class _SimpleBuilderState extends State<SimpleBuilder> | @@ -102,12 +100,11 @@ class _SimpleBuilderState extends State<SimpleBuilder> | ||
102 | 100 | ||
103 | @override | 101 | @override |
104 | Widget build(BuildContext context) { | 102 | Widget build(BuildContext context) { |
105 | - | ||
106 | return TaskManager.instance.exchange( | 103 | return TaskManager.instance.exchange( |
107 | - disposers, | ||
108 | - getUpdate, | ||
109 | - widget.builder, | ||
110 | - context, | 104 | + disposers, |
105 | + getUpdate, | ||
106 | + widget.builder, | ||
107 | + context, | ||
111 | ); | 108 | ); |
112 | } | 109 | } |
113 | } | 110 | } |
@@ -122,12 +119,10 @@ class TaskManager { | @@ -122,12 +119,10 @@ class TaskManager { | ||
122 | // StateSetter _setter;//<old> | 119 | // StateSetter _setter;//<old> |
123 | GetStateUpdate _setter; | 120 | GetStateUpdate _setter; |
124 | 121 | ||
125 | - | ||
126 | HashSet<VoidCallback> _remove; | 122 | HashSet<VoidCallback> _remove; |
127 | 123 | ||
128 | // void notify(HashSet<StateSetter> _updaters) { //<old> | 124 | // void notify(HashSet<StateSetter> _updaters) { //<old> |
129 | void notify(HashSet<GetStateUpdate> _updaters) { | 125 | void notify(HashSet<GetStateUpdate> _updaters) { |
130 | - | ||
131 | if (_setter != null) { | 126 | if (_setter != null) { |
132 | if (!_updaters.contains(_setter)) { | 127 | if (!_updaters.contains(_setter)) { |
133 | _updaters.add(_setter); | 128 | _updaters.add(_setter); |
-
Please register or login to post a comment