Jonatas

Refactor all Structure and split on packages

Showing 263 changed files with 1815 additions and 2012 deletions
1 -#Mon Sep 14 00:47:46 IST 2020  
2 -gradle.version=5.6.2  
1 -package io.flutter.plugins;  
2 -  
3 -import androidx.annotation.Keep;  
4 -import androidx.annotation.NonNull;  
5 -  
6 -import io.flutter.embedding.engine.FlutterEngine;  
7 -  
8 -/**  
9 - * Generated file. Do not edit.  
10 - * This file is generated by the Flutter tool based on the  
11 - * plugins that support the Android platform.  
12 - */  
13 -@Keep  
14 -public final class GeneratedPluginRegistrant {  
15 - public static void registerWith(@NonNull FlutterEngine flutterEngine) {  
16 - }  
17 -}  
1 -#!/usr/bin/env bash  
2 -  
3 -##############################################################################  
4 -##  
5 -## Gradle start up script for UN*X  
6 -##  
7 -##############################################################################  
8 -  
9 -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.  
10 -DEFAULT_JVM_OPTS=""  
11 -  
12 -APP_NAME="Gradle"  
13 -APP_BASE_NAME=`basename "$0"`  
14 -  
15 -# Use the maximum available, or set MAX_FD != -1 to use that value.  
16 -MAX_FD="maximum"  
17 -  
18 -warn ( ) {  
19 - echo "$*"  
20 -}  
21 -  
22 -die ( ) {  
23 - echo  
24 - echo "$*"  
25 - echo  
26 - exit 1  
27 -}  
28 -  
29 -# OS specific support (must be 'true' or 'false').  
30 -cygwin=false  
31 -msys=false  
32 -darwin=false  
33 -case "`uname`" in  
34 - CYGWIN* )  
35 - cygwin=true  
36 - ;;  
37 - Darwin* )  
38 - darwin=true  
39 - ;;  
40 - MINGW* )  
41 - msys=true  
42 - ;;  
43 -esac  
44 -  
45 -# Attempt to set APP_HOME  
46 -# Resolve links: $0 may be a link  
47 -PRG="$0"  
48 -# Need this for relative symlinks.  
49 -while [ -h "$PRG" ] ; do  
50 - ls=`ls -ld "$PRG"`  
51 - link=`expr "$ls" : '.*-> \(.*\)$'`  
52 - if expr "$link" : '/.*' > /dev/null; then  
53 - PRG="$link"  
54 - else  
55 - PRG=`dirname "$PRG"`"/$link"  
56 - fi  
57 -done  
58 -SAVED="`pwd`"  
59 -cd "`dirname \"$PRG\"`/" >/dev/null  
60 -APP_HOME="`pwd -P`"  
61 -cd "$SAVED" >/dev/null  
62 -  
63 -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar  
64 -  
65 -# Determine the Java command to use to start the JVM.  
66 -if [ -n "$JAVA_HOME" ] ; then  
67 - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then  
68 - # IBM's JDK on AIX uses strange locations for the executables  
69 - JAVACMD="$JAVA_HOME/jre/sh/java"  
70 - else  
71 - JAVACMD="$JAVA_HOME/bin/java"  
72 - fi  
73 - if [ ! -x "$JAVACMD" ] ; then  
74 - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME  
75 -  
76 -Please set the JAVA_HOME variable in your environment to match the  
77 -location of your Java installation."  
78 - fi  
79 -else  
80 - JAVACMD="java"  
81 - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.  
82 -  
83 -Please set the JAVA_HOME variable in your environment to match the  
84 -location of your Java installation."  
85 -fi  
86 -  
87 -# Increase the maximum file descriptors if we can.  
88 -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then  
89 - MAX_FD_LIMIT=`ulimit -H -n`  
90 - if [ $? -eq 0 ] ; then  
91 - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then  
92 - MAX_FD="$MAX_FD_LIMIT"  
93 - fi  
94 - ulimit -n $MAX_FD  
95 - if [ $? -ne 0 ] ; then  
96 - warn "Could not set maximum file descriptor limit: $MAX_FD"  
97 - fi  
98 - else  
99 - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"  
100 - fi  
101 -fi  
102 -  
103 -# For Darwin, add options to specify how the application appears in the dock  
104 -if $darwin; then  
105 - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""  
106 -fi  
107 -  
108 -# For Cygwin, switch paths to Windows format before running java  
109 -if $cygwin ; then  
110 - APP_HOME=`cygpath --path --mixed "$APP_HOME"`  
111 - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`  
112 - JAVACMD=`cygpath --unix "$JAVACMD"`  
113 -  
114 - # We build the pattern for arguments to be converted via cygpath  
115 - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`  
116 - SEP=""  
117 - for dir in $ROOTDIRSRAW ; do  
118 - ROOTDIRS="$ROOTDIRS$SEP$dir"  
119 - SEP="|"  
120 - done  
121 - OURCYGPATTERN="(^($ROOTDIRS))"  
122 - # Add a user-defined pattern to the cygpath arguments  
123 - if [ "$GRADLE_CYGPATTERN" != "" ] ; then  
124 - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"  
125 - fi  
126 - # Now convert the arguments - kludge to limit ourselves to /bin/sh  
127 - i=0  
128 - for arg in "$@" ; do  
129 - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`  
130 - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option  
131 -  
132 - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition  
133 - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`  
134 - else  
135 - eval `echo args$i`="\"$arg\""  
136 - fi  
137 - i=$((i+1))  
138 - done  
139 - case $i in  
140 - (0) set -- ;;  
141 - (1) set -- "$args0" ;;  
142 - (2) set -- "$args0" "$args1" ;;  
143 - (3) set -- "$args0" "$args1" "$args2" ;;  
144 - (4) set -- "$args0" "$args1" "$args2" "$args3" ;;  
145 - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;  
146 - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;  
147 - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;  
148 - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;  
149 - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;  
150 - esac  
151 -fi  
152 -  
153 -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules  
154 -function splitJvmOpts() {  
155 - JVM_OPTS=("$@")  
156 -}  
157 -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS  
158 -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"  
159 -  
160 -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"  
1 -@if "%DEBUG%" == "" @echo off  
2 -@rem ##########################################################################  
3 -@rem  
4 -@rem Gradle startup script for Windows  
5 -@rem  
6 -@rem ##########################################################################  
7 -  
8 -@rem Set local scope for the variables with windows NT shell  
9 -if "%OS%"=="Windows_NT" setlocal  
10 -  
11 -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.  
12 -set DEFAULT_JVM_OPTS=  
13 -  
14 -set DIRNAME=%~dp0  
15 -if "%DIRNAME%" == "" set DIRNAME=.  
16 -set APP_BASE_NAME=%~n0  
17 -set APP_HOME=%DIRNAME%  
18 -  
19 -@rem Find java.exe  
20 -if defined JAVA_HOME goto findJavaFromJavaHome  
21 -  
22 -set JAVA_EXE=java.exe  
23 -%JAVA_EXE% -version >NUL 2>&1  
24 -if "%ERRORLEVEL%" == "0" goto init  
25 -  
26 -echo.  
27 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.  
28 -echo.  
29 -echo Please set the JAVA_HOME variable in your environment to match the  
30 -echo location of your Java installation.  
31 -  
32 -goto fail  
33 -  
34 -:findJavaFromJavaHome  
35 -set JAVA_HOME=%JAVA_HOME:"=%  
36 -set JAVA_EXE=%JAVA_HOME%/bin/java.exe  
37 -  
38 -if exist "%JAVA_EXE%" goto init  
39 -  
40 -echo.  
41 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%  
42 -echo.  
43 -echo Please set the JAVA_HOME variable in your environment to match the  
44 -echo location of your Java installation.  
45 -  
46 -goto fail  
47 -  
48 -:init  
49 -@rem Get command-line arguments, handling Windowz variants  
50 -  
51 -if not "%OS%" == "Windows_NT" goto win9xME_args  
52 -if "%@eval[2+2]" == "4" goto 4NT_args  
53 -  
54 -:win9xME_args  
55 -@rem Slurp the command line arguments.  
56 -set CMD_LINE_ARGS=  
57 -set _SKIP=2  
58 -  
59 -:win9xME_args_slurp  
60 -if "x%~1" == "x" goto execute  
61 -  
62 -set CMD_LINE_ARGS=%*  
63 -goto execute  
64 -  
65 -:4NT_args  
66 -@rem Get arguments from the 4NT Shell from JP Software  
67 -set CMD_LINE_ARGS=%$  
68 -  
69 -:execute  
70 -@rem Setup the command line  
71 -  
72 -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar  
73 -  
74 -@rem Execute Gradle  
75 -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%  
76 -  
77 -:end  
78 -@rem End local scope for the variables with windows NT shell  
79 -if "%ERRORLEVEL%"=="0" goto mainEnd  
80 -  
81 -:fail  
82 -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of  
83 -rem the _cmd.exe /c_ return code!  
84 -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1  
85 -exit /b 1  
86 -  
87 -:mainEnd  
88 -if "%OS%"=="Windows_NT" endlocal  
89 -  
90 -:omega  
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>App</string>  
9 - <key>CFBundleIdentifier</key>  
10 - <string>io.flutter.flutter.app</string>  
11 - <key>CFBundleInfoDictionaryVersion</key>  
12 - <string>6.0</string>  
13 - <key>CFBundleName</key>  
14 - <string>App</string>  
15 - <key>CFBundlePackageType</key>  
16 - <string>FMWK</string>  
17 - <key>CFBundleShortVersionString</key>  
18 - <string>1.0</string>  
19 - <key>CFBundleSignature</key>  
20 - <string>????</string>  
21 - <key>CFBundleVersion</key>  
22 - <string>1.0</string>  
23 - <key>MinimumOSVersion</key>  
24 - <string>9.0</string>  
25 -</dict>  
26 -</plist>  
1 -#include "Generated.xcconfig"  
1 -#include "Generated.xcconfig"  
1 -// !$*UTF8*$!  
2 -{  
3 - archiveVersion = 1;  
4 - classes = {  
5 - };  
6 - objectVersion = 46;  
7 - objects = {  
8 -  
9 -/* Begin PBXBuildFile section */  
10 - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };  
11 - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };  
12 - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };  
13 - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };  
14 - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };  
15 - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };  
16 -/* End PBXBuildFile section */  
17 -  
18 -/* Begin PBXCopyFilesBuildPhase section */  
19 - 9705A1C41CF9048500538489 /* Embed Frameworks */ = {  
20 - isa = PBXCopyFilesBuildPhase;  
21 - buildActionMask = 2147483647;  
22 - dstPath = "";  
23 - dstSubfolderSpec = 10;  
24 - files = (  
25 - );  
26 - name = "Embed Frameworks";  
27 - runOnlyForDeploymentPostprocessing = 0;  
28 - };  
29 -/* End PBXCopyFilesBuildPhase section */  
30 -  
31 -/* Begin PBXFileReference section */  
32 - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };  
33 - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };  
34 - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };  
35 - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };  
36 - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };  
37 - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };  
38 - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };  
39 - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };  
40 - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };  
41 - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };  
42 - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };  
43 - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };  
44 - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };  
45 -/* End PBXFileReference section */  
46 -  
47 -/* Begin PBXFrameworksBuildPhase section */  
48 - 97C146EB1CF9000F007C117D /* Frameworks */ = {  
49 - isa = PBXFrameworksBuildPhase;  
50 - buildActionMask = 2147483647;  
51 - files = (  
52 - );  
53 - runOnlyForDeploymentPostprocessing = 0;  
54 - };  
55 -/* End PBXFrameworksBuildPhase section */  
56 -  
57 -/* Begin PBXGroup section */  
58 - 9740EEB11CF90186004384FC /* Flutter */ = {  
59 - isa = PBXGroup;  
60 - children = (  
61 - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,  
62 - 9740EEB21CF90195004384FC /* Debug.xcconfig */,  
63 - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,  
64 - 9740EEB31CF90195004384FC /* Generated.xcconfig */,  
65 - );  
66 - name = Flutter;  
67 - sourceTree = "<group>";  
68 - };  
69 - 97C146E51CF9000F007C117D = {  
70 - isa = PBXGroup;  
71 - children = (  
72 - 9740EEB11CF90186004384FC /* Flutter */,  
73 - 97C146F01CF9000F007C117D /* Runner */,  
74 - 97C146EF1CF9000F007C117D /* Products */,  
75 - );  
76 - sourceTree = "<group>";  
77 - };  
78 - 97C146EF1CF9000F007C117D /* Products */ = {  
79 - isa = PBXGroup;  
80 - children = (  
81 - 97C146EE1CF9000F007C117D /* Runner.app */,  
82 - );  
83 - name = Products;  
84 - sourceTree = "<group>";  
85 - };  
86 - 97C146F01CF9000F007C117D /* Runner */ = {  
87 - isa = PBXGroup;  
88 - children = (  
89 - 97C146FA1CF9000F007C117D /* Main.storyboard */,  
90 - 97C146FD1CF9000F007C117D /* Assets.xcassets */,  
91 - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,  
92 - 97C147021CF9000F007C117D /* Info.plist */,  
93 - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,  
94 - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,  
95 - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,  
96 - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,  
97 - );  
98 - path = Runner;  
99 - sourceTree = "<group>";  
100 - };  
101 -/* End PBXGroup section */  
102 -  
103 -/* Begin PBXNativeTarget section */  
104 - 97C146ED1CF9000F007C117D /* Runner */ = {  
105 - isa = PBXNativeTarget;  
106 - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;  
107 - buildPhases = (  
108 - 9740EEB61CF901F6004384FC /* Run Script */,  
109 - 97C146EA1CF9000F007C117D /* Sources */,  
110 - 97C146EB1CF9000F007C117D /* Frameworks */,  
111 - 97C146EC1CF9000F007C117D /* Resources */,  
112 - 9705A1C41CF9048500538489 /* Embed Frameworks */,  
113 - 3B06AD1E1E4923F5004D2608 /* Thin Binary */,  
114 - );  
115 - buildRules = (  
116 - );  
117 - dependencies = (  
118 - );  
119 - name = Runner;  
120 - productName = Runner;  
121 - productReference = 97C146EE1CF9000F007C117D /* Runner.app */;  
122 - productType = "com.apple.product-type.application";  
123 - };  
124 -/* End PBXNativeTarget section */  
125 -  
126 -/* Begin PBXProject section */  
127 - 97C146E61CF9000F007C117D /* Project object */ = {  
128 - isa = PBXProject;  
129 - attributes = {  
130 - LastUpgradeCheck = 1020;  
131 - ORGANIZATIONNAME = "";  
132 - TargetAttributes = {  
133 - 97C146ED1CF9000F007C117D = {  
134 - CreatedOnToolsVersion = 7.3.1;  
135 - LastSwiftMigration = 1100;  
136 - };  
137 - };  
138 - };  
139 - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;  
140 - compatibilityVersion = "Xcode 9.3";  
141 - developmentRegion = en;  
142 - hasScannedForEncodings = 0;  
143 - knownRegions = (  
144 - en,  
145 - Base,  
146 - );  
147 - mainGroup = 97C146E51CF9000F007C117D;  
148 - productRefGroup = 97C146EF1CF9000F007C117D /* Products */;  
149 - projectDirPath = "";  
150 - projectRoot = "";  
151 - targets = (  
152 - 97C146ED1CF9000F007C117D /* Runner */,  
153 - );  
154 - };  
155 -/* End PBXProject section */  
156 -  
157 -/* Begin PBXResourcesBuildPhase section */  
158 - 97C146EC1CF9000F007C117D /* Resources */ = {  
159 - isa = PBXResourcesBuildPhase;  
160 - buildActionMask = 2147483647;  
161 - files = (  
162 - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,  
163 - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,  
164 - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,  
165 - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,  
166 - );  
167 - runOnlyForDeploymentPostprocessing = 0;  
168 - };  
169 -/* End PBXResourcesBuildPhase section */  
170 -  
171 -/* Begin PBXShellScriptBuildPhase section */  
172 - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {  
173 - isa = PBXShellScriptBuildPhase;  
174 - buildActionMask = 2147483647;  
175 - files = (  
176 - );  
177 - inputPaths = (  
178 - );  
179 - name = "Thin Binary";  
180 - outputPaths = (  
181 - );  
182 - runOnlyForDeploymentPostprocessing = 0;  
183 - shellPath = /bin/sh;  
184 - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";  
185 - };  
186 - 9740EEB61CF901F6004384FC /* Run Script */ = {  
187 - isa = PBXShellScriptBuildPhase;  
188 - buildActionMask = 2147483647;  
189 - files = (  
190 - );  
191 - inputPaths = (  
192 - );  
193 - name = "Run Script";  
194 - outputPaths = (  
195 - );  
196 - runOnlyForDeploymentPostprocessing = 0;  
197 - shellPath = /bin/sh;  
198 - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";  
199 - };  
200 -/* End PBXShellScriptBuildPhase section */  
201 -  
202 -/* Begin PBXSourcesBuildPhase section */  
203 - 97C146EA1CF9000F007C117D /* Sources */ = {  
204 - isa = PBXSourcesBuildPhase;  
205 - buildActionMask = 2147483647;  
206 - files = (  
207 - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,  
208 - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,  
209 - );  
210 - runOnlyForDeploymentPostprocessing = 0;  
211 - };  
212 -/* End PBXSourcesBuildPhase section */  
213 -  
214 -/* Begin PBXVariantGroup section */  
215 - 97C146FA1CF9000F007C117D /* Main.storyboard */ = {  
216 - isa = PBXVariantGroup;  
217 - children = (  
218 - 97C146FB1CF9000F007C117D /* Base */,  
219 - );  
220 - name = Main.storyboard;  
221 - sourceTree = "<group>";  
222 - };  
223 - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {  
224 - isa = PBXVariantGroup;  
225 - children = (  
226 - 97C147001CF9000F007C117D /* Base */,  
227 - );  
228 - name = LaunchScreen.storyboard;  
229 - sourceTree = "<group>";  
230 - };  
231 -/* End PBXVariantGroup section */  
232 -  
233 -/* Begin XCBuildConfiguration section */  
234 - 249021D3217E4FDB00AE95B9 /* Profile */ = {  
235 - isa = XCBuildConfiguration;  
236 - buildSettings = {  
237 - ALWAYS_SEARCH_USER_PATHS = NO;  
238 - CLANG_ANALYZER_NONNULL = YES;  
239 - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";  
240 - CLANG_CXX_LIBRARY = "libc++";  
241 - CLANG_ENABLE_MODULES = YES;  
242 - CLANG_ENABLE_OBJC_ARC = YES;  
243 - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;  
244 - CLANG_WARN_BOOL_CONVERSION = YES;  
245 - CLANG_WARN_COMMA = YES;  
246 - CLANG_WARN_CONSTANT_CONVERSION = YES;  
247 - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;  
248 - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;  
249 - CLANG_WARN_EMPTY_BODY = YES;  
250 - CLANG_WARN_ENUM_CONVERSION = YES;  
251 - CLANG_WARN_INFINITE_RECURSION = YES;  
252 - CLANG_WARN_INT_CONVERSION = YES;  
253 - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;  
254 - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;  
255 - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;  
256 - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;  
257 - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;  
258 - CLANG_WARN_STRICT_PROTOTYPES = YES;  
259 - CLANG_WARN_SUSPICIOUS_MOVE = YES;  
260 - CLANG_WARN_UNREACHABLE_CODE = YES;  
261 - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;  
262 - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";  
263 - COPY_PHASE_STRIP = NO;  
264 - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";  
265 - ENABLE_NS_ASSERTIONS = NO;  
266 - ENABLE_STRICT_OBJC_MSGSEND = YES;  
267 - GCC_C_LANGUAGE_STANDARD = gnu99;  
268 - GCC_NO_COMMON_BLOCKS = YES;  
269 - GCC_WARN_64_TO_32_BIT_CONVERSION = YES;  
270 - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;  
271 - GCC_WARN_UNDECLARED_SELECTOR = YES;  
272 - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;  
273 - GCC_WARN_UNUSED_FUNCTION = YES;  
274 - GCC_WARN_UNUSED_VARIABLE = YES;  
275 - IPHONEOS_DEPLOYMENT_TARGET = 9.0;  
276 - MTL_ENABLE_DEBUG_INFO = NO;  
277 - SDKROOT = iphoneos;  
278 - SUPPORTED_PLATFORMS = iphoneos;  
279 - TARGETED_DEVICE_FAMILY = "1,2";  
280 - VALIDATE_PRODUCT = YES;  
281 - };  
282 - name = Profile;  
283 - };  
284 - 249021D4217E4FDB00AE95B9 /* Profile */ = {  
285 - isa = XCBuildConfiguration;  
286 - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;  
287 - buildSettings = {  
288 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;  
289 - CLANG_ENABLE_MODULES = YES;  
290 - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";  
291 - ENABLE_BITCODE = NO;  
292 - FRAMEWORK_SEARCH_PATHS = (  
293 - "$(inherited)",  
294 - "$(PROJECT_DIR)/Flutter",  
295 - );  
296 - INFOPLIST_FILE = Runner/Info.plist;  
297 - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";  
298 - LIBRARY_SEARCH_PATHS = (  
299 - "$(inherited)",  
300 - "$(PROJECT_DIR)/Flutter",  
301 - );  
302 - PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example;  
303 - PRODUCT_NAME = "$(TARGET_NAME)";  
304 - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";  
305 - SWIFT_VERSION = 5.0;  
306 - VERSIONING_SYSTEM = "apple-generic";  
307 - };  
308 - name = Profile;  
309 - };  
310 - 97C147031CF9000F007C117D /* Debug */ = {  
311 - isa = XCBuildConfiguration;  
312 - buildSettings = {  
313 - ALWAYS_SEARCH_USER_PATHS = NO;  
314 - CLANG_ANALYZER_NONNULL = YES;  
315 - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";  
316 - CLANG_CXX_LIBRARY = "libc++";  
317 - CLANG_ENABLE_MODULES = YES;  
318 - CLANG_ENABLE_OBJC_ARC = YES;  
319 - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;  
320 - CLANG_WARN_BOOL_CONVERSION = YES;  
321 - CLANG_WARN_COMMA = YES;  
322 - CLANG_WARN_CONSTANT_CONVERSION = YES;  
323 - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;  
324 - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;  
325 - CLANG_WARN_EMPTY_BODY = YES;  
326 - CLANG_WARN_ENUM_CONVERSION = YES;  
327 - CLANG_WARN_INFINITE_RECURSION = YES;  
328 - CLANG_WARN_INT_CONVERSION = YES;  
329 - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;  
330 - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;  
331 - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;  
332 - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;  
333 - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;  
334 - CLANG_WARN_STRICT_PROTOTYPES = YES;  
335 - CLANG_WARN_SUSPICIOUS_MOVE = YES;  
336 - CLANG_WARN_UNREACHABLE_CODE = YES;  
337 - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;  
338 - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";  
339 - COPY_PHASE_STRIP = NO;  
340 - DEBUG_INFORMATION_FORMAT = dwarf;  
341 - ENABLE_STRICT_OBJC_MSGSEND = YES;  
342 - ENABLE_TESTABILITY = YES;  
343 - GCC_C_LANGUAGE_STANDARD = gnu99;  
344 - GCC_DYNAMIC_NO_PIC = NO;  
345 - GCC_NO_COMMON_BLOCKS = YES;  
346 - GCC_OPTIMIZATION_LEVEL = 0;  
347 - GCC_PREPROCESSOR_DEFINITIONS = (  
348 - "DEBUG=1",  
349 - "$(inherited)",  
350 - );  
351 - GCC_WARN_64_TO_32_BIT_CONVERSION = YES;  
352 - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;  
353 - GCC_WARN_UNDECLARED_SELECTOR = YES;  
354 - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;  
355 - GCC_WARN_UNUSED_FUNCTION = YES;  
356 - GCC_WARN_UNUSED_VARIABLE = YES;  
357 - IPHONEOS_DEPLOYMENT_TARGET = 9.0;  
358 - MTL_ENABLE_DEBUG_INFO = YES;  
359 - ONLY_ACTIVE_ARCH = YES;  
360 - SDKROOT = iphoneos;  
361 - TARGETED_DEVICE_FAMILY = "1,2";  
362 - };  
363 - name = Debug;  
364 - };  
365 - 97C147041CF9000F007C117D /* Release */ = {  
366 - isa = XCBuildConfiguration;  
367 - buildSettings = {  
368 - ALWAYS_SEARCH_USER_PATHS = NO;  
369 - CLANG_ANALYZER_NONNULL = YES;  
370 - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";  
371 - CLANG_CXX_LIBRARY = "libc++";  
372 - CLANG_ENABLE_MODULES = YES;  
373 - CLANG_ENABLE_OBJC_ARC = YES;  
374 - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;  
375 - CLANG_WARN_BOOL_CONVERSION = YES;  
376 - CLANG_WARN_COMMA = YES;  
377 - CLANG_WARN_CONSTANT_CONVERSION = YES;  
378 - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;  
379 - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;  
380 - CLANG_WARN_EMPTY_BODY = YES;  
381 - CLANG_WARN_ENUM_CONVERSION = YES;  
382 - CLANG_WARN_INFINITE_RECURSION = YES;  
383 - CLANG_WARN_INT_CONVERSION = YES;  
384 - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;  
385 - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;  
386 - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;  
387 - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;  
388 - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;  
389 - CLANG_WARN_STRICT_PROTOTYPES = YES;  
390 - CLANG_WARN_SUSPICIOUS_MOVE = YES;  
391 - CLANG_WARN_UNREACHABLE_CODE = YES;  
392 - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;  
393 - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";  
394 - COPY_PHASE_STRIP = NO;  
395 - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";  
396 - ENABLE_NS_ASSERTIONS = NO;  
397 - ENABLE_STRICT_OBJC_MSGSEND = YES;  
398 - GCC_C_LANGUAGE_STANDARD = gnu99;  
399 - GCC_NO_COMMON_BLOCKS = YES;  
400 - GCC_WARN_64_TO_32_BIT_CONVERSION = YES;  
401 - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;  
402 - GCC_WARN_UNDECLARED_SELECTOR = YES;  
403 - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;  
404 - GCC_WARN_UNUSED_FUNCTION = YES;  
405 - GCC_WARN_UNUSED_VARIABLE = YES;  
406 - IPHONEOS_DEPLOYMENT_TARGET = 9.0;  
407 - MTL_ENABLE_DEBUG_INFO = NO;  
408 - SDKROOT = iphoneos;  
409 - SUPPORTED_PLATFORMS = iphoneos;  
410 - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";  
411 - TARGETED_DEVICE_FAMILY = "1,2";  
412 - VALIDATE_PRODUCT = YES;  
413 - };  
414 - name = Release;  
415 - };  
416 - 97C147061CF9000F007C117D /* Debug */ = {  
417 - isa = XCBuildConfiguration;  
418 - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;  
419 - buildSettings = {  
420 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;  
421 - CLANG_ENABLE_MODULES = YES;  
422 - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";  
423 - ENABLE_BITCODE = NO;  
424 - FRAMEWORK_SEARCH_PATHS = (  
425 - "$(inherited)",  
426 - "$(PROJECT_DIR)/Flutter",  
427 - );  
428 - INFOPLIST_FILE = Runner/Info.plist;  
429 - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";  
430 - LIBRARY_SEARCH_PATHS = (  
431 - "$(inherited)",  
432 - "$(PROJECT_DIR)/Flutter",  
433 - );  
434 - PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example;  
435 - PRODUCT_NAME = "$(TARGET_NAME)";  
436 - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";  
437 - SWIFT_OPTIMIZATION_LEVEL = "-Onone";  
438 - SWIFT_VERSION = 5.0;  
439 - VERSIONING_SYSTEM = "apple-generic";  
440 - };  
441 - name = Debug;  
442 - };  
443 - 97C147071CF9000F007C117D /* Release */ = {  
444 - isa = XCBuildConfiguration;  
445 - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;  
446 - buildSettings = {  
447 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;  
448 - CLANG_ENABLE_MODULES = YES;  
449 - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";  
450 - ENABLE_BITCODE = NO;  
451 - FRAMEWORK_SEARCH_PATHS = (  
452 - "$(inherited)",  
453 - "$(PROJECT_DIR)/Flutter",  
454 - );  
455 - INFOPLIST_FILE = Runner/Info.plist;  
456 - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";  
457 - LIBRARY_SEARCH_PATHS = (  
458 - "$(inherited)",  
459 - "$(PROJECT_DIR)/Flutter",  
460 - );  
461 - PRODUCT_BUNDLE_IDENTIFIER = getx.demo.app.example;  
462 - PRODUCT_NAME = "$(TARGET_NAME)";  
463 - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";  
464 - SWIFT_VERSION = 5.0;  
465 - VERSIONING_SYSTEM = "apple-generic";  
466 - };  
467 - name = Release;  
468 - };  
469 -/* End XCBuildConfiguration section */  
470 -  
471 -/* Begin XCConfigurationList section */  
472 - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {  
473 - isa = XCConfigurationList;  
474 - buildConfigurations = (  
475 - 97C147031CF9000F007C117D /* Debug */,  
476 - 97C147041CF9000F007C117D /* Release */,  
477 - 249021D3217E4FDB00AE95B9 /* Profile */,  
478 - );  
479 - defaultConfigurationIsVisible = 0;  
480 - defaultConfigurationName = Release;  
481 - };  
482 - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {  
483 - isa = XCConfigurationList;  
484 - buildConfigurations = (  
485 - 97C147061CF9000F007C117D /* Debug */,  
486 - 97C147071CF9000F007C117D /* Release */,  
487 - 249021D4217E4FDB00AE95B9 /* Profile */,  
488 - );  
489 - defaultConfigurationIsVisible = 0;  
490 - defaultConfigurationName = Release;  
491 - };  
492 -/* End XCConfigurationList section */  
493 - };  
494 - rootObject = 97C146E61CF9000F007C117D /* Project object */;  
495 -}  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<Workspace  
3 - version = "1.0">  
4 - <FileRef  
5 - location = "group:Runner.xcodeproj">  
6 - </FileRef>  
7 -</Workspace>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
3 -<plist version="1.0">  
4 -<dict>  
5 - <key>IDEDidComputeMac32BitWarning</key>  
6 - <true/>  
7 -</dict>  
8 -</plist>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
3 -<plist version="1.0">  
4 -<dict>  
5 - <key>PreviewsEnabled</key>  
6 - <false/>  
7 -</dict>  
8 -</plist>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<Scheme  
3 - LastUpgradeVersion = "1020"  
4 - version = "1.3">  
5 - <BuildAction  
6 - parallelizeBuildables = "YES"  
7 - buildImplicitDependencies = "YES">  
8 - <BuildActionEntries>  
9 - <BuildActionEntry  
10 - buildForTesting = "YES"  
11 - buildForRunning = "YES"  
12 - buildForProfiling = "YES"  
13 - buildForArchiving = "YES"  
14 - buildForAnalyzing = "YES">  
15 - <BuildableReference  
16 - BuildableIdentifier = "primary"  
17 - BlueprintIdentifier = "97C146ED1CF9000F007C117D"  
18 - BuildableName = "Runner.app"  
19 - BlueprintName = "Runner"  
20 - ReferencedContainer = "container:Runner.xcodeproj">  
21 - </BuildableReference>  
22 - </BuildActionEntry>  
23 - </BuildActionEntries>  
24 - </BuildAction>  
25 - <TestAction  
26 - buildConfiguration = "Debug"  
27 - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"  
28 - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"  
29 - shouldUseLaunchSchemeArgsEnv = "YES">  
30 - <Testables>  
31 - </Testables>  
32 - <MacroExpansion>  
33 - <BuildableReference  
34 - BuildableIdentifier = "primary"  
35 - BlueprintIdentifier = "97C146ED1CF9000F007C117D"  
36 - BuildableName = "Runner.app"  
37 - BlueprintName = "Runner"  
38 - ReferencedContainer = "container:Runner.xcodeproj">  
39 - </BuildableReference>  
40 - </MacroExpansion>  
41 - <AdditionalOptions>  
42 - </AdditionalOptions>  
43 - </TestAction>  
44 - <LaunchAction  
45 - buildConfiguration = "Debug"  
46 - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"  
47 - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"  
48 - launchStyle = "0"  
49 - useCustomWorkingDirectory = "NO"  
50 - ignoresPersistentStateOnLaunch = "NO"  
51 - debugDocumentVersioning = "YES"  
52 - debugServiceExtension = "internal"  
53 - allowLocationSimulation = "YES">  
54 - <BuildableProductRunnable  
55 - runnableDebuggingMode = "0">  
56 - <BuildableReference  
57 - BuildableIdentifier = "primary"  
58 - BlueprintIdentifier = "97C146ED1CF9000F007C117D"  
59 - BuildableName = "Runner.app"  
60 - BlueprintName = "Runner"  
61 - ReferencedContainer = "container:Runner.xcodeproj">  
62 - </BuildableReference>  
63 - </BuildableProductRunnable>  
64 - <AdditionalOptions>  
65 - </AdditionalOptions>  
66 - </LaunchAction>  
67 - <ProfileAction  
68 - buildConfiguration = "Profile"  
69 - shouldUseLaunchSchemeArgsEnv = "YES"  
70 - savedToolIdentifier = ""  
71 - useCustomWorkingDirectory = "NO"  
72 - debugDocumentVersioning = "YES">  
73 - <BuildableProductRunnable  
74 - runnableDebuggingMode = "0">  
75 - <BuildableReference  
76 - BuildableIdentifier = "primary"  
77 - BlueprintIdentifier = "97C146ED1CF9000F007C117D"  
78 - BuildableName = "Runner.app"  
79 - BlueprintName = "Runner"  
80 - ReferencedContainer = "container:Runner.xcodeproj">  
81 - </BuildableReference>  
82 - </BuildableProductRunnable>  
83 - </ProfileAction>  
84 - <AnalyzeAction  
85 - buildConfiguration = "Debug">  
86 - </AnalyzeAction>  
87 - <ArchiveAction  
88 - buildConfiguration = "Release"  
89 - revealArchiveInOrganizer = "YES">  
90 - </ArchiveAction>  
91 -</Scheme>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<Workspace  
3 - version = "1.0">  
4 - <FileRef  
5 - location = "group:Runner.xcodeproj">  
6 - </FileRef>  
7 -</Workspace>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
3 -<plist version="1.0">  
4 -<dict>  
5 - <key>IDEDidComputeMac32BitWarning</key>  
6 - <true/>  
7 -</dict>  
8 -</plist>  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
3 -<plist version="1.0">  
4 -<dict>  
5 - <key>PreviewsEnabled</key>  
6 - <false/>  
7 -</dict>  
8 -</plist>  
1 -import UIKit  
2 -import Flutter  
3 -  
4 -@UIApplicationMain  
5 -@objc class AppDelegate: FlutterAppDelegate {  
6 - override func application(  
7 - _ application: UIApplication,  
8 - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?  
9 - ) -> Bool {  
10 - GeneratedPluginRegistrant.register(with: self)  
11 - return super.application(application, didFinishLaunchingWithOptions: launchOptions)  
12 - }  
13 -}  
1 -{  
2 - "images" : [  
3 - {  
4 - "size" : "20x20",  
5 - "idiom" : "iphone",  
6 - "filename" : "Icon-App-20x20@2x.png",  
7 - "scale" : "2x"  
8 - },  
9 - {  
10 - "size" : "20x20",  
11 - "idiom" : "iphone",  
12 - "filename" : "Icon-App-20x20@3x.png",  
13 - "scale" : "3x"  
14 - },  
15 - {  
16 - "size" : "29x29",  
17 - "idiom" : "iphone",  
18 - "filename" : "Icon-App-29x29@1x.png",  
19 - "scale" : "1x"  
20 - },  
21 - {  
22 - "size" : "29x29",  
23 - "idiom" : "iphone",  
24 - "filename" : "Icon-App-29x29@2x.png",  
25 - "scale" : "2x"  
26 - },  
27 - {  
28 - "size" : "29x29",  
29 - "idiom" : "iphone",  
30 - "filename" : "Icon-App-29x29@3x.png",  
31 - "scale" : "3x"  
32 - },  
33 - {  
34 - "size" : "40x40",  
35 - "idiom" : "iphone",  
36 - "filename" : "Icon-App-40x40@2x.png",  
37 - "scale" : "2x"  
38 - },  
39 - {  
40 - "size" : "40x40",  
41 - "idiom" : "iphone",  
42 - "filename" : "Icon-App-40x40@3x.png",  
43 - "scale" : "3x"  
44 - },  
45 - {  
46 - "size" : "60x60",  
47 - "idiom" : "iphone",  
48 - "filename" : "Icon-App-60x60@2x.png",  
49 - "scale" : "2x"  
50 - },  
51 - {  
52 - "size" : "60x60",  
53 - "idiom" : "iphone",  
54 - "filename" : "Icon-App-60x60@3x.png",  
55 - "scale" : "3x"  
56 - },  
57 - {  
58 - "size" : "20x20",  
59 - "idiom" : "ipad",  
60 - "filename" : "Icon-App-20x20@1x.png",  
61 - "scale" : "1x"  
62 - },  
63 - {  
64 - "size" : "20x20",  
65 - "idiom" : "ipad",  
66 - "filename" : "Icon-App-20x20@2x.png",  
67 - "scale" : "2x"  
68 - },  
69 - {  
70 - "size" : "29x29",  
71 - "idiom" : "ipad",  
72 - "filename" : "Icon-App-29x29@1x.png",  
73 - "scale" : "1x"  
74 - },  
75 - {  
76 - "size" : "29x29",  
77 - "idiom" : "ipad",  
78 - "filename" : "Icon-App-29x29@2x.png",  
79 - "scale" : "2x"  
80 - },  
81 - {  
82 - "size" : "40x40",  
83 - "idiom" : "ipad",  
84 - "filename" : "Icon-App-40x40@1x.png",  
85 - "scale" : "1x"  
86 - },  
87 - {  
88 - "size" : "40x40",  
89 - "idiom" : "ipad",  
90 - "filename" : "Icon-App-40x40@2x.png",  
91 - "scale" : "2x"  
92 - },  
93 - {  
94 - "size" : "76x76",  
95 - "idiom" : "ipad",  
96 - "filename" : "Icon-App-76x76@1x.png",  
97 - "scale" : "1x"  
98 - },  
99 - {  
100 - "size" : "76x76",  
101 - "idiom" : "ipad",  
102 - "filename" : "Icon-App-76x76@2x.png",  
103 - "scale" : "2x"  
104 - },  
105 - {  
106 - "size" : "83.5x83.5",  
107 - "idiom" : "ipad",  
108 - "filename" : "Icon-App-83.5x83.5@2x.png",  
109 - "scale" : "2x"  
110 - },  
111 - {  
112 - "size" : "1024x1024",  
113 - "idiom" : "ios-marketing",  
114 - "filename" : "Icon-App-1024x1024@1x.png",  
115 - "scale" : "1x"  
116 - }  
117 - ],  
118 - "info" : {  
119 - "version" : 1,  
120 - "author" : "xcode"  
121 - }  
122 -}  
1 -{  
2 - "images" : [  
3 - {  
4 - "idiom" : "universal",  
5 - "filename" : "LaunchImage.png",  
6 - "scale" : "1x"  
7 - },  
8 - {  
9 - "idiom" : "universal",  
10 - "filename" : "LaunchImage@2x.png",  
11 - "scale" : "2x"  
12 - },  
13 - {  
14 - "idiom" : "universal",  
15 - "filename" : "LaunchImage@3x.png",  
16 - "scale" : "3x"  
17 - }  
18 - ],  
19 - "info" : {  
20 - "version" : 1,  
21 - "author" : "xcode"  
22 - }  
23 -}  
1 -# Launch Screen Assets  
2 -  
3 -You can customize the launch screen with your own desired assets by replacing the image files in this directory.  
4 -  
5 -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.  
1 -<?xml version="1.0" encoding="UTF-8" standalone="no"?>  
2 -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">  
3 - <dependencies>  
4 - <deployment identifier="iOS"/>  
5 - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>  
6 - </dependencies>  
7 - <scenes>  
8 - <!--View Controller-->  
9 - <scene sceneID="EHf-IW-A2E">  
10 - <objects>  
11 - <viewController id="01J-lp-oVM" sceneMemberID="viewController">  
12 - <layoutGuides>  
13 - <viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>  
14 - <viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>  
15 - </layoutGuides>  
16 - <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">  
17 - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>  
18 - <subviews>  
19 - <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">  
20 - </imageView>  
21 - </subviews>  
22 - <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>  
23 - <constraints>  
24 - <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>  
25 - <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>  
26 - </constraints>  
27 - </view>  
28 - </viewController>  
29 - <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>  
30 - </objects>  
31 - <point key="canvasLocation" x="53" y="375"/>  
32 - </scene>  
33 - </scenes>  
34 - <resources>  
35 - <image name="LaunchImage" width="168" height="185"/>  
36 - </resources>  
37 -</document>  
1 -<?xml version="1.0" encoding="UTF-8" standalone="no"?>  
2 -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">  
3 - <dependencies>  
4 - <deployment identifier="iOS"/>  
5 - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>  
6 - </dependencies>  
7 - <scenes>  
8 - <!--Flutter View Controller-->  
9 - <scene sceneID="tne-QT-ifu">  
10 - <objects>  
11 - <viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">  
12 - <layoutGuides>  
13 - <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>  
14 - <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>  
15 - </layoutGuides>  
16 - <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">  
17 - <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>  
18 - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>  
19 - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>  
20 - </view>  
21 - </viewController>  
22 - <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>  
23 - </objects>  
24 - </scene>  
25 - </scenes>  
26 -</document>  
1 -//  
2 -// Generated file. Do not edit.  
3 -//  
4 -  
5 -#ifndef GeneratedPluginRegistrant_h  
6 -#define GeneratedPluginRegistrant_h  
7 -  
8 -#import <Flutter/Flutter.h>  
9 -  
10 -NS_ASSUME_NONNULL_BEGIN  
11 -  
12 -@interface GeneratedPluginRegistrant : NSObject  
13 -+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;  
14 -@end  
15 -  
16 -NS_ASSUME_NONNULL_END  
17 -#endif /* GeneratedPluginRegistrant_h */  
1 -//  
2 -// Generated file. Do not edit.  
3 -//  
4 -  
5 -#import "GeneratedPluginRegistrant.h"  
6 -  
7 -@implementation GeneratedPluginRegistrant  
8 -  
9 -+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {  
10 -}  
11 -  
12 -@end  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
3 -<plist version="1.0">  
4 -<dict>  
5 - <key>CFBundleDevelopmentRegion</key>  
6 - <string>$(DEVELOPMENT_LANGUAGE)</string>  
7 - <key>CFBundleExecutable</key>  
8 - <string>$(EXECUTABLE_NAME)</string>  
9 - <key>CFBundleIdentifier</key>  
10 - <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>  
11 - <key>CFBundleInfoDictionaryVersion</key>  
12 - <string>6.0</string>  
13 - <key>CFBundleName</key>  
14 - <string>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>  
1 -#import "GeneratedPluginRegistrant.h"  
1 -# Generated by pub  
2 -# See https://dart.dev/tools/pub/glossary#lockfile  
3 -packages:  
4 - _fe_analyzer_shared:  
5 - dependency: transitive  
6 - description:  
7 - name: _fe_analyzer_shared  
8 - url: "https://pub.dartlang.org"  
9 - source: hosted  
10 - version: "9.0.0"  
11 - analyzer:  
12 - dependency: transitive  
13 - description:  
14 - name: analyzer  
15 - url: "https://pub.dartlang.org"  
16 - source: hosted  
17 - version: "0.40.2"  
18 - args:  
19 - dependency: transitive  
20 - description:  
21 - name: args  
22 - url: "https://pub.dartlang.org"  
23 - source: hosted  
24 - version: "1.6.0"  
25 - async:  
26 - dependency: transitive  
27 - description:  
28 - name: async  
29 - url: "https://pub.dartlang.org"  
30 - source: hosted  
31 - version: "2.5.0-nullsafety"  
32 - boolean_selector:  
33 - dependency: transitive  
34 - description:  
35 - name: boolean_selector  
36 - url: "https://pub.dartlang.org"  
37 - source: hosted  
38 - version: "2.1.0-nullsafety"  
39 - characters:  
40 - dependency: transitive  
41 - description:  
42 - name: characters  
43 - url: "https://pub.dartlang.org"  
44 - source: hosted  
45 - version: "1.1.0-nullsafety.2"  
46 - charcode:  
47 - dependency: transitive  
48 - description:  
49 - name: charcode  
50 - url: "https://pub.dartlang.org"  
51 - source: hosted  
52 - version: "1.2.0-nullsafety"  
53 - cli_util:  
54 - dependency: transitive  
55 - description:  
56 - name: cli_util  
57 - url: "https://pub.dartlang.org"  
58 - source: hosted  
59 - version: "0.2.0"  
60 - clock:  
61 - dependency: transitive  
62 - description:  
63 - name: clock  
64 - url: "https://pub.dartlang.org"  
65 - source: hosted  
66 - version: "1.1.0-nullsafety"  
67 - collection:  
68 - dependency: transitive  
69 - description:  
70 - name: collection  
71 - url: "https://pub.dartlang.org"  
72 - source: hosted  
73 - version: "1.15.0-nullsafety.2"  
74 - convert:  
75 - dependency: transitive  
76 - description:  
77 - name: convert  
78 - url: "https://pub.dartlang.org"  
79 - source: hosted  
80 - version: "2.1.1"  
81 - coverage:  
82 - dependency: transitive  
83 - description:  
84 - name: coverage  
85 - url: "https://pub.dartlang.org"  
86 - source: hosted  
87 - version: "0.14.1"  
88 - crypto:  
89 - dependency: transitive  
90 - description:  
91 - name: crypto  
92 - url: "https://pub.dartlang.org"  
93 - source: hosted  
94 - version: "2.1.5"  
95 - dio:  
96 - dependency: "direct main"  
97 - description:  
98 - name: dio  
99 - url: "https://pub.dartlang.org"  
100 - source: hosted  
101 - version: "3.0.10"  
102 - fake_async:  
103 - dependency: transitive  
104 - description:  
105 - name: fake_async  
106 - url: "https://pub.dartlang.org"  
107 - source: hosted  
108 - version: "1.1.0-nullsafety"  
109 - flutter:  
110 - dependency: "direct main"  
111 - description: flutter  
112 - source: sdk  
113 - version: "0.0.0"  
114 - flutter_test:  
115 - dependency: "direct dev"  
116 - description: flutter  
117 - source: sdk  
118 - version: "0.0.0"  
119 - get:  
120 - dependency: transitive  
121 - description:  
122 - name: get  
123 - url: "https://pub.dartlang.org"  
124 - source: hosted  
125 - version: "3.10.2"  
126 - get_test:  
127 - dependency: "direct main"  
128 - description:  
129 - name: get_test  
130 - url: "https://pub.dartlang.org"  
131 - source: hosted  
132 - version: "0.0.3"  
133 - glob:  
134 - dependency: transitive  
135 - description:  
136 - name: glob  
137 - url: "https://pub.dartlang.org"  
138 - source: hosted  
139 - version: "1.2.0"  
140 - http:  
141 - dependency: transitive  
142 - description:  
143 - name: http  
144 - url: "https://pub.dartlang.org"  
145 - source: hosted  
146 - version: "0.12.2"  
147 - http_multi_server:  
148 - dependency: transitive  
149 - description:  
150 - name: http_multi_server  
151 - url: "https://pub.dartlang.org"  
152 - source: hosted  
153 - version: "2.2.0"  
154 - http_parser:  
155 - dependency: transitive  
156 - description:  
157 - name: http_parser  
158 - url: "https://pub.dartlang.org"  
159 - source: hosted  
160 - version: "3.1.4"  
161 - image_test_utils:  
162 - dependency: transitive  
163 - description:  
164 - name: image_test_utils  
165 - url: "https://pub.dartlang.org"  
166 - source: hosted  
167 - version: "1.0.0"  
168 - io:  
169 - dependency: transitive  
170 - description:  
171 - name: io  
172 - url: "https://pub.dartlang.org"  
173 - source: hosted  
174 - version: "0.3.4"  
175 - js:  
176 - dependency: transitive  
177 - description:  
178 - name: js  
179 - url: "https://pub.dartlang.org"  
180 - source: hosted  
181 - version: "0.6.3-nullsafety"  
182 - logging:  
183 - dependency: transitive  
184 - description:  
185 - name: logging  
186 - url: "https://pub.dartlang.org"  
187 - source: hosted  
188 - version: "0.11.4"  
189 - matcher:  
190 - dependency: transitive  
191 - description:  
192 - name: matcher  
193 - url: "https://pub.dartlang.org"  
194 - source: hosted  
195 - version: "0.12.10-nullsafety"  
196 - meta:  
197 - dependency: transitive  
198 - description:  
199 - name: meta  
200 - url: "https://pub.dartlang.org"  
201 - source: hosted  
202 - version: "1.3.0-nullsafety.2"  
203 - mime:  
204 - dependency: transitive  
205 - description:  
206 - name: mime  
207 - url: "https://pub.dartlang.org"  
208 - source: hosted  
209 - version: "0.9.7"  
210 - mockito:  
211 - dependency: transitive  
212 - description:  
213 - name: mockito  
214 - url: "https://pub.dartlang.org"  
215 - source: hosted  
216 - version: "3.0.2"  
217 - node_interop:  
218 - dependency: transitive  
219 - description:  
220 - name: node_interop  
221 - url: "https://pub.dartlang.org"  
222 - source: hosted  
223 - version: "1.1.1"  
224 - node_io:  
225 - dependency: transitive  
226 - description:  
227 - name: node_io  
228 - url: "https://pub.dartlang.org"  
229 - source: hosted  
230 - version: "1.1.1"  
231 - node_preamble:  
232 - dependency: transitive  
233 - description:  
234 - name: node_preamble  
235 - url: "https://pub.dartlang.org"  
236 - source: hosted  
237 - version: "1.4.12"  
238 - package_config:  
239 - dependency: transitive  
240 - description:  
241 - name: package_config  
242 - url: "https://pub.dartlang.org"  
243 - source: hosted  
244 - version: "1.9.3"  
245 - path:  
246 - dependency: transitive  
247 - description:  
248 - name: path  
249 - url: "https://pub.dartlang.org"  
250 - source: hosted  
251 - version: "1.8.0-nullsafety"  
252 - pedantic:  
253 - dependency: transitive  
254 - description:  
255 - name: pedantic  
256 - url: "https://pub.dartlang.org"  
257 - source: hosted  
258 - version: "1.10.0-nullsafety"  
259 - pool:  
260 - dependency: transitive  
261 - description:  
262 - name: pool  
263 - url: "https://pub.dartlang.org"  
264 - source: hosted  
265 - version: "1.5.0-nullsafety"  
266 - pub_semver:  
267 - dependency: transitive  
268 - description:  
269 - name: pub_semver  
270 - url: "https://pub.dartlang.org"  
271 - source: hosted  
272 - version: "1.4.4"  
273 - shelf:  
274 - dependency: transitive  
275 - description:  
276 - name: shelf  
277 - url: "https://pub.dartlang.org"  
278 - source: hosted  
279 - version: "0.7.9"  
280 - shelf_packages_handler:  
281 - dependency: transitive  
282 - description:  
283 - name: shelf_packages_handler  
284 - url: "https://pub.dartlang.org"  
285 - source: hosted  
286 - version: "2.0.0"  
287 - shelf_static:  
288 - dependency: transitive  
289 - description:  
290 - name: shelf_static  
291 - url: "https://pub.dartlang.org"  
292 - source: hosted  
293 - version: "0.2.8"  
294 - shelf_web_socket:  
295 - dependency: transitive  
296 - description:  
297 - name: shelf_web_socket  
298 - url: "https://pub.dartlang.org"  
299 - source: hosted  
300 - version: "0.2.3"  
301 - sky_engine:  
302 - dependency: transitive  
303 - description: flutter  
304 - source: sdk  
305 - version: "0.0.99"  
306 - source_map_stack_trace:  
307 - dependency: transitive  
308 - description:  
309 - name: source_map_stack_trace  
310 - url: "https://pub.dartlang.org"  
311 - source: hosted  
312 - version: "2.1.0-nullsafety.1"  
313 - source_maps:  
314 - dependency: transitive  
315 - description:  
316 - name: source_maps  
317 - url: "https://pub.dartlang.org"  
318 - source: hosted  
319 - version: "0.10.10-nullsafety"  
320 - source_span:  
321 - dependency: transitive  
322 - description:  
323 - name: source_span  
324 - url: "https://pub.dartlang.org"  
325 - source: hosted  
326 - version: "1.8.0-nullsafety"  
327 - stack_trace:  
328 - dependency: transitive  
329 - description:  
330 - name: stack_trace  
331 - url: "https://pub.dartlang.org"  
332 - source: hosted  
333 - version: "1.10.0-nullsafety"  
334 - stream_channel:  
335 - dependency: transitive  
336 - description:  
337 - name: stream_channel  
338 - url: "https://pub.dartlang.org"  
339 - source: hosted  
340 - version: "2.1.0-nullsafety"  
341 - string_scanner:  
342 - dependency: transitive  
343 - description:  
344 - name: string_scanner  
345 - url: "https://pub.dartlang.org"  
346 - source: hosted  
347 - version: "1.1.0-nullsafety"  
348 - term_glyph:  
349 - dependency: transitive  
350 - description:  
351 - name: term_glyph  
352 - url: "https://pub.dartlang.org"  
353 - source: hosted  
354 - version: "1.2.0-nullsafety"  
355 - test:  
356 - dependency: transitive  
357 - description:  
358 - name: test  
359 - url: "https://pub.dartlang.org"  
360 - source: hosted  
361 - version: "1.16.0-nullsafety.4"  
362 - test_api:  
363 - dependency: transitive  
364 - description:  
365 - name: test_api  
366 - url: "https://pub.dartlang.org"  
367 - source: hosted  
368 - version: "0.2.19-nullsafety"  
369 - test_core:  
370 - dependency: transitive  
371 - description:  
372 - name: test_core  
373 - url: "https://pub.dartlang.org"  
374 - source: hosted  
375 - version: "0.3.12-nullsafety.4"  
376 - typed_data:  
377 - dependency: transitive  
378 - description:  
379 - name: typed_data  
380 - url: "https://pub.dartlang.org"  
381 - source: hosted  
382 - version: "1.3.0-nullsafety.2"  
383 - vector_math:  
384 - dependency: transitive  
385 - description:  
386 - name: vector_math  
387 - url: "https://pub.dartlang.org"  
388 - source: hosted  
389 - version: "2.1.0-nullsafety.2"  
390 - vm_service:  
391 - dependency: transitive  
392 - description:  
393 - name: vm_service  
394 - url: "https://pub.dartlang.org"  
395 - source: hosted  
396 - version: "5.0.0+1"  
397 - watcher:  
398 - dependency: transitive  
399 - description:  
400 - name: watcher  
401 - url: "https://pub.dartlang.org"  
402 - source: hosted  
403 - version: "0.9.7+15"  
404 - web_socket_channel:  
405 - dependency: transitive  
406 - description:  
407 - name: web_socket_channel  
408 - url: "https://pub.dartlang.org"  
409 - source: hosted  
410 - version: "1.1.0"  
411 - webkit_inspection_protocol:  
412 - dependency: transitive  
413 - description:  
414 - name: webkit_inspection_protocol  
415 - url: "https://pub.dartlang.org"  
416 - source: hosted  
417 - version: "0.7.3"  
418 - yaml:  
419 - dependency: transitive  
420 - description:  
421 - name: yaml  
422 - url: "https://pub.dartlang.org"  
423 - source: hosted  
424 - version: "2.2.1"  
425 -sdks:  
426 - dart: ">=2.10.0-0.0.dev <2.10.0"  
427 - flutter: ">=1.17.0 <2.0.0"  
1 -<?xml version="1.0" encoding="UTF-8"?>  
2 -<module type="JAVA_MODULE" version="4">  
3 - <component name="NewModuleRootManager" inherit-compiler-output="true">  
4 - <exclude-output />  
5 - <content url="file://$MODULE_DIR$">  
6 - <excludeFolder url="file://$MODULE_DIR$/.dart_tool" />  
7 - <excludeFolder url="file://$MODULE_DIR$/.pub" />  
8 - <excludeFolder url="file://$MODULE_DIR$/build" />  
9 - <excludeFolder url="file://$MODULE_DIR$/example/.dart_tool" />  
10 - <excludeFolder url="file://$MODULE_DIR$/example/.pub" />  
11 - <excludeFolder url="file://$MODULE_DIR$/example/build" />  
12 - </content>  
13 - <orderEntry type="sourceFolder" forTests="false" />  
14 - <orderEntry type="library" name="Dart SDK" level="project" />  
15 - <orderEntry type="library" name="Dart Packages" level="project" />  
16 - </component>  
17 -</module>  
  1 +# See https://www.dartlang.org/guides/libraries/private-files
  2 +
  3 +# See https://www.dartlang.org/guides/libraries/private-files
  4 +
  5 +# Files and directories created by pub
  6 +.dart_tool/
  7 +.packages
  8 +build/
  9 +# If you're building an application, you may want to check-in your pubspec.lock
  10 +pubspec.lock
  11 +.pub/
  12 +
  13 +# Directory created by dartdoc
  14 +# If you don't generate documentation locally you can remove this line.
  15 +doc/api/
  16 +
  17 +# Avoid committing generated Javascript files:
  18 +*.dart.js
  19 +*.info.json # Produced by the --dump-info flag.
  20 +*.js # When generated by dart2js. Don't specify *.js if your
  21 + # project includes source files written in JavaScript.
  22 +*.js_
  23 +*.js.deps
  24 +*.js.map
  25 +
  26 +# Files and directories created when test or run example
  27 +example/android/local.properties
  28 +example/ios/
  29 +example/.dart_tool/
  30 +example/.packages
  31 +
  32 +# IntelliJ
  33 +*.iml
  34 +.idea/*
  35 +#.idea/workspace.xml
  36 +#.idea/tasks.xml
  37 +#.idea/gradle.xml
  38 +#.idea/assetWizardSettings.xml
  39 +#.idea/dictionaries
  40 +#.idea/libraries
  41 +#.idea/caches
  42 +
  43 +# User-specific stuff
  44 +.idea/**/workspace.xml
  45 +.idea/**/tasks.xml
  46 +.idea/**/dictionaries
  47 +.idea/**/shelf
  48 +
  49 +# Sensitive or high-churn files
  50 +.idea/**/dataSources/
  51 +.idea/**/dataSources.ids
  52 +.idea/**/dataSources.local.xml
  53 +.idea/**/sqlDataSources.xml
  54 +.idea/**/dynamic.xml
  55 +.idea/**/uiDesigner.xml
  56 +.idea/**/dbnavigator.xml
  57 +
  58 +# Gradle
  59 +.idea/**/gradle.xml
  60 +.idea/**/libraries
  61 +
  62 +# Android Studio Navigation editor temp files
  63 +.navigation/
  64 +
  65 +# Android Studio captures folder
  66 +captures/
  67 +
  68 +# External native build folder generated in Android Studio 2.2 and later
  69 +.externalNativeBuild
  70 +
  71 +### https://raw.github.com/github/gitignore/80a8803b004013d17291196825a327b9e871f009/Global/VisualStudioCode.gitignore
  72 +.vscode/*
  73 +!.vscode/settings.json
  74 +!.vscode/tasks.json
  75 +!.vscode/launch.json
  76 +!.vscode/extensions.json
  77 +
  78 +example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
  79 +
  80 +example/macos/Flutter/ephemeral/
  81 +
  82 +example/macos/Flutter/GeneratedPluginRegistrant.swift
  1 +MIT License
  2 +
  3 +Copyright (c) 2019 Jonny Borges
  4 +
  5 +Permission is hereby granted, free of charge, to any person obtaining a copy
  6 +of this software and associated documentation files (the "Software"), to deal
  7 +in the Software without restriction, including without limitation the rights
  8 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9 +copies of the Software, and to permit persons to whom the Software is
  10 +furnished to do so, subject to the following conditions:
  11 +
  12 +The above copyright notice and this permission notice shall be included in all
  13 +copies or substantial portions of the Software.
  14 +
  15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21 +SOFTWARE.
  1 +gradle-wrapper.jar
  2 +/.gradle
  3 +/captures/
  4 +/gradlew
  5 +/gradlew.bat
  6 +/local.properties
  7 +GeneratedPluginRegistrant.java
  8 +
  9 +# Remember to never publicly share your keystore.
  10 +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
  11 +key.properties
  1 +package getx.demo.app.example
  2 +
  3 +import io.flutter.embedding.android.FlutterActivity
  4 +
  5 +class MainActivity: FlutterActivity() {
  6 +}
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 -  
4 import 'routes/app_pages.dart'; 3 import 'routes/app_pages.dart';
5 import 'shared/logger/logger_utils.dart'; 4 import 'shared/logger/logger_utils.dart';
6 5
@@ -45,6 +45,14 @@ apply_standard_settings(${BINARY_NAME}) @@ -45,6 +45,14 @@ apply_standard_settings(${BINARY_NAME})
45 target_link_libraries(${BINARY_NAME} PRIVATE flutter) 45 target_link_libraries(${BINARY_NAME} PRIVATE flutter)
46 target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) 46 target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
47 add_dependencies(${BINARY_NAME} flutter_assemble) 47 add_dependencies(${BINARY_NAME} flutter_assemble)
  48 +# Only the install-generated bundle's copy of the executable will launch
  49 +# correctly, since the resources must in the right relative locations. To avoid
  50 +# people trying to run the unbundled copy, put it in a subdirectory instead of
  51 +# the default top-level location.
  52 +set_target_properties(${BINARY_NAME}
  53 + PROPERTIES
  54 + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run"
  55 +)
48 56
49 # Generated plugin build rules, which manage building the plugins and adding 57 # Generated plugin build rules, which manage building the plugins and adding
50 # them to the application. 58 # them to the application.
@@ -26,10 +26,11 @@ dependencies: @@ -26,10 +26,11 @@ dependencies:
26 26
27 # The following adds the Cupertino Icons font to your application. 27 # The following adds the Cupertino Icons font to your application.
28 # Use with the CupertinoIcons class for iOS style icons. 28 # Use with the CupertinoIcons class for iOS style icons.
29 - # get:  
30 - # path: ../ 29 + get:
  30 + path: ../
31 dio: ^3.0.9 31 dio: ^3.0.9
32 get_test: 32 get_test:
  33 + path: ../../packages/get_test
33 34
34 dev_dependencies: 35 dev_dependencies:
35 flutter_test: 36 flutter_test:
1 library get; 1 library get;
2 2
  3 +export 'package:get_core/get_core.dart';
  4 +export 'package:get_test/get_test.dart';
3 export 'instance_manager.dart'; 5 export 'instance_manager.dart';
4 export 'route_manager.dart'; 6 export 'route_manager.dart';
5 export 'state_manager.dart'; 7 export 'state_manager.dart';
  1 +export 'package:get_instance/get_instance.dart';
  2 +
  1 +export 'package:get_navigation/get_navigation.dart';
  1 +export 'package:get_rx/get_rx.dart';
  2 +export 'package:get_state_manager/get_state_manager.dart';
  1 +export 'package:get_utils/get_utils.dart';
@@ -9,6 +9,20 @@ environment: @@ -9,6 +9,20 @@ environment:
9 dependencies: 9 dependencies:
10 flutter: 10 flutter:
11 sdk: flutter 11 sdk: flutter
  12 + get_core:
  13 + path: ../packages/get_core
  14 + get_instance:
  15 + path: ../packages/get_instance
  16 + get_rx:
  17 + path: ../packages/get_rx
  18 + get_state_manager:
  19 + path: ../packages/get_state_manager
  20 + get_navigation:
  21 + path: ../packages/get_navigation
  22 + get_utils:
  23 + path: ../packages/get_utils
  24 + get_test:
  25 + path: ../packages/get_test
12 26
13 dev_dependencies: 27 dev_dependencies:
14 flutter_test: 28 flutter_test:
1 @TestOn('vm') 1 @TestOn('vm')
2 import 'dart:io'; 2 import 'dart:io';
3 import 'package:flutter_test/flutter_test.dart'; 3 import 'package:flutter_test/flutter_test.dart';
4 -import 'package:get/src/utils/platform/platform.dart'; 4 +import 'package:get/get.dart';
5 5
6 void main() { 6 void main() {
7 test('Platform test', () { 7 test('Platform test', () {
1 @TestOn('browser') 1 @TestOn('browser')
2 import 'dart:io'; 2 import 'dart:io';
3 import 'package:flutter_test/flutter_test.dart'; 3 import 'package:flutter_test/flutter_test.dart';
4 -import 'package:get/src/utils/platform/platform.dart'; 4 +import 'package:get/get.dart';
5 5
6 void main() { 6 void main() {
7 test('Platform test', () { 7 test('Platform test', () {
1 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
2 import 'package:flutter_test/flutter_test.dart'; 2 import 'package:flutter_test/flutter_test.dart';
3 -import 'package:get/src/navigation/routes/get_route.dart'; 3 +import 'package:get/get.dart';
4 4
5 void main() { 5 void main() {
6 testWidgets( 6 testWidgets(
1 -export 'src/instance/extension_instance.dart';  
2 -export 'src/instance/get_instance.dart';  
3 -export 'src/navigation/routes/bindings_interface.dart';  
1 -export 'src/core/get_main.dart';  
2 -export 'src/navigation/bottomsheet/bottomsheet.dart';  
3 -export 'src/navigation/extension_navigation.dart';  
4 -export 'src/navigation/root/root_widget.dart';  
5 -export 'src/navigation/root/smart_management.dart';  
6 -export 'src/navigation/routes/custom_transition.dart';  
7 -export 'src/navigation/routes/default_route.dart';  
8 -export 'src/navigation/routes/default_route.dart';  
9 -export 'src/navigation/routes/get_route.dart';  
10 -export 'src/navigation/routes/observers/route_observer.dart';  
11 -export 'src/navigation/routes/transitions_type.dart';  
12 -export 'src/navigation/snackbar/snack.dart';  
13 -export 'src/navigation/snackbar/snack_route.dart';  
1 -export 'src/state_manager/rx/rx_core/rx_impl.dart';  
2 -export 'src/state_manager/rx/rx_core/rx_interface.dart';  
3 -export 'src/state_manager/rx/rx_iterables/rx_list.dart';  
4 -export 'src/state_manager/rx/rx_iterables/rx_map.dart';  
5 -export 'src/state_manager/rx/rx_iterables/rx_set.dart';  
6 -export 'src/state_manager/rx/rx_widgets/rx_getx_widget.dart';  
7 -export 'src/state_manager/rx/rx_widgets/rx_obx_widget.dart';  
8 -export 'src/state_manager/rx/rx_workers/rx_workers.dart';  
9 -export 'src/state_manager/simple/get_state.dart';  
10 -export 'src/state_manager/simple/get_view.dart';  
11 -export 'src/state_manager/simple/immutable_state.dart';  
12 -export 'src/state_manager/simple/mixin_state.dart';  
13 -export 'src/state_manager/simple/simple_builder.dart';  
1 -export 'src/utils/extensions/export.dart';  
2 -export 'src/utils/get_utils/get_utils.dart';  
3 -export 'src/utils/platform/platform.dart';  
4 -export 'src/utils/queue/get_queue.dart';  
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_core
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +library get_core;
  2 +
  3 +export 'src/get_interface.dart';
  4 +export 'src/get_main.dart';
  5 +export 'src/log.dart';
  6 +export 'src/smart_management.dart';
1 -import '../navigation/root/smart_management.dart';  
2 import 'log.dart'; 1 import 'log.dart';
  2 +import 'smart_management.dart';
3 3
4 /// Use Get.to instead of Navigator.push, Get.off instead 4 /// Use Get.to instead of Navigator.push, Get.off instead
5 /// of Navigator.pushReplacement, 5 /// of Navigator.pushReplacement,
@@ -15,4 +15,3 @@ abstract class GetInterface { @@ -15,4 +15,3 @@ abstract class GetInterface {
15 bool isLogEnable = true; 15 bool isLogEnable = true;
16 LogWriterCallback log = defaultLogWriterCallback; 16 LogWriterCallback log = defaultLogWriterCallback;
17 } 17 }
18 -  
  1 +name: get_core
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 +
  10 +dependencies:
  11 +
  12 +
  13 +dev_dependencies:
  14 +
  15 +
  16 +# For information on the generic Dart part of this file, see the
  17 +# following page: https://dart.dev/tools/pub/pubspec
  18 +
  19 +# The following section is specific to Flutter.
  20 +flutter:
  21 +
  22 + # To add assets to your package, add an assets section, like this:
  23 + # assets:
  24 + # - images/a_dot_burr.jpeg
  25 + # - images/a_dot_ham.jpeg
  26 + #
  27 + # For details regarding assets in packages, see
  28 + # https://flutter.dev/assets-and-images/#from-packages
  29 + #
  30 + # An image asset can refer to one or more resolution-specific "variants", see
  31 + # https://flutter.dev/assets-and-images/#resolution-aware.
  32 +
  33 + # To add custom fonts to your package, add a fonts section here,
  34 + # in this "flutter" section. Each entry in this list should have a
  35 + # "family" key with the font family name, and a "fonts" key with a
  36 + # list giving the asset and other descriptors for the font. For
  37 + # example:
  38 + # fonts:
  39 + # - family: Schyler
  40 + # fonts:
  41 + # - asset: fonts/Schyler-Regular.ttf
  42 + # - asset: fonts/Schyler-Italic.ttf
  43 + # style: italic
  44 + # - family: Trajan Pro
  45 + # fonts:
  46 + # - asset: fonts/TrajanPro.ttf
  47 + # - asset: fonts/TrajanPro_Bold.ttf
  48 + # weight: 700
  49 + #
  50 + # For details regarding fonts in packages, see
  51 + # https://flutter.dev/custom-fonts/#from-packages
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_instance
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +export 'src/lifecircle.dart';
  2 +export 'src/get_instance.dart';
  3 +export 'src/extension_instance.dart';
  4 +export 'src/bindings_interface.dart';
1 -import 'dart:ui';  
2 -import '../../../get.dart'; 1 +import 'get_instance.dart';
3 2
4 /// [Bindings] should be extended or implemented. 3 /// [Bindings] should be extended or implemented.
5 /// When using [GetMaterialApp], all [GetPage]s and navigation 4 /// When using [GetMaterialApp], all [GetPage]s and navigation
@@ -63,3 +62,4 @@ class BindingsBuilder<T> extends Bindings { @@ -63,3 +62,4 @@ class BindingsBuilder<T> extends Bindings {
63 // typedef Snack = Function(); 62 // typedef Snack = Function();
64 // typedef Modal = Function(); 63 // typedef Modal = Function();
65 // typedef Route = Function(); 64 // typedef Route = Function();
  65 +typedef VoidCallback = void Function();
1 -import '../core/get_interface.dart'; 1 +import 'package:get_core/get_core.dart';
2 import 'get_instance.dart'; 2 import 'get_instance.dart';
3 3
4 extension Inst on GetInterface { 4 extension Inst on GetInterface {
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:collection'; 2 import 'dart:collection';
3 -import '../core/get_main.dart';  
4 -import '../navigation/root/smart_management.dart';  
5 -import '../state_manager/rx/rx_core/rx_interface.dart'; 3 +import 'package:get_core/get_core.dart';
  4 +import 'lifecircle.dart';
6 5
7 class GetInstance { 6 class GetInstance {
8 factory GetInstance() => _getInstance ??= GetInstance._(); 7 factory GetInstance() => _getInstance ??= GetInstance._();
@@ -210,7 +209,7 @@ class GetInstance { @@ -210,7 +209,7 @@ class GetInstance {
210 void _startController<S>({String tag}) { 209 void _startController<S>({String tag}) {
211 final key = _getKey(S, tag); 210 final key = _getKey(S, tag);
212 final i = _singl[key].getDependency(); 211 final i = _singl[key].getDependency();
213 - if (i is DisposableInterface) { 212 + if (i is GetLifeCycle) {
214 if (i.onStart != null) { 213 if (i.onStart != null) {
215 i.onStart(); 214 i.onStart();
216 Get.log('"$key" has been initialized'); 215 Get.log('"$key" has been initialized');
@@ -343,10 +342,10 @@ class GetInstance { @@ -343,10 +342,10 @@ class GetInstance {
343 } 342 }
344 final i = builder.dependency; 343 final i = builder.dependency;
345 344
346 - if (i is GetxService && !force) { 345 + if (i is GetxServiceMixin && !force) {
347 return false; 346 return false;
348 } 347 }
349 - if (i is DisposableInterface) { 348 + if (i is GetLifeCycle) {
350 await i.onClose(); 349 await i.onClose();
351 Get.log('"$newKey" onClose() called'); 350 Get.log('"$newKey" onClose() called');
352 } 351 }
  1 +import 'dart:async';
  2 +
  3 +/// Special callable class to keep the contract of a regular method, and avoid
  4 +/// overrides if you extend the class that uses it, as Dart has no final
  5 +/// methods.
  6 +/// Used in [DisposableInterface] to avoid the danger of overriding onStart.
  7 +///
  8 +class _InternalFinalCallback<T> {
  9 + T Function() callback;
  10 +
  11 + _InternalFinalCallback();
  12 +
  13 + T call() => callback.call();
  14 +}
  15 +
  16 +abstract class GetLifeCycle {
  17 + /// Called at the exact moment the widget is allocated in memory.
  18 + /// It uses an internal "callable" type, to avoid any @overrides in subclases.
  19 + /// This method should be internal and is required to define the
  20 + /// lifetime cycle of the subclass.
  21 + final onStart = _InternalFinalCallback<void>();
  22 +
  23 + /// Called immediately after the widget is allocated in memory.
  24 + /// You might use this to initialize something for the controller.
  25 + void onInit() {}
  26 +
  27 + /// Called 1 frame after onInit(). It is the perfect place to enter
  28 + /// navigation events, like snackbar, dialogs, or a new route, or
  29 + /// async request.
  30 + void onReady() async {}
  31 +
  32 + /// Called before [onDelete] method. [onClose] might be used to
  33 + /// dispose resources used by the controller. Like closing events,
  34 + /// or streams before the controller is destroyed.
  35 + /// Or dispose objects that can potentially create some memory leaks,
  36 + /// like TextEditingControllers, AnimationControllers.
  37 + /// Might be useful as well to persist some data on disk.
  38 + FutureOr onClose() async {}
  39 +}
  40 +
  41 +/// Allow track difference between GetxServices and GetxControllers
  42 +mixin GetxServiceMixin {}
  1 +name: get_instance
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 +
  10 +
  11 +dependencies:
  12 + get_core:
  13 + path: ../get_core
  14 +
  15 +dev_dependencies:
  16 +
  17 +
  18 +# For information on the generic Dart part of this file, see the
  19 +# following page: https://dart.dev/tools/pub/pubspec
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_navigation
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +library get_navigation;
  2 +
  3 +export 'src/bottomsheet/bottomsheet.dart';
  4 +export 'src/extension_navigation.dart';
  5 +export 'src/root/root_widget.dart';
  6 +export 'src/routes/custom_transition.dart';
  7 +export 'src/routes/default_route.dart';
  8 +export 'src/routes/default_route.dart';
  9 +export 'src/routes/get_route.dart';
  10 +export 'src/routes/observers/route_observer.dart';
  11 +export 'src/routes/transitions_type.dart';
  12 +export 'src/snackbar/snack.dart';
  13 +export 'src/snackbar/snack_route.dart';
1 import 'package:flutter/widgets.dart'; 1 import 'package:flutter/widgets.dart';
2 -import '../../../instance_manager.dart';  
3 -import '../../../route_manager.dart'; 2 +import 'package:get_core/get_core.dart';
  3 +import 'package:get_state_manager/get_state_manager.dart';
4 4
5 class GetDialogRoute<T> extends PopupRoute<T> { 5 class GetDialogRoute<T> extends PopupRoute<T> {
6 GetDialogRoute({ 6 GetDialogRoute({
1 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
2 import 'package:flutter/scheduler.dart'; 2 import 'package:flutter/scheduler.dart';
3 -  
4 -import '../../get.dart';  
5 -import '../../instance_manager.dart';  
6 -import '../../route_manager.dart';  
7 -import '../core/get_interface.dart';  
8 -import '../core/log.dart'; 3 +import 'package:get_core/get_core.dart';
  4 +import 'package:get_navigation/get_navigation.dart';
  5 +import 'package:get_state_manager/get_state_manager.dart';
  6 +import 'package:get_utils/get_utils.dart';
9 import 'dialog/dialog_route.dart'; 7 import 'dialog/dialog_route.dart';
10 import 'root/parse_route.dart'; 8 import 'root/parse_route.dart';
11 import 'root/root_controller.dart'; 9 import 'root/root_controller.dart';
12 -import 'routes/bindings_interface.dart'; 10 +import 'routes/transitions_type.dart';
13 11
14 //TODO: Split this class on "Snackbar" "Dialog" "bottomSheet" 12 //TODO: Split this class on "Snackbar" "Dialog" "bottomSheet"
15 //and "navigation" extensions 13 //and "navigation" extensions
1 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
2 -import '../../state_manager/simple/get_state.dart';  
3 -import '../../utils/platform/platform.dart'; 2 +import 'package:get_state_manager/get_state_manager.dart';
  3 +import 'package:get_utils/get_utils.dart';
4 import '../routes/custom_transition.dart'; 4 import '../routes/custom_transition.dart';
5 import '../routes/observers/route_observer.dart'; 5 import '../routes/observers/route_observer.dart';
6 import '../routes/transitions_type.dart'; 6 import '../routes/transitions_type.dart';
1 import 'package:flutter/foundation.dart'; 1 import 'package:flutter/foundation.dart';
2 import 'package:flutter/material.dart'; 2 import 'package:flutter/material.dart';
3 -import '../../../get.dart';  
4 -import '../../core/log.dart';  
5 -import '../extension_navigation.dart';  
6 -import '../routes/get_route.dart'; 3 +import 'package:get_core/get_core.dart';
  4 +import 'package:get_navigation/get_navigation.dart';
  5 +import 'package:get_state_manager/get_state_manager.dart';
  6 +import 'package:get_utils/get_utils.dart';
7 import 'root_controller.dart'; 7 import 'root_controller.dart';
8 -import 'smart_management.dart';  
9 8
10 class GetMaterialApp extends StatelessWidget { 9 class GetMaterialApp extends StatelessWidget {
11 const GetMaterialApp({ 10 const GetMaterialApp({
@@ -4,11 +4,10 @@ import 'dart:ui' show lerpDouble; @@ -4,11 +4,10 @@ import 'dart:ui' show lerpDouble;
4 import 'package:flutter/cupertino.dart'; 4 import 'package:flutter/cupertino.dart';
5 import 'package:flutter/gestures.dart'; 5 import 'package:flutter/gestures.dart';
6 import 'package:flutter/material.dart'; 6 import 'package:flutter/material.dart';
7 -import '../../../route_manager.dart';  
8 -import '../../../utils.dart';  
9 -import '../../core/get_main.dart';  
10 -import '../../instance/get_instance.dart';  
11 -import 'bindings_interface.dart'; 7 +import 'package:get_core/get_core.dart';
  8 +import 'package:get_instance/get_instance.dart';
  9 +import 'package:get_navigation/get_navigation.dart';
  10 +import 'package:get_utils/get_utils.dart';
12 import 'custom_transition.dart'; 11 import 'custom_transition.dart';
13 import 'default_transitions.dart'; 12 import 'default_transitions.dart';
14 import 'transitions_type.dart'; 13 import 'transitions_type.dart';
1 import 'package:flutter/widgets.dart'; 1 import 'package:flutter/widgets.dart';
2 -  
3 -import 'bindings_interface.dart'; 2 +import 'package:get_instance/get_instance.dart';
4 import 'custom_transition.dart'; 3 import 'custom_transition.dart';
5 import 'transitions_type.dart'; 4 import 'transitions_type.dart';
6 5
1 import 'package:flutter/widgets.dart'; 1 import 'package:flutter/widgets.dart';
2 -import '../../../../route_manager.dart'; 2 +import 'package:get_core/get_core.dart';
  3 +import 'package:get_navigation/get_navigation.dart';
3 import '../../dialog/dialog_route.dart'; 4 import '../../dialog/dialog_route.dart';
4 import '../../snackbar/snack_route.dart'; 5 import '../../snackbar/snack_route.dart';
5 import '../default_route.dart'; 6 import '../default_route.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:ui'; 2 import 'dart:ui';
3 -  
4 import 'package:flutter/material.dart'; 3 import 'package:flutter/material.dart';
5 import 'package:flutter/scheduler.dart'; 4 import 'package:flutter/scheduler.dart';
6 -  
7 -import '../../../get.dart'; 5 +import 'package:get_core/get_core.dart';
  6 +import 'package:get_navigation/get_navigation.dart';
8 import 'snack_route.dart'; 7 import 'snack_route.dart';
9 8
10 typedef SnackbarStatusCallback = void Function(SnackbarStatus status); 9 typedef SnackbarStatusCallback = void Function(SnackbarStatus status);
  1 +name: get_navigation
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 + flutter: ">=1.17.0 <2.0.0"
  10 +
  11 +dependencies:
  12 + flutter:
  13 + sdk: flutter
  14 + get_state_manager:
  15 + path: ../get_state_manager
  16 + get_core:
  17 + path: ../get_core
  18 + get_utils:
  19 + path: ../get_utils
  20 +
  21 +dev_dependencies:
  22 + flutter_test:
  23 + sdk: flutter
  24 +
  25 +# For information on the generic Dart part of this file, see the
  26 +# following page: https://dart.dev/tools/pub/pubspec
  27 +
  28 +# The following section is specific to Flutter.
  29 +flutter:
  30 +
  31 + # To add assets to your package, add an assets section, like this:
  32 + # assets:
  33 + # - images/a_dot_burr.jpeg
  34 + # - images/a_dot_ham.jpeg
  35 + #
  36 + # For details regarding assets in packages, see
  37 + # https://flutter.dev/assets-and-images/#from-packages
  38 + #
  39 + # An image asset can refer to one or more resolution-specific "variants", see
  40 + # https://flutter.dev/assets-and-images/#resolution-aware.
  41 +
  42 + # To add custom fonts to your package, add a fonts section here,
  43 + # in this "flutter" section. Each entry in this list should have a
  44 + # "family" key with the font family name, and a "fonts" key with a
  45 + # list giving the asset and other descriptors for the font. For
  46 + # example:
  47 + # fonts:
  48 + # - family: Schyler
  49 + # fonts:
  50 + # - asset: fonts/Schyler-Regular.ttf
  51 + # - asset: fonts/Schyler-Italic.ttf
  52 + # style: italic
  53 + # - family: Trajan Pro
  54 + # fonts:
  55 + # - asset: fonts/TrajanPro.ttf
  56 + # - asset: fonts/TrajanPro_Bold.ttf
  57 + # weight: 700
  58 + #
  59 + # For details regarding fonts in packages, see
  60 + # https://flutter.dev/custom-fonts/#from-packages
  1 +import 'package:flutter_test/flutter_test.dart';
  2 +
  3 +void main() {
  4 + test('adds one to input values', () {});
  5 +}
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_rx
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +library get_rx;
  2 +
  3 +export 'src/rx_core/rx_impl.dart';
  4 +export 'src/rx_core/rx_interface.dart';
  5 +export 'src/rx_iterables/rx_list.dart';
  6 +export 'src/rx_iterables/rx_map.dart';
  7 +export 'src/rx_iterables/rx_set.dart';
  8 +export 'src/rx_workers/rx_workers.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:collection'; 2 import 'dart:collection';
3 -  
4 import '../rx_core/rx_interface.dart'; 3 import '../rx_core/rx_interface.dart';
5 -  
6 part 'rx_num.dart'; 4 part 'rx_num.dart';
7 5
8 /// global object that registers against `GetX` and `Obx`, and allows the 6 /// global object that registers against `GetX` and `Obx`, and allows the
  1 +import 'dart:async';
  2 +import '../rx_typedefs/rx_typedefs.dart';
  3 +
  4 +/// This class is the foundation for all reactive (Rx) classes that makes Get
  5 +/// so powerful.
  6 +/// This interface is the contract that [_RxImpl]<[T]> uses in all it's
  7 +/// subclass.
  8 +abstract class RxInterface<T> {
  9 + RxInterface([T initial]);
  10 +
  11 + StreamController<T> subject;
  12 +
  13 + /// Adds a listener to stream
  14 + void addListener(Stream<T> rxGetx);
  15 +
  16 + bool get canUpdate;
  17 +
  18 + set value(T val);
  19 +
  20 + T get value;
  21 +
  22 + /// Closes the stream
  23 + // FIXME: shouldn't we expose the returned future?
  24 + void close() => subject?.close();
  25 +
  26 + /// Calls [callback] with current value, when the value changes.
  27 + StreamSubscription<T> listen(ValueCallback<T> callback);
  28 +}
  29 +
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:collection'; 2 import 'dart:collection';
3 import 'dart:math'; 3 import 'dart:math';
4 -  
5 -import 'package:flutter/foundation.dart'; 4 +import 'package:meta/meta.dart';
6 5
7 import '../rx_core/rx_impl.dart'; 6 import '../rx_core/rx_impl.dart';
8 import '../rx_core/rx_interface.dart'; 7 import '../rx_core/rx_interface.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:collection'; 2 import 'dart:collection';
  3 +import 'package:meta/meta.dart';
3 4
4 -import 'package:flutter/foundation.dart';  
5 -  
6 -import '../../../../get.dart'; 5 +import '../rx_core/rx_impl.dart';
7 import '../rx_core/rx_interface.dart'; 6 import '../rx_core/rx_interface.dart';
8 import '../rx_typedefs/rx_typedefs.dart'; 7 import '../rx_typedefs/rx_typedefs.dart';
9 8
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:collection'; 2 import 'dart:collection';
3 -  
4 -import 'package:flutter/foundation.dart'; 3 +import 'package:meta/meta.dart';
5 4
6 import '../rx_core/rx_impl.dart'; 5 import '../rx_core/rx_impl.dart';
7 import '../rx_core/rx_interface.dart'; 6 import '../rx_core/rx_interface.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 -import '../../../../get.dart'; 2 +import 'package:get_core/get_core.dart';
  3 +
3 import '../rx_core/rx_interface.dart'; 4 import '../rx_core/rx_interface.dart';
4 import 'utils/debouncer.dart'; 5 import 'utils/debouncer.dart';
5 6
  1 +name: get_rx
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 +
  10 +
  11 +dependencies:
  12 + get_core:
  13 + path: ../get_core
  14 + get_instance:
  15 + path: ../get_instance
  16 + meta: ">=1.1.0 <2.0.0"
  17 +
  18 +
  19 +dev_dependencies:
  20 +
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_state_manager
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +library get_state_manager;
  2 +
  3 +export 'package:get_instance/get_instance.dart';
  4 +export 'src/rx_flutter/rx_getx_widget.dart';
  5 +export 'src/rx_flutter/rx_obx_widget.dart';
  6 +export 'src/rx_flutter/rx_disposable.dart';
  7 +export 'src/simple/get_state.dart';
  8 +export 'src/simple/get_view.dart';
  9 +export 'src/simple/immutable_state.dart';
  10 +export 'src/simple/mixin_state.dart';
  11 +export 'src/simple/simple_builder.dart';
1 import 'dart:async'; 1 import 'dart:async';
2 2
3 import 'package:flutter/scheduler.dart'; 3 import 'package:flutter/scheduler.dart';
4 -  
5 -import '../rx_typedefs/rx_typedefs.dart';  
6 -  
7 -/// This class is the foundation for all reactive (Rx) classes that makes Get  
8 -/// so powerful.  
9 -/// This interface is the contract that [_RxImpl]<[T]> uses in all it's  
10 -/// subclass.  
11 -abstract class RxInterface<T> {  
12 - RxInterface([T initial]);  
13 -  
14 - StreamController<T> subject;  
15 -  
16 - /// Adds a listener to stream  
17 - void addListener(Stream<T> rxGetx);  
18 -  
19 - bool get canUpdate;  
20 -  
21 - set value(T val);  
22 -  
23 - T get value;  
24 -  
25 - /// Closes the stream  
26 - // FIXME: shouldn't we expose the returned future?  
27 - void close() => subject?.close();  
28 -  
29 - /// Calls [callback] with current value, when the value changes.  
30 - StreamSubscription<T> listen(ValueCallback<T> callback);  
31 -} 4 +import 'package:get_instance/get_instance.dart';
32 5
33 /// Unlike GetxController, which serves to control events on each of its pages, 6 /// Unlike GetxController, which serves to control events on each of its pages,
34 /// GetxService is not automatically disposed (nor can be removed with 7 /// GetxService is not automatically disposed (nor can be removed with
@@ -36,28 +9,9 @@ abstract class RxInterface<T> { @@ -36,28 +9,9 @@ abstract class RxInterface<T> {
36 /// It is ideal for situations where, once started, that service will 9 /// It is ideal for situations where, once started, that service will
37 /// remain in memory, such as Auth control for example. Only way to remove 10 /// remain in memory, such as Auth control for example. Only way to remove
38 /// it is Get.reset(). 11 /// it is Get.reset().
39 -abstract class GetxService extends DisposableInterface {}  
40 -  
41 -/// Special callable class to keep the contract of a regular method, and avoid  
42 -/// overrides if you extend the class that uses it, as Dart has no final  
43 -/// methods.  
44 -/// Used in [DisposableInterface] to avoid the danger of overriding onStart.  
45 -///  
46 -class _InternalFinalCallback<T> {  
47 - T Function() callback;  
48 -  
49 - _InternalFinalCallback();  
50 -  
51 - T call() => callback.call();  
52 -}  
53 -  
54 -abstract class DisposableInterface {  
55 - /// Called at the exact moment the widget is allocated in memory.  
56 - /// It uses an internal "callable" type, to avoid any @overrides in subclases.  
57 - /// This method should be internal and is required to define the  
58 - /// lifetime cycle of the subclass.  
59 - final onStart = _InternalFinalCallback<void>(); 12 +abstract class GetxService extends DisposableInterface with GetxServiceMixin {}
60 13
  14 +abstract class DisposableInterface extends GetLifeCycle {
61 bool _initialized = false; 15 bool _initialized = false;
62 16
63 /// Checks whether the controller has already been initialized. 17 /// Checks whether the controller has already been initialized.
@@ -76,11 +30,13 @@ abstract class DisposableInterface { @@ -76,11 +30,13 @@ abstract class DisposableInterface {
76 30
77 /// Called immediately after the widget is allocated in memory. 31 /// Called immediately after the widget is allocated in memory.
78 /// You might use this to initialize something for the controller. 32 /// You might use this to initialize something for the controller.
  33 + @override
79 void onInit() {} 34 void onInit() {}
80 35
81 /// Called 1 frame after onInit(). It is the perfect place to enter 36 /// Called 1 frame after onInit(). It is the perfect place to enter
82 /// navigation events, like snackbar, dialogs, or a new route, or 37 /// navigation events, like snackbar, dialogs, or a new route, or
83 /// async request. 38 /// async request.
  39 + @override
84 void onReady() async {} 40 void onReady() async {}
85 41
86 /// Called before [onDelete] method. [onClose] might be used to 42 /// Called before [onDelete] method. [onClose] might be used to
@@ -89,28 +45,6 @@ abstract class DisposableInterface { @@ -89,28 +45,6 @@ abstract class DisposableInterface {
89 /// Or dispose objects that can potentially create some memory leaks, 45 /// Or dispose objects that can potentially create some memory leaks,
90 /// like TextEditingControllers, AnimationControllers. 46 /// like TextEditingControllers, AnimationControllers.
91 /// Might be useful as well to persist some data on disk. 47 /// Might be useful as well to persist some data on disk.
  48 + @override
92 FutureOr onClose() async {} 49 FutureOr onClose() async {}
93 } 50 }
94 -  
95 -/// Used like [SingleTickerProviderMixin] but only with Get Controllers.  
96 -/// Simplifies AnimationController creation inside GetxController.  
97 -///  
98 -/// Example:  
99 -///```  
100 -///class SplashController extends GetxController with  
101 -/// SingleGetTickerProviderMixin {  
102 -/// AnimationController _ac;  
103 -///  
104 -/// @override  
105 -/// void onInit() {  
106 -/// final dur = const Duration(seconds: 2);  
107 -/// _ac = AnimationController.unbounded(duration: dur, vsync: this);  
108 -/// _ac.repeat();  
109 -/// _ac.addListener(() => print("Animation Controller value: ${_ac.value}"));  
110 -/// }  
111 -/// ...  
112 -/// ```  
113 -mixin SingleGetTickerProviderMixin on DisposableInterface  
114 - implements TickerProvider {  
115 - Ticker createTicker(TickerCallback onTick) => Ticker(onTick);  
116 -}  
1 import 'dart:async'; 1 import 'dart:async';
2 2
3 import 'package:flutter/widgets.dart'; 3 import 'package:flutter/widgets.dart';
4 -import '../../../core/get_main.dart';  
5 -import '../../../instance/get_instance.dart';  
6 -import '../../../navigation/root/smart_management.dart';  
7 -import '../rx_core/rx_impl.dart';  
8 -import '../rx_core/rx_interface.dart'; 4 +import 'package:get_core/get_core.dart';
  5 +import 'package:get_instance/get_instance.dart';
  6 +import 'package:get_rx/get_rx.dart';
  7 +import 'package:get_state_manager/get_state_manager.dart';
9 8
10 class GetX<T extends DisposableInterface> extends StatefulWidget { 9 class GetX<T extends DisposableInterface> extends StatefulWidget {
11 final Widget Function(T) builder; 10 final Widget Function(T) builder;
1 import 'dart:async'; 1 import 'dart:async';
2 -  
3 import 'package:flutter/widgets.dart'; 2 import 'package:flutter/widgets.dart';
4 -  
5 -import '../rx_core/rx_impl.dart';  
6 -import '../rx_core/rx_interface.dart'; 3 +import 'package:get_rx/get_rx.dart';
7 4
8 typedef WidgetCallback = Widget Function(); 5 typedef WidgetCallback = Widget Function();
9 6
  1 +import 'package:flutter/scheduler.dart';
  2 +import 'package:get_state_manager/get_state_manager.dart';
  3 +
  4 +/// Used like [SingleTickerProviderMixin] but only with Get Controllers.
  5 +/// Simplifies AnimationController creation inside GetxController.
  6 +///
  7 +/// Example:
  8 +///```
  9 +///class SplashController extends GetxController with
  10 +/// SingleGetTickerProviderMixin {
  11 +/// AnimationController _ac;
  12 +///
  13 +/// @override
  14 +/// void onInit() {
  15 +/// final dur = const Duration(seconds: 2);
  16 +/// _ac = AnimationController.unbounded(duration: dur, vsync: this);
  17 +/// _ac.repeat();
  18 +/// _ac.addListener(() => print("Animation Controller value: ${_ac.value}"));
  19 +/// }
  20 +/// ...
  21 +/// ```
  22 +mixin SingleGetTickerProviderMixin on DisposableInterface
  23 + implements TickerProvider {
  24 + Ticker createTicker(TickerCallback onTick) => Ticker(onTick);
  25 +}
1 import 'dart:collection'; 1 import 'dart:collection';
2 -import 'package:flutter/widgets.dart';  
3 -import '../../../state_manager.dart';  
4 -import '../../core/get_main.dart';  
5 -import '../../instance/get_instance.dart';  
6 -import '../../navigation/root/smart_management.dart';  
7 -import '../rx/rx_core/rx_interface.dart'; 2 +
  3 +import 'package:flutter/material.dart';
  4 +import 'package:get_core/get_core.dart';
  5 +import 'package:get_instance/get_instance.dart';
  6 +import 'package:get_state_manager/get_state_manager.dart';
  7 +
8 import 'simple_builder.dart'; 8 import 'simple_builder.dart';
9 9
10 // Changed to VoidCallback. 10 // Changed to VoidCallback.
1 import 'package:flutter/widgets.dart'; 1 import 'package:flutter/widgets.dart';
2 -  
3 -import '../../instance/get_instance.dart'; 2 +import 'package:get_instance/get_instance.dart';
4 3
5 /// GetView is a great way of quickly access your Controller 4 /// GetView is a great way of quickly access your Controller
6 /// without having to call Get.find<AwesomeController>() yourself. 5 /// without having to call Get.find<AwesomeController>() yourself.
1 -import 'package:flutter/widgets.dart';  
2 -  
3 -import '../rx/rx_widgets/rx_obx_widget.dart'; 1 +import 'package:flutter/material.dart';
  2 +import 'package:get_state_manager/get_state_manager.dart';
4 import 'get_state.dart'; 3 import 'get_state.dart';
5 4
6 class MixinBuilder<T extends GetxController> extends StatelessWidget { 5 class MixinBuilder<T extends GetxController> extends StatelessWidget {
  1 +name: get_state_manager
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 + flutter: ">=1.17.0 <2.0.0"
  10 +
  11 +dependencies:
  12 + flutter:
  13 + sdk: flutter
  14 + get_rx:
  15 + path: ../get_rx
  16 + get_instance:
  17 + path: ../get_instance
  18 + get_core:
  19 + path: ../get_core
  20 +
  21 +dev_dependencies:
  22 + flutter_test:
  23 + sdk: flutter
  24 +
  25 +# For information on the generic Dart part of this file, see the
  26 +# following page: https://dart.dev/tools/pub/pubspec
  27 +
  28 +# The following section is specific to Flutter.
  29 +flutter:
  30 +
  31 + # To add assets to your package, add an assets section, like this:
  32 + # assets:
  33 + # - images/a_dot_burr.jpeg
  34 + # - images/a_dot_ham.jpeg
  35 + #
  36 + # For details regarding assets in packages, see
  37 + # https://flutter.dev/assets-and-images/#from-packages
  38 + #
  39 + # An image asset can refer to one or more resolution-specific "variants", see
  40 + # https://flutter.dev/assets-and-images/#resolution-aware.
  41 +
  42 + # To add custom fonts to your package, add a fonts section here,
  43 + # in this "flutter" section. Each entry in this list should have a
  44 + # "family" key with the font family name, and a "fonts" key with a
  45 + # list giving the asset and other descriptors for the font. For
  46 + # example:
  47 + # fonts:
  48 + # - family: Schyler
  49 + # fonts:
  50 + # - asset: fonts/Schyler-Regular.ttf
  51 + # - asset: fonts/Schyler-Italic.ttf
  52 + # style: italic
  53 + # - family: Trajan Pro
  54 + # fonts:
  55 + # - asset: fonts/TrajanPro.ttf
  56 + # - asset: fonts/TrajanPro_Bold.ttf
  57 + # weight: 700
  58 + #
  59 + # For details regarding fonts in packages, see
  60 + # https://flutter.dev/custom-fonts/#from-packages
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.3]
  2 +* Remove get constraints
  3 +
  4 +## [0.0.2]
  5 +* Avoid crash on images
  6 +
  7 +## [0.0.1]
  8 +* Initial release
  1 +MIT License
  2 +
  3 +Copyright (c) 2019 Jonny Borges
  4 +
  5 +Permission is hereby granted, free of charge, to any person obtaining a copy
  6 +of this software and associated documentation files (the "Software"), to deal
  7 +in the Software without restriction, including without limitation the rights
  8 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9 +copies of the Software, and to permit persons to whom the Software is
  10 +furnished to do so, subject to the following conditions:
  11 +
  12 +The above copyright notice and this permission notice shall be included in all
  13 +copies or substantial portions of the Software.
  14 +
  15 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21 +SOFTWARE.
  1 +# get_test
  2 +
  3 +A new Flutter package.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +**/ios/Flutter/.last_build_id
  26 +.dart_tool/
  27 +.flutter-plugins
  28 +.flutter-plugins-dependencies
  29 +.packages
  30 +.pub-cache/
  31 +.pub/
  32 +/build/
  33 +
  34 +# Web related
  35 +lib/generated_plugin_registrant.dart
  36 +
  37 +# Symbolication related
  38 +app.*.symbols
  39 +
  40 +# Obfuscation related
  41 +app.*.map.json
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: app
  1 +# example
  2 +
  3 +A new Flutter project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Flutter application.
  8 +
  9 +A few resources to get you started if this is your first Flutter project:
  10 +
  11 +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
  12 +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
  13 +
  14 +For help getting started with Flutter, view our
  15 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  16 +samples, guidance on mobile development, and a full API reference.
  1 +import 'package:flutter/material.dart';
  2 +import 'package:flutter/widgets.dart';
  3 +import 'package:flutter_test/flutter_test.dart';
  4 +import 'package:get/get.dart';
  5 +import 'package:get_test/get_test.dart';
  6 +
  7 +void main() {
  8 + getTest(
  9 + "test description",
  10 + widgetTest: (tester) async {
  11 + expect('/', Get.currentRoute);
  12 +
  13 + Get.to(Container());
  14 + expect('/Container', Get.currentRoute);
  15 +
  16 + Get.to(Scaffold());
  17 + expect('/Scaffold', Get.currentRoute);
  18 +
  19 + Get.back();
  20 +
  21 + expect('/Container', Get.currentRoute);
  22 + },
  23 + );
  24 +
  25 + testGetX(
  26 + 'GetX test',
  27 + widget: GetX<Controller>(
  28 + init: Controller(),
  29 + builder: (controller) {
  30 + return Text("ban:${controller.count}");
  31 + },
  32 + ),
  33 + test: (e) {
  34 + expect(find.text("ban:0"), findsOneWidget);
  35 + expect(e.count.value, 0);
  36 + },
  37 + );
  38 +
  39 + testGetBuilder(
  40 + 'GetBuilder test',
  41 + widget: GetBuilder<Controller>(
  42 + init: Controller(),
  43 + builder: (controller) {
  44 + return Text("ban:${controller.count}");
  45 + },
  46 + ),
  47 + test: (e) {
  48 + expect(find.text("ban:0"), findsOneWidget);
  49 + expect(e.count.value, 0);
  50 + },
  51 + );
  52 +
  53 + testObx(
  54 + 'Obx test',
  55 + widget: (controller) => Obx(
  56 + () => Text("ban:${controller.count}"),
  57 + ),
  58 + controller: Controller(),
  59 + test: (e) {
  60 + expect(find.text("ban:0"), findsOneWidget);
  61 + expect(e.count.value, 0);
  62 + },
  63 + );
  64 +
  65 + testController<Controller>(
  66 + 'Controller test',
  67 + (controller) {},
  68 + controller: Controller(),
  69 + onInit: (c) {
  70 + c.increment();
  71 + print('onInit');
  72 + },
  73 + onReady: (c) {
  74 + print('onReady');
  75 + c.increment();
  76 + },
  77 + onClose: (c) {
  78 + print('onClose');
  79 + },
  80 + );
  81 +}
  82 +
  83 +class Controller extends GetxController {
  84 + final count = 0.obs;
  85 + void increment() => count.value++;
  86 +
  87 + @override
  88 + void onInit() {
  89 + print('inittt');
  90 + super.onInit();
  91 + }
  92 +
  93 + @override
  94 + void onReady() {
  95 + print('onReady');
  96 + super.onReady();
  97 + }
  98 +
  99 + void onClose() {
  100 + print('onClose');
  101 + }
  102 +}
  1 +name: example
  2 +description: A new Flutter project.
  3 +
  4 +# The following line prevents the package from being accidentally published to
  5 +# pub.dev using `pub publish`. This is preferred for private packages.
  6 +publish_to: 'none' # Remove this line if you wish to publish to pub.dev
  7 +
  8 +# The following defines the version and build number for your application.
  9 +# A version number is three numbers separated by dots, like 1.2.43
  10 +# followed by an optional build number separated by a +.
  11 +# Both the version and the builder number may be overridden in flutter
  12 +# build by specifying --build-name and --build-number, respectively.
  13 +# In Android, build-name is used as versionName while build-number used as versionCode.
  14 +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
  15 +# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
  16 +# Read more about iOS versioning at
  17 +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
  18 +version: 1.0.0+1
  19 +
  20 +environment:
  21 + sdk: ">=2.7.0 <3.0.0"
  22 +
  23 +dependencies:
  24 + flutter:
  25 + sdk: flutter
  26 + get_test:
  27 + path: ../
  28 +
  29 +
  30 + # The following adds the Cupertino Icons font to your application.
  31 + # Use with the CupertinoIcons class for iOS style icons.
  32 + cupertino_icons: ^1.0.0
  33 +
  34 +dev_dependencies:
  35 + flutter_test:
  36 + sdk: flutter
  37 +
  38 +# For information on the generic Dart part of this file, see the
  39 +# following page: https://dart.dev/tools/pub/pubspec
  40 +
  41 +# The following section is specific to Flutter.
  42 +flutter:
  43 +
  44 + # The following line ensures that the Material Icons font is
  45 + # included with your application, so that you can use the icons in
  46 + # the material Icons class.
  47 + uses-material-design: true
  48 +
  49 + # To add assets to your application, add an assets section, like this:
  50 + # assets:
  51 + # - images/a_dot_burr.jpeg
  52 + # - images/a_dot_ham.jpeg
  53 +
  54 + # An image asset can refer to one or more resolution-specific "variants", see
  55 + # https://flutter.dev/assets-and-images/#resolution-aware.
  56 +
  57 + # For details regarding adding assets from package dependencies, see
  58 + # https://flutter.dev/assets-and-images/#from-packages
  59 +
  60 + # To add custom fonts to your application, add a fonts section here,
  61 + # in this "flutter" section. Each entry in this list should have a
  62 + # "family" key with the font family name, and a "fonts" key with a
  63 + # list giving the asset and other descriptors for the font. For
  64 + # example:
  65 + # fonts:
  66 + # - family: Schyler
  67 + # fonts:
  68 + # - asset: fonts/Schyler-Regular.ttf
  69 + # - asset: fonts/Schyler-Italic.ttf
  70 + # style: italic
  71 + # - family: Trajan Pro
  72 + # fonts:
  73 + # - asset: fonts/TrajanPro.ttf
  74 + # - asset: fonts/TrajanPro_Bold.ttf
  75 + # weight: 700
  76 + #
  77 + # For details regarding fonts from package dependencies,
  78 + # see https://flutter.dev/custom-fonts/#from-packages
  1 +import 'package:flutter/material.dart';
  2 +import 'package:flutter/scheduler.dart';
  3 +import 'package:flutter_test/flutter_test.dart';
  4 +import 'package:get/get.dart';
  5 +import 'package:image_test_utils/image_test_utils.dart';
  6 +
  7 +class _Wrapper extends StatelessWidget {
  8 + final Widget child;
  9 + final List<GetPage> getPages;
  10 + final String initialRoute;
  11 +
  12 + const _Wrapper({
  13 + Key key,
  14 + this.child = const Scaffold(),
  15 + this.getPages,
  16 + this.initialRoute,
  17 + }) : super(key: key);
  18 +
  19 + @override
  20 + Widget build(BuildContext context) {
  21 + return GetMaterialApp(
  22 + initialRoute: initialRoute,
  23 + getPages: getPages ?? [GetPage(name: '/', page: () => child)],
  24 + );
  25 + }
  26 +}
  27 +
  28 +void testController<T>(
  29 + String description,
  30 + void Function(T) callback, {
  31 + @required T controller,
  32 + void Function(T) onInit,
  33 + void Function(T) onReady,
  34 + void Function(T) onClose,
  35 + }) {
  36 + test(description, () {
  37 + onInit(controller);
  38 + SchedulerBinding.instance.addPostFrameCallback((f) {
  39 + onReady(controller);
  40 + });
  41 + callback(controller);
  42 + onClose(controller);
  43 + });
  44 +}
  45 +
  46 +Future<T> testGetX<T extends DisposableInterface>(
  47 + String description, {
  48 + @required GetX<T> widget,
  49 + @required void Function(T controller) test,
  50 + }) async {
  51 + T controller;
  52 + testWidgets(description, (tester) async {
  53 + provideMockedNetworkImages(() async {
  54 + await tester.pumpWidget(GetMaterialApp(home: widget));
  55 + final controller = Get.find<T>();
  56 + test(controller);
  57 + });
  58 + });
  59 + return controller;
  60 +}
  61 +
  62 +Future<T> testGetBuilder<T extends GetxController>(
  63 + String description, {
  64 + @required GetBuilder<T> widget,
  65 + @required void Function(T controller) test,
  66 + }) async {
  67 + T controller;
  68 + testWidgets(description, (tester) async {
  69 + provideMockedNetworkImages(() async {
  70 + await tester.pumpWidget(GetMaterialApp(home: widget));
  71 + final controller = Get.find<T>();
  72 + test(controller);
  73 + });
  74 + });
  75 + return controller;
  76 +}
  77 +
  78 +Future<T> testObx<T extends GetxController>(
  79 + String description, {
  80 + @required T controller,
  81 + @required Obx Function(T controller) widget,
  82 + @required void Function(T controller) test,
  83 + }) async {
  84 + testWidgets(description, (tester) async {
  85 + provideMockedNetworkImages(() async {
  86 + await tester.pumpWidget(GetMaterialApp(home: widget(controller)));
  87 + test(controller);
  88 + });
  89 + });
  90 + return controller;
  91 +}
  92 +
  93 +void getTest(
  94 + String description, {
  95 + @required WidgetTesterCallback widgetTest,
  96 + Widget wrapper,
  97 + List<GetPage> getPages,
  98 + String initialRoute = '/',
  99 + bool skip = false,
  100 + Timeout timeout,
  101 + Duration initialTimeout,
  102 + bool semanticsEnabled = true,
  103 + TestVariant<Object> variant = const DefaultTestVariant(),
  104 + dynamic tags,
  105 + }) {
  106 + assert(variant != null);
  107 + assert(variant.values.isNotEmpty);
  108 +
  109 + if (wrapper == null) {
  110 + if (getPages != null) {
  111 + wrapper = _Wrapper(getPages: getPages, initialRoute: initialRoute);
  112 + } else if (initialRoute != null && getPages != null) {
  113 + wrapper = _Wrapper(initialRoute: initialRoute, getPages: getPages);
  114 + } else {
  115 + wrapper = _Wrapper();
  116 + }
  117 + }
  118 +
  119 + testWidgets(
  120 + description,
  121 + (tester) async {
  122 + provideMockedNetworkImages(() async {
  123 + await tester.pumpWidget(wrapper);
  124 + widgetTest(tester);
  125 + });
  126 + },
  127 + skip: skip,
  128 + timeout: timeout,
  129 + initialTimeout: initialTimeout,
  130 + semanticsEnabled: semanticsEnabled,
  131 + variant: variant,
  132 + tags: tags,
  133 + );
  134 +}
  1 +name: get_test
  2 +description: A package that facilitates the creation of tests for applications built with GetX
  3 +version: 0.0.3
  4 +homepage: https://github.com/jonataslaw/getx
  5 +
  6 +environment:
  7 + sdk: ">=2.7.0 <3.0.0"
  8 + flutter: ">=1.17.0 <2.0.0"
  9 +
  10 +dependencies:
  11 + flutter:
  12 + sdk: flutter
  13 + get:
  14 + path: ../../getx
  15 + mockito: ">=3.0.0 <4.0.0"
  16 + image_test_utils: ">=1.0.0 <2.0.0"
  17 + flutter_test:
  18 + sdk: flutter
  19 +
  20 +
  21 +
  22 +
  23 +# For information on the generic Dart part of this file, see the
  24 +# following page: https://dart.dev/tools/pub/pubspec
  25 +
  26 +
  27 +
  28 + # To add assets to your package, add an assets section, like this:
  29 + # assets:
  30 + # - images/a_dot_burr.jpeg
  31 + # - images/a_dot_ham.jpeg
  32 + #
  33 + # For details regarding assets in packages, see
  34 + # https://flutter.dev/assets-and-images/#from-packages
  35 + #
  36 + # An image asset can refer to one or more resolution-specific "variants", see
  37 + # https://flutter.dev/assets-and-images/#resolution-aware.
  38 +
  39 + # To add custom fonts to your package, add a fonts section here,
  40 + # in this "flutter" section. Each entry in this list should have a
  41 + # "family" key with the font family name, and a "fonts" key with a
  42 + # list giving the asset and other descriptors for the font. For
  43 + # example:
  44 + # fonts:
  45 + # - family: Schyler
  46 + # fonts:
  47 + # - asset: fonts/Schyler-Regular.ttf
  48 + # - asset: fonts/Schyler-Italic.ttf
  49 + # style: italic
  50 + # - family: Trajan Pro
  51 + # fonts:
  52 + # - asset: fonts/TrajanPro.ttf
  53 + # - asset: fonts/TrajanPro_Bold.ttf
  54 + # weight: 700
  55 + #
  56 + # For details regarding fonts in packages, see
  57 + # https://flutter.dev/custom-fonts/#from-packages
  1 +# Miscellaneous
  2 +*.class
  3 +*.log
  4 +*.pyc
  5 +*.swp
  6 +.DS_Store
  7 +.atom/
  8 +.buildlog/
  9 +.history
  10 +.svn/
  11 +
  12 +# IntelliJ related
  13 +*.iml
  14 +*.ipr
  15 +*.iws
  16 +.idea/
  17 +
  18 +# The .vscode folder contains launch configuration and tasks you configure in
  19 +# VS Code which you may wish to be included in version control, so this line
  20 +# is commented out by default.
  21 +#.vscode/
  22 +
  23 +# Flutter/Dart/Pub related
  24 +**/doc/api/
  25 +.dart_tool/
  26 +.flutter-plugins
  27 +.flutter-plugins-dependencies
  28 +.packages
  29 +.pub-cache/
  30 +.pub/
  31 +build/
  32 +
  33 +# Android related
  34 +**/android/**/gradle-wrapper.jar
  35 +**/android/.gradle
  36 +**/android/captures/
  37 +**/android/gradlew
  38 +**/android/gradlew.bat
  39 +**/android/local.properties
  40 +**/android/**/GeneratedPluginRegistrant.java
  41 +
  42 +# iOS/XCode related
  43 +**/ios/**/*.mode1v3
  44 +**/ios/**/*.mode2v3
  45 +**/ios/**/*.moved-aside
  46 +**/ios/**/*.pbxuser
  47 +**/ios/**/*.perspectivev3
  48 +**/ios/**/*sync/
  49 +**/ios/**/.sconsign.dblite
  50 +**/ios/**/.tags*
  51 +**/ios/**/.vagrant/
  52 +**/ios/**/DerivedData/
  53 +**/ios/**/Icon?
  54 +**/ios/**/Pods/
  55 +**/ios/**/.symlinks/
  56 +**/ios/**/profile
  57 +**/ios/**/xcuserdata
  58 +**/ios/.generated/
  59 +**/ios/Flutter/App.framework
  60 +**/ios/Flutter/Flutter.framework
  61 +**/ios/Flutter/Flutter.podspec
  62 +**/ios/Flutter/Generated.xcconfig
  63 +**/ios/Flutter/app.flx
  64 +**/ios/Flutter/app.zip
  65 +**/ios/Flutter/flutter_assets/
  66 +**/ios/Flutter/flutter_export_environment.sh
  67 +**/ios/ServiceDefinitions.json
  68 +**/ios/Runner/GeneratedPluginRegistrant.*
  69 +
  70 +# Exceptions to above rules.
  71 +!**/ios/**/default.mode1v3
  72 +!**/ios/**/default.mode2v3
  73 +!**/ios/**/default.pbxuser
  74 +!**/ios/**/default.perspectivev3
  1 +# This file tracks properties of this Flutter project.
  2 +# Used by Flutter tool to assess capabilities and perform upgrades etc.
  3 +#
  4 +# This file should be version controlled and should not be manually edited.
  5 +
  6 +version:
  7 + revision: a27c242b0eea731317cfec5bbdd9d35452ab3ecb
  8 + channel: dev
  9 +
  10 +project_type: package
  1 +## [0.0.1] - TODO: Add release date.
  2 +
  3 +* TODO: Describe initial release.
  1 +TODO: Add your license here.
  1 +# get_utils
  2 +
  3 +A new Flutter package project.
  4 +
  5 +## Getting Started
  6 +
  7 +This project is a starting point for a Dart
  8 +[package](https://flutter.dev/developing-packages/),
  9 +a library module containing code that can be shared easily across
  10 +multiple Flutter or Dart projects.
  11 +
  12 +For help getting started with Flutter, view our
  13 +[online documentation](https://flutter.dev/docs), which offers tutorials,
  14 +samples, guidance on mobile development, and a full API reference.
  1 +export 'src/extensions/export.dart';
  2 +export 'src/get_utils/get_utils.dart';
  3 +export 'src/platform/platform.dart';
  4 +export 'src/queue/get_queue.dart';
1 import 'package:flutter/material.dart'; 1 import 'package:flutter/material.dart';
2 import 'package:flutter/widgets.dart'; 2 import 'package:flutter/widgets.dart';
3 3
4 -import '../../../get.dart'; 4 +import '../platform/platform.dart';
5 5
6 extension ContextExtensionss on BuildContext { 6 extension ContextExtensionss on BuildContext {
7 /// The same of [MediaQuery.of(context).size] 7 /// The same of [MediaQuery.of(context).size]
1 -import '../../../utils.dart';  
2 import '../get_utils/get_utils.dart'; 1 import '../get_utils/get_utils.dart';
3 2
4 extension GetDynamicUtils on dynamic { 3 extension GetDynamicUtils on dynamic {
1 import 'dart:ui'; 1 import 'dart:ui';
2 -import '../../core/get_interface.dart';  
3 -import '../../core/get_main.dart'; 2 +import 'package:get_core/get_core.dart';
4 3
5 extension Trans on String { 4 extension Trans on String {
6 String get tr { 5 String get tr {
1 -import '../../core/get_main.dart'; 1 +import 'package:get_core/get_core.dart';
2 2
3 /// Returns whether a dynamic value PROBABLY 3 /// Returns whether a dynamic value PROBABLY
4 /// has the isEmpty getter/method by checking 4 /// has the isEmpty getter/method by checking
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 // ignore: avoid_web_libraries_in_flutter 2 // ignore: avoid_web_libraries_in_flutter
3 import 'dart:html' as html; 3 import 'dart:html' as html;
4 4
5 -import '../../../utils.dart'; 5 +import '../../get_utils.dart';
6 6
7 html.Navigator _navigator = html.window.navigator; 7 html.Navigator _navigator = html.window.navigator;
8 8
  1 +name: get_utils
  2 +description: A new Flutter package project.
  3 +version: 0.0.1
  4 +author:
  5 +homepage:
  6 +
  7 +environment:
  8 + sdk: ">=2.7.0 <3.0.0"
  9 + flutter: ">=1.17.0 <2.0.0"
  10 +
  11 +dependencies:
  12 + flutter:
  13 + sdk: flutter
  14 + get_core:
  15 + path: ../get_core
  16 +
  17 +dev_dependencies:
  18 + flutter_test:
  19 + sdk: flutter
  20 +
  21 +# For information on the generic Dart part of this file, see the
  22 +# following page: https://dart.dev/tools/pub/pubspec
  23 +
  24 +# The following section is specific to Flutter.
  25 +flutter:
  26 +
  27 + # To add assets to your package, add an assets section, like this:
  28 + # assets:
  29 + # - images/a_dot_burr.jpeg
  30 + # - images/a_dot_ham.jpeg
  31 + #
  32 + # For details regarding assets in packages, see
  33 + # https://flutter.dev/assets-and-images/#from-packages
  34 + #
  35 + # An image asset can refer to one or more resolution-specific "variants", see
  36 + # https://flutter.dev/assets-and-images/#resolution-aware.
  37 +
  38 + # To add custom fonts to your package, add a fonts section here,
  39 + # in this "flutter" section. Each entry in this list should have a
  40 + # "family" key with the font family name, and a "fonts" key with a
  41 + # list giving the asset and other descriptors for the font. For
  42 + # example:
  43 + # fonts:
  44 + # - family: Schyler
  45 + # fonts:
  46 + # - asset: fonts/Schyler-Regular.ttf
  47 + # - asset: fonts/Schyler-Italic.ttf
  48 + # style: italic
  49 + # - family: Trajan Pro
  50 + # fonts:
  51 + # - asset: fonts/TrajanPro.ttf
  52 + # - asset: fonts/TrajanPro_Bold.ttf
  53 + # weight: 700
  54 + #
  55 + # For details regarding fonts in packages, see
  56 + # https://flutter.dev/custom-fonts/#from-packages
  1 +import 'package:flutter_test/flutter_test.dart';
  2 +
  3 +void main() {
  4 + test('adds one to input values', () {});
  5 +}
1 -# Generated by pub  
2 -# See https://dart.dev/tools/pub/glossary#lockfile  
3 -packages:  
4 - async:  
5 - dependency: transitive  
6 - description:  
7 - name: async  
8 - url: "https://pub.dartlang.org"  
9 - source: hosted  
10 - version: "2.5.0-nullsafety"  
11 - boolean_selector:  
12 - dependency: transitive  
13 - description:  
14 - name: boolean_selector  
15 - url: "https://pub.dartlang.org"  
16 - source: hosted  
17 - version: "2.1.0-nullsafety"  
18 - characters:  
19 - dependency: transitive  
20 - description:  
21 - name: characters  
22 - url: "https://pub.dartlang.org"  
23 - source: hosted  
24 - version: "1.1.0-nullsafety.2"  
25 - charcode:  
26 - dependency: transitive  
27 - description:  
28 - name: charcode  
29 - url: "https://pub.dartlang.org"  
30 - source: hosted  
31 - version: "1.2.0-nullsafety"  
32 - clock:  
33 - dependency: transitive  
34 - description:  
35 - name: clock  
36 - url: "https://pub.dartlang.org"  
37 - source: hosted  
38 - version: "1.1.0-nullsafety"  
39 - collection:  
40 - dependency: transitive  
41 - description:  
42 - name: collection  
43 - url: "https://pub.dartlang.org"  
44 - source: hosted  
45 - version: "1.15.0-nullsafety.2"  
46 - effective_dart:  
47 - dependency: "direct dev"  
48 - description:  
49 - name: effective_dart  
50 - url: "https://pub.dartlang.org"  
51 - source: hosted  
52 - version: "1.2.4"  
53 - fake_async:  
54 - dependency: transitive  
55 - description:  
56 - name: fake_async  
57 - url: "https://pub.dartlang.org"  
58 - source: hosted  
59 - version: "1.1.0-nullsafety"  
60 - flutter:  
61 - dependency: "direct main"  
62 - description: flutter  
63 - source: sdk  
64 - version: "0.0.0"  
65 - flutter_test:  
66 - dependency: "direct dev"  
67 - description: flutter  
68 - source: sdk  
69 - version: "0.0.0"  
70 - matcher:  
71 - dependency: transitive  
72 - description:  
73 - name: matcher  
74 - url: "https://pub.dartlang.org"  
75 - source: hosted  
76 - version: "0.12.10-nullsafety"  
77 - meta:  
78 - dependency: transitive  
79 - description:  
80 - name: meta  
81 - url: "https://pub.dartlang.org"  
82 - source: hosted  
83 - version: "1.3.0-nullsafety.2"  
84 - path:  
85 - dependency: transitive  
86 - description:  
87 - name: path  
88 - url: "https://pub.dartlang.org"  
89 - source: hosted  
90 - version: "1.8.0-nullsafety"  
91 - sky_engine:  
92 - dependency: transitive  
93 - description: flutter  
94 - source: sdk  
95 - version: "0.0.99"  
96 - source_span:  
97 - dependency: transitive  
98 - description:  
99 - name: source_span  
100 - url: "https://pub.dartlang.org"  
101 - source: hosted  
102 - version: "1.8.0-nullsafety"  
103 - stack_trace:  
104 - dependency: transitive  
105 - description:  
106 - name: stack_trace  
107 - url: "https://pub.dartlang.org"  
108 - source: hosted  
109 - version: "1.10.0-nullsafety"  
110 - stream_channel:  
111 - dependency: transitive  
112 - description:  
113 - name: stream_channel  
114 - url: "https://pub.dartlang.org"  
115 - source: hosted  
116 - version: "2.1.0-nullsafety"  
117 - string_scanner:  
118 - dependency: transitive  
119 - description:  
120 - name: string_scanner  
121 - url: "https://pub.dartlang.org"  
122 - source: hosted  
123 - version: "1.1.0-nullsafety"  
124 - term_glyph:  
125 - dependency: transitive  
126 - description:  
127 - name: term_glyph  
128 - url: "https://pub.dartlang.org"  
129 - source: hosted  
130 - version: "1.2.0-nullsafety"  
131 - test_api:  
132 - dependency: transitive  
133 - description:  
134 - name: test_api  
135 - url: "https://pub.dartlang.org"  
136 - source: hosted  
137 - version: "0.2.19-nullsafety"  
138 - typed_data:  
139 - dependency: transitive  
140 - description:  
141 - name: typed_data  
142 - url: "https://pub.dartlang.org"  
143 - source: hosted  
144 - version: "1.3.0-nullsafety.2"  
145 - vector_math:  
146 - dependency: transitive  
147 - description:  
148 - name: vector_math  
149 - url: "https://pub.dartlang.org"  
150 - source: hosted  
151 - version: "2.1.0-nullsafety.2"  
152 -sdks:  
153 - dart: ">=2.10.0-0.0.dev <2.10.0"