├── .flutter-plugins
├── .idea
├── Flutter Create.iml
├── codeStyles
│ └── Project.xml
├── libraries
│ ├── Dart_Packages.xml
│ ├── Dart_SDK.xml
│ └── Flutter_Plugins.xml
├── markdown-navigator.xml
├── markdown-navigator
│ └── profiles_settings.xml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── .packages
├── Ces.json
├── Ces.png
├── FlutterEvent1.gif
├── FlutterEvent2.gif
├── Google.json
├── Google.png
├── LICENCE.md
├── README.md
├── Sample.json
├── Sample.png
├── android
├── .gradle
│ ├── 4.10.2
│ │ ├── fileChanges
│ │ │ └── last-build.bin
│ │ ├── fileContent
│ │ │ └── fileContent.lock
│ │ ├── fileHashes
│ │ │ ├── fileHashes.bin
│ │ │ ├── fileHashes.lock
│ │ │ └── resourceHashesCache.bin
│ │ ├── gc.properties
│ │ ├── javaCompile
│ │ │ ├── classAnalysis.bin
│ │ │ ├── jarAnalysis.bin
│ │ │ ├── javaCompile.lock
│ │ │ └── taskHistory.bin
│ │ └── taskHistory
│ │ │ ├── taskHistory.bin
│ │ │ └── taskHistory.lock
│ ├── buildOutputCleanup
│ │ ├── buildOutputCleanup.lock
│ │ ├── cache.properties
│ │ └── outputFiles.bin
│ └── vcs-1
│ │ └── gc.properties
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── io
│ │ │ │ └── flutter
│ │ │ │ └── plugins
│ │ │ │ └── GeneratedPluginRegistrant.java
│ │ ├── kotlin
│ │ │ └── spice
│ │ │ │ └── flutter_create_events
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── flutter_create_events_android.iml
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── local.properties
└── settings.gradle
├── flutter_create_events.iml
├── ios
├── .symlinks
│ ├── flutter
│ └── plugins
│ │ ├── qr_reader
│ │ └── shared_preferences
├── Flutter
│ ├── App.framework
│ │ ├── App
│ │ ├── Info.plist
│ │ └── flutter_assets
│ │ │ ├── AssetManifest.json
│ │ │ ├── FontManifest.json
│ │ │ ├── LICENSE
│ │ │ ├── fonts
│ │ │ └── MaterialIcons-Regular.ttf
│ │ │ ├── isolate_snapshot_data
│ │ │ ├── kernel_blob.bin
│ │ │ ├── packages
│ │ │ └── cupertino_icons
│ │ │ │ └── assets
│ │ │ │ └── CupertinoIcons.ttf
│ │ │ └── vm_snapshot_data
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ ├── Flutter.framework
│ │ ├── Flutter
│ │ ├── Headers
│ │ │ ├── Flutter.h
│ │ │ ├── FlutterAppDelegate.h
│ │ │ ├── FlutterBinaryMessenger.h
│ │ │ ├── FlutterCallbackCache.h
│ │ │ ├── FlutterChannels.h
│ │ │ ├── FlutterCodecs.h
│ │ │ ├── FlutterDartProject.h
│ │ │ ├── FlutterEngine.h
│ │ │ ├── FlutterHeadlessDartRunner.h
│ │ │ ├── FlutterMacros.h
│ │ │ ├── FlutterPlatformViews.h
│ │ │ ├── FlutterPlugin.h
│ │ │ ├── FlutterPluginAppLifeCycleDelegate.h
│ │ │ ├── FlutterTexture.h
│ │ │ └── FlutterViewController.h
│ │ ├── Info.plist
│ │ ├── Modules
│ │ │ └── module.modulemap
│ │ └── icudtl.dat
│ ├── Generated.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Pods
│ ├── Local Podspecs
│ │ ├── Flutter.podspec.json
│ │ ├── qr_reader.podspec.json
│ │ └── shared_preferences.podspec.json
│ ├── Pods.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcuserdata
│ │ │ └── noelhome.xcuserdatad
│ │ │ └── xcschemes
│ │ │ ├── Pods-Runner.xcscheme
│ │ │ ├── qr_reader.xcscheme
│ │ │ ├── shared_preferences.xcscheme
│ │ │ └── xcschememanagement.plist
│ └── Target Support Files
│ │ ├── Pods-Runner
│ │ ├── Info.plist
│ │ ├── Pods-Runner-acknowledgements.markdown
│ │ ├── Pods-Runner-acknowledgements.plist
│ │ ├── Pods-Runner-dummy.m
│ │ ├── Pods-Runner-frameworks.sh
│ │ ├── Pods-Runner-resources.sh
│ │ ├── Pods-Runner-umbrella.h
│ │ ├── Pods-Runner.debug.xcconfig
│ │ ├── Pods-Runner.modulemap
│ │ ├── Pods-Runner.profile.xcconfig
│ │ └── Pods-Runner.release.xcconfig
│ │ ├── qr_reader
│ │ ├── Info.plist
│ │ ├── qr_reader-dummy.m
│ │ ├── qr_reader-prefix.pch
│ │ ├── qr_reader-umbrella.h
│ │ ├── qr_reader.modulemap
│ │ └── qr_reader.xcconfig
│ │ └── shared_preferences
│ │ ├── Info.plist
│ │ ├── shared_preferences-dummy.m
│ │ ├── shared_preferences-prefix.pch
│ │ ├── shared_preferences-umbrella.h
│ │ ├── shared_preferences.modulemap
│ │ └── shared_preferences.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
│ └── xcuserdata
│ │ └── noelhome.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
├── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── GeneratedPluginRegistrant.h
│ ├── GeneratedPluginRegistrant.m
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── ServiceDefinitions.json
├── lib
└── main.dart
├── pubspec.lock
├── pubspec.yaml
└── sample_json.json
/.flutter-plugins:
--------------------------------------------------------------------------------
1 | qr_reader=/Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/qr_reader-0.1.3/
2 | shared_preferences=/Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.1+2/
3 |
--------------------------------------------------------------------------------
/.idea/Flutter Create.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_Packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_SDK.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.idea/libraries/Flutter_Plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/.idea/markdown-navigator.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/.idea/markdown-navigator/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 | 1556808291157
147 |
148 |
149 | 1556808291157
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
--------------------------------------------------------------------------------
/.packages:
--------------------------------------------------------------------------------
1 | # Generated by pub on 2019-05-02 10:31:52.600834.
2 | async:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.0.8/lib/
3 | boolean_selector:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.4/lib/
4 | charcode:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
5 | collection:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
6 | cupertino_icons:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.2/lib/
7 | flutter:file:///Users/noelhome/Documents/flutter/packages/flutter/lib/
8 | flutter_test:file:///Users/noelhome/Documents/flutter/packages/flutter_test/lib/
9 | http:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+1/lib/
10 | http_parser:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3/lib/
11 | matcher:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.3+1/lib/
12 | meta:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.6/lib/
13 | path:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.2/lib/
14 | pedantic:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.4.0/lib/
15 | qr_reader:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/qr_reader-0.1.3/lib/
16 | quiver:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.1/lib/
17 | shared_preferences:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.1+2/lib/
18 | sky_engine:file:///Users/noelhome/Documents/flutter/bin/cache/pkg/sky_engine/lib/
19 | source_span:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.4/lib/
20 | stack_trace:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
21 | stream_channel:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-1.6.8/lib/
22 | string_scanner:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.4/lib/
23 | term_glyph:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
24 | test_api:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.2/lib/
25 | typed_data:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
26 | vector_math:file:///Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
27 | flutter_create_events:lib/
28 |
--------------------------------------------------------------------------------
/Ces.json:
--------------------------------------------------------------------------------
1 | {
2 | "primary color" :"#272728",
3 | "accent color" :"#44c8f4",
4 | "background color" :"#272728",
5 | "icon color" :"#858585",
6 | "app title":"CES 2019",
7 | "brightness" :"dark",
8 | "font": "https://github.com/google/fonts/raw/master/ofl/oswald/Oswald-Regular.ttf",
9 | "tabs": [{
10 | "tab title": "Mon\n7",
11 | "items": [
12 | {
13 | "time": "\n8-11 AM\n",
14 | "event title": "Hover Boards",
15 | "description": "Laguna Bay Area"
16 | },
17 | {
18 | "time": "\n12-1 PM\n",
19 | "event title": "Electric Cars",
20 | "description": "Sunset Boulevard"
21 | },
22 | {
23 | "time": "\n1-3 PM\n",
24 | "event title": "Lightsaber Technology",
25 | "description": "Century Falcon"
26 | },
27 | {
28 | "time": "\n3-5 PM\n",
29 | "event title": "Phones 3 Notches",
30 | "description": "West Side"
31 | },
32 | {
33 | "time": "\n5-6 PM\n",
34 | "event title": "Camera and Stands",
35 | "description": "Scenic Drive Point"
36 | },
37 | {
38 | "time": "\n10-11 PM\n",
39 | "event title": "Flutter Apps",
40 | "description": "Cloud 9"
41 | }
42 | ]
43 | },
44 | {
45 | "tab title": "Tue\n8",
46 | "items": [
47 | {
48 | "time": "\n7-9 AM\n",
49 | "event title": "Self Cooking Eggs",
50 | "description": "Waffle House"
51 | },
52 | {
53 | "time": "\n9-11 AM\n",
54 | "event title": "Manual Bicycles",
55 | "description": "Bay Area"
56 | },
57 | {
58 | "time": "\n3-5 PM\n",
59 | "event title": "Self Winding Watches",
60 | "description": "Golden Gate Bridge"
61 | }
62 | ]
63 | },
64 | {
65 | "tab title": "Wed\n9",
66 | "items": [
67 | {
68 | "time": "\n1-5 PM\n",
69 | "event title": "Rocket Ship Expo",
70 | "description": "The Grassy Area Near I-45"
71 | },
72 | {
73 | "time": "\n5-6 PM\n",
74 | "event title": "Coding Help",
75 | "description": "The IT Shop Down the Street"
76 | }
77 | ]
78 | },
79 | {
80 | "tab title": "Thu\n10",
81 | "items": [
82 | {
83 | "time": "\n8-10 AM\n",
84 | "event title": "Aggie Time",
85 | "description": "Rudder Tower"
86 | }
87 | ]
88 | }
89 | ]
90 | }
--------------------------------------------------------------------------------
/Ces.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/Ces.png
--------------------------------------------------------------------------------
/FlutterEvent1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/FlutterEvent1.gif
--------------------------------------------------------------------------------
/FlutterEvent2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/FlutterEvent2.gif
--------------------------------------------------------------------------------
/Google.json:
--------------------------------------------------------------------------------
1 | {
2 | "primary color" :"#FFFFFF",
3 | "accent color" :"#4285F4",
4 | "background color" :"#FFFFFF",
5 | "icon color" :"#F4B400",
6 | "app title":"Google I/O 2018",
7 | "brightness" :"light",
8 | "font": "https://github.com/google/fonts/raw/master/apache/roboto/Roboto-Regular.ttf",
9 | "tabs": [{
10 | "tab title": "Day 1",
11 | "items": [
12 | {
13 | "time": "11:20\nAM",
14 | "event title": "Keynote Party",
15 | "description": "Event 1 of Tab 1"
16 | },
17 | {
18 | "time": "12:00\nPM",
19 | "event title": "Google Key Note",
20 | "description": "Tue, May 8 / 1 hour/ Location 1"
21 | },
22 | {
23 | "time": "1:30\nPM",
24 | "event title": "Flutter Cupertino",
25 | "description": "Tue, May 8 / 1 hour / Location 2"
26 | },
27 | {
28 | "time": "1:30\nPM",
29 | "event title": "Code Labs",
30 | "description": "Tue, May 8 / 1 hour / Location 5"
31 | },
32 | {
33 | "time": "2:45\nPM",
34 | "event title": "Developer Keynote",
35 | "description": "Tue, May 8 / 1 hour / Location 3"
36 | },
37 | {
38 | "time": "4:00\nPM",
39 | "event title": "Flutter Apps",
40 | "description": "Tue, May 8 / 1 hour / Location 7"
41 | }
42 | ]
43 | },
44 | {
45 | "tab title": "Day 2",
46 | "items": [
47 | {
48 | "time": "10:30\nAM",
49 | "event title": "UI with Flutter",
50 | "description": "Wed, May 9 / 1 hour / Location Stage"
51 | },
52 | {
53 | "time": "4:30\nPM",
54 | "event title": "Super Web Development",
55 | "description": "Wed, May 9 / 1 hour / Location Stage"
56 | },
57 | {
58 | "time": "8:30\nPM",
59 | "event title": "Flutter Fun Stuff",
60 | "description": "Wed, May 9 / 1 hour / Location Office"
61 | }
62 | ]
63 | },
64 | {
65 | "tab title": "Day 3",
66 | "items": [
67 | {
68 | "time": "10:30\nAM",
69 | "event title": "Widgets, Widgets, and Widgets",
70 | "description": "Thu, May 10 / 1 hour / Location 2"
71 | },
72 | {
73 | "time": "10:30\nAM",
74 | "event title": "Codelabs",
75 | "description": "Thu, May 10 / 1 hour / Location 1"
76 | },
77 | {
78 | "time": "12:30\nPM",
79 | "event title": "Android Studio and Vs Code",
80 | "description": "Thu, May 10 / 1 hour / Location 6"
81 | },
82 | {
83 | "time": "5:30\nPM",
84 | "event title": "Firebase and Flutter",
85 | "description": "Thu, May 10 / 1 hour / Location Stage"
86 | }
87 | ]
88 | }
89 | ]
90 | }
--------------------------------------------------------------------------------
/Google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/Google.png
--------------------------------------------------------------------------------
/LICENCE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) [2019] [Noel Jacob]
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.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter Events
2 | This App is a schedule app for conferences and large events. A user can easily access the schedule of the event they are attending and the organizers do not need to code at all to make this happen.
3 |
4 |  
5 |
6 | ## Ideal Use Case
7 | The ideal use case of this app is that a user is going to a conference and they would like to have the schedule of the conference on their phone. The conference organiser would need to put a QR code somewhere(booklet, id-badge, website). The user would pull out their device and scan the QR code, and they would have the schedule of the event. On the part of the event organisers, they would only need to create a json file(like the sample) that has all of the data, host it somewhere(like http://myjson.com/) and create a qr code(using something like https://www.qr-code-generator.com/). This is all they would need to have their own conference app (zero coding required). There are plenty of customization available through the json file to personalize the schedule.
8 |
9 | ## How to Use the App(User)
10 | When you open the app you will see a button to scan the qr code. When you click it, your camera will open can you can scan a qr code(If there is an error page, please quit the app, restart, and try again). Note that internet access is required for this app. Once the data is loaded, you will see the schedule of your event. Once you scan your app, the event will be remembered so next time you open the app, you will see your event(no internet needed for this). If you want to scan a different qr from the event page, just click the camera at the top right hand corner and the camera will be opened and you can scan the qr code for a different event.
11 |
12 | ## How to Set up the Qr code(Event Organiser)
13 | Create a JSON File based on sample_json.json included in the zip file. That file will explain what each field is expecting. You can customize the theme by your choice of font, colors, and brightness. Once you have created the json file, it should be hosted at some url. The qr code should be a link to that url.
14 |
15 | ## Information for using the App
16 | The app has been tested on android(Essential Ph-1) but should be usable on iOS as there is no platform specific code. I have included 3 sample schedules with the app. The QR codes from them are Ces.png, Google.png, Sample.png. The json files that generate these schedules are also included and are named similarly. The first two are made to look similar to schedules from apps found on the play story to show the flexibility of the customization options. The last one is my own sample schedule.
17 | - The Ces.png creates a schedule that mimics the theme of the CES 2019 app
18 | - The Google.png creates a schedule that mimics the theme of the Google IO 2018 app
19 | To test the app, you can also create your own json file based on the sample and qr code from hosted link to create your own schedule.
20 |
21 | ## Flutter Create
22 | This app was created as my submission for #FlutterCreate. If the spaces and newline characters are removed, the main dart file will be under the 5K limit.
23 |
24 | ## Tools Used
25 | - Flutter
26 | - Android Studio
27 | - http://myjson.com to host the json
28 | - https://www.qr-code-generator.com to create the QR codes
29 |
30 | # Author and License
31 | This app was created by Noel Jacob (noejac123@gmail.com), from Houston Texas.
32 | This app is license under MIT open source, see LICENSE.md for more details.
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Sample.json:
--------------------------------------------------------------------------------
1 | {
2 | "primary color" :"#0C8346",
3 | "accent color" :"#86E7B8",
4 | "background color" :"#FDFFFC" ,
5 | "icon color" :"#FCEFEF",
6 | "app title":"App Title",
7 | "brightness" :"light",
8 | "font": "https://github.com/google/fonts/raw/master/ofl/pacifico/Pacifico-Regular.ttf",
9 | "tabs": [{
10 | "tab title": "Monday",
11 | "items": [
12 | {
13 | "time": "\nMorning\n",
14 | "event title": "First Event",
15 | "description": "The first event is here"
16 | },
17 | {
18 | "time": "\nEvening\n",
19 | "event title": "Second Event",
20 | "description": "The second event is here"
21 | }
22 | ]
23 | },
24 | {
25 | "tab title": "Tuesday",
26 | "items": [
27 | {
28 | "time": "\nMorning\n",
29 | "event title": "Third event",
30 | "description": "The third event is here"
31 | },
32 | {
33 | "time": "\nAfternoon\n",
34 | "event title": "Fourth Event",
35 | "description": "The fourth event is here"
36 | },
37 | {
38 | "time": "\nEvening\n",
39 | "event title": "Fifth Event",
40 | "description": "The fifth event is here"
41 | }
42 | ]
43 | }
44 | ]
45 | }
--------------------------------------------------------------------------------
/Sample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/Sample.png
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/fileChanges/last-build.bin:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/fileContent/fileContent.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/fileContent/fileContent.lock
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/fileHashes/fileHashes.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/fileHashes/fileHashes.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/fileHashes/fileHashes.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/fileHashes/fileHashes.lock
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/fileHashes/resourceHashesCache.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/fileHashes/resourceHashesCache.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/gc.properties:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/gc.properties
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/javaCompile/classAnalysis.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/javaCompile/classAnalysis.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/javaCompile/jarAnalysis.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/javaCompile/jarAnalysis.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/javaCompile/javaCompile.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/javaCompile/javaCompile.lock
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/javaCompile/taskHistory.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/javaCompile/taskHistory.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/taskHistory/taskHistory.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/taskHistory/taskHistory.bin
--------------------------------------------------------------------------------
/android/.gradle/4.10.2/taskHistory/taskHistory.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/4.10.2/taskHistory/taskHistory.lock
--------------------------------------------------------------------------------
/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock
--------------------------------------------------------------------------------
/android/.gradle/buildOutputCleanup/cache.properties:
--------------------------------------------------------------------------------
1 | #Mon Mar 04 18:28:15 CST 2019
2 | gradle.version=4.10.2
3 |
--------------------------------------------------------------------------------
/android/.gradle/buildOutputCleanup/outputFiles.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/buildOutputCleanup/outputFiles.bin
--------------------------------------------------------------------------------
/android/.gradle/vcs-1/gc.properties:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/.gradle/vcs-1/gc.properties
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "spice.flutter_create_events"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
66 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
67 | }
68 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
9 |
10 |
14 |
21 |
25 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:
--------------------------------------------------------------------------------
1 | package io.flutter.plugins;
2 |
3 | import io.flutter.plugin.common.PluginRegistry;
4 | import io.github.ponnamkarthik.qrcodereader.QRCodeReaderPlugin;
5 | import io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin;
6 |
7 | /**
8 | * Generated file. Do not edit.
9 | */
10 | public final class GeneratedPluginRegistrant {
11 | public static void registerWith(PluginRegistry registry) {
12 | if (alreadyRegisteredWith(registry)) {
13 | return;
14 | }
15 | QRCodeReaderPlugin.registerWith(registry.registrarFor("io.github.ponnamkarthik.qrcodereader.QRCodeReaderPlugin"));
16 | SharedPreferencesPlugin.registerWith(registry.registrarFor("io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin"));
17 | }
18 |
19 | private static boolean alreadyRegisteredWith(PluginRegistry registry) {
20 | final String key = GeneratedPluginRegistrant.class.getCanonicalName();
21 | if (registry.hasPlugin(key)) {
22 | return true;
23 | }
24 | registry.registrarFor(key);
25 | return false;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/spice/flutter_create_events/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package spice.flutter_create_events
2 |
3 | import android.os.Bundle
4 |
5 | import io.flutter.app.FlutterActivity
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun onCreate(savedInstanceState: Bundle?) {
10 | super.onCreate(savedInstanceState)
11 | GeneratedPluginRegistrant.registerWith(this)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.2.71'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.2.1'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/flutter_create_events_android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
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 "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
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
91 |
--------------------------------------------------------------------------------
/android/local.properties:
--------------------------------------------------------------------------------
1 | sdk.dir=/Users/noelhome/Library/Android/sdk
2 | flutter.sdk=/Users/noelhome/Documents/flutter
3 | flutter.buildMode=release
4 | flutter.versionName=1.0.0
5 | flutter.versionCode=1
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/flutter_create_events.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ios/.symlinks/flutter:
--------------------------------------------------------------------------------
1 | /Users/noelhome/Documents/flutter/bin/cache/artifacts/engine
--------------------------------------------------------------------------------
/ios/.symlinks/plugins/qr_reader:
--------------------------------------------------------------------------------
1 | /Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/qr_reader-0.1.3
--------------------------------------------------------------------------------
/ios/.symlinks/plugins/shared_preferences:
--------------------------------------------------------------------------------
1 | /Users/noelhome/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.1+2
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/App:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/App
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/AssetManifest.json:
--------------------------------------------------------------------------------
1 | {"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"]}
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/FontManifest.json:
--------------------------------------------------------------------------------
1 | [{"fonts":[{"asset":"fonts/MaterialIcons-Regular.ttf"}],"family":"MaterialIcons"},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]}]
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/fonts/MaterialIcons-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/flutter_assets/fonts/MaterialIcons-Regular.ttf
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/isolate_snapshot_data:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/flutter_assets/isolate_snapshot_data
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/kernel_blob.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/flutter_assets/kernel_blob.bin
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
--------------------------------------------------------------------------------
/ios/Flutter/App.framework/flutter_assets/vm_snapshot_data:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/App.framework/flutter_assets/vm_snapshot_data
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Flutter:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/Flutter.framework/Flutter
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/Flutter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTER_H_
6 | #define FLUTTER_FLUTTER_H_
7 |
8 | /**
9 | BREAKING CHANGES:
10 |
11 | December 17, 2018:
12 | - Changed designated initializer on FlutterEngine
13 |
14 | October 5, 2018:
15 | - Removed FlutterNavigationController.h/.mm
16 | - Changed return signature of `FlutterDartHeadlessCodeRunner.run*` from void
17 | to bool
18 | - Removed HeadlessPlatformViewIOS
19 | - Marked FlutterDartHeadlessCodeRunner deprecated
20 |
21 | August 31, 2018: Marked -[FlutterDartProject
22 | initFromDefaultSourceForConfiguration] and FlutterStandardBigInteger as
23 | unavailable.
24 |
25 | July 26, 2018: Marked -[FlutterDartProject
26 | initFromDefaultSourceForConfiguration] deprecated.
27 |
28 | February 28, 2018: Removed "initWithFLXArchive" and
29 | "initWithFLXArchiveWithScriptSnapshot".
30 |
31 | January 15, 2018: Marked "initWithFLXArchive" and
32 | "initWithFLXArchiveWithScriptSnapshot" as unavailable following the
33 | deprecation from December 11, 2017. Scheduled to be removed on February
34 | 19, 2018.
35 |
36 | January 09, 2018: Deprecated "FlutterStandardBigInteger" and its use in
37 | "FlutterStandardMessageCodec" and "FlutterStandardMethodCodec". Scheduled to
38 | be marked as unavailable once the deprecation has been available on the
39 | flutter/flutter alpha branch for four weeks. "FlutterStandardBigInteger" was
40 | needed because the Dart 1.0 int type had no size limit. With Dart 2.0, the
41 | int type is a fixed-size, 64-bit signed integer. If you need to communicate
42 | larger integers, use NSString encoding instead.
43 |
44 | December 11, 2017: Deprecated "initWithFLXArchive" and
45 | "initWithFLXArchiveWithScriptSnapshot" and scheculed the same to be marked as
46 | unavailable on January 15, 2018. Instead, "initWithFlutterAssets" and
47 | "initWithFlutterAssetsWithScriptSnapshot" should be used. The reason for this
48 | change is that the FLX archive will be deprecated and replaced with a flutter
49 | assets directory containing the same files as the FLX did.
50 |
51 | November 29, 2017: Added a BREAKING CHANGES section.
52 | */
53 |
54 | #include "FlutterAppDelegate.h"
55 | #include "FlutterBinaryMessenger.h"
56 | #include "FlutterCallbackCache.h"
57 | #include "FlutterChannels.h"
58 | #include "FlutterCodecs.h"
59 | #include "FlutterDartProject.h"
60 | #include "FlutterEngine.h"
61 | #include "FlutterHeadlessDartRunner.h"
62 | #include "FlutterMacros.h"
63 | #include "FlutterPlatformViews.h"
64 | #include "FlutterPlugin.h"
65 | #include "FlutterPluginAppLifeCycleDelegate.h"
66 | #include "FlutterTexture.h"
67 | #include "FlutterViewController.h"
68 |
69 | #endif // FLUTTER_FLUTTER_H_
70 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERAPPDELEGATE_H_
6 | #define FLUTTER_FLUTTERAPPDELEGATE_H_
7 |
8 | #import
9 |
10 | #include "FlutterMacros.h"
11 | #include "FlutterPlugin.h"
12 |
13 | /**
14 | * `UIApplicationDelegate` subclass for simple apps that want default behavior.
15 | *
16 | * This class implements the following behaviors:
17 | * * Status bar touches are forwarded to the key window's root view
18 | * `FlutterViewController`, in order to trigger scroll to top.
19 | * * Keeps the Flutter connection open in debug mode when the phone screen
20 | * locks.
21 | *
22 | * App delegates for Flutter applications are *not* required to inherit from
23 | * this class. Developers of custom app delegate classes should copy and paste
24 | * code as necessary from FlutterAppDelegate.mm.
25 | */
26 | FLUTTER_EXPORT
27 | @interface FlutterAppDelegate
28 | : UIResponder
29 |
30 | @property(strong, nonatomic) UIWindow* window;
31 |
32 | @end
33 |
34 | #endif // FLUTTER_FLUTTERDARTPROJECT_H_
35 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterBinaryMessenger.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERBINARYMESSENGER_H_
6 | #define FLUTTER_FLUTTERBINARYMESSENGER_H_
7 |
8 | #import
9 |
10 | #include "FlutterMacros.h"
11 |
12 | NS_ASSUME_NONNULL_BEGIN
13 | /**
14 | * A message reply callback.
15 | *
16 | * Used for submitting a binary reply back to a Flutter message sender. Also used
17 | * in for handling a binary message reply received from Flutter.
18 | *
19 | * @param reply The reply.
20 | */
21 | typedef void (^FlutterBinaryReply)(NSData* _Nullable reply);
22 |
23 | /**
24 | * A strategy for handling incoming binary messages from Flutter and to send
25 | * asynchronous replies back to Flutter.
26 | *
27 | * @param message The message.
28 | * @param reply A callback for submitting an asynchronous reply to the sender.
29 | */
30 | typedef void (^FlutterBinaryMessageHandler)(NSData* _Nullable message, FlutterBinaryReply reply);
31 |
32 | /**
33 | * A facility for communicating with the Flutter side using asynchronous message
34 | * passing with binary messages.
35 | *
36 | * Implementated by:
37 | * - `FlutterBasicMessageChannel`, which supports communication using structured
38 | * messages.
39 | * - `FlutterMethodChannel`, which supports communication using asynchronous
40 | * method calls.
41 | * - `FlutterEventChannel`, which supports commuication using event streams.
42 | */
43 | FLUTTER_EXPORT
44 | @protocol FlutterBinaryMessenger
45 | /**
46 | * Sends a binary message to the Flutter side on the specified channel, expecting
47 | * no reply.
48 | *
49 | * @param channel The channel name.
50 | * @param message The message.
51 | */
52 | - (void)sendOnChannel:(NSString*)channel message:(NSData* _Nullable)message;
53 |
54 | /**
55 | * Sends a binary message to the Flutter side on the specified channel, expecting
56 | * an asynchronous reply.
57 | *
58 | * @param channel The channel name.
59 | * @param message The message.
60 | * @param callback A callback for receiving a reply.
61 | */
62 | - (void)sendOnChannel:(NSString*)channel
63 | message:(NSData* _Nullable)message
64 | binaryReply:(FlutterBinaryReply _Nullable)callback
65 | // TODO: Add macOS support for replies once
66 | // https://github.com/flutter/flutter/issues/18852 is fixed.
67 | API_UNAVAILABLE(macos);
68 |
69 | /**
70 | * Registers a message handler for incoming binary messages from the Flutter side
71 | * on the specified channel.
72 | *
73 | * Replaces any existing handler. Use a `nil` handler for unregistering the
74 | * existing handler.
75 | *
76 | * @param channel The channel name.
77 | * @param handler The message handler.
78 | */
79 | - (void)setMessageHandlerOnChannel:(NSString*)channel
80 | binaryMessageHandler:(FlutterBinaryMessageHandler _Nullable)handler;
81 | @end
82 | NS_ASSUME_NONNULL_END
83 | #endif // FLUTTER_FLUTTERBINARYMESSENGER_H_
84 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterCallbackCache.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERCALLBACKCACHE_H_
6 | #define FLUTTER_FLUTTERCALLBACKCACHE_H_
7 |
8 | #import
9 |
10 | #include "FlutterMacros.h"
11 |
12 | /**
13 | * An object containing the result of `FlutterCallbackCache`'s `lookupCallbackInformation`
14 | * method.
15 | */
16 | FLUTTER_EXPORT
17 | @interface FlutterCallbackInformation : NSObject
18 | /**
19 | * The name of the callback.
20 | */
21 | @property(retain) NSString* callbackName;
22 | /**
23 | * The class name of the callback.
24 | */
25 | @property(retain) NSString* callbackClassName;
26 | /**
27 | * The library path of the callback.
28 | */
29 | @property(retain) NSString* callbackLibraryPath;
30 | @end
31 |
32 | /**
33 | * The cache containing callback information for spawning a
34 | * `FlutterHeadlessDartRunner`.
35 | */
36 | FLUTTER_EXPORT
37 | @interface FlutterCallbackCache : NSObject
38 | /**
39 | * Returns the callback information for the given callback handle.
40 | * This callback information can be used when spawning a
41 | * `FlutterHeadlessDartRunner`.
42 | *
43 | * @param handle The handle for a callback, provided by the
44 | * Dart method `PluginUtilities.getCallbackHandle`.
45 | * @return A `FlutterCallbackInformation` object which contains the name of the
46 | * callback, the name of the class in which the callback is defined, and the
47 | * path of the library which contains the callback. If the provided handle is
48 | * invalid, nil is returned.
49 | */
50 | + (FlutterCallbackInformation*)lookupCallbackInformation:(int64_t)handle;
51 |
52 | @end
53 |
54 | #endif // FLUTTER_FLUTTERCALLBACKCACHE_H_
55 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterDartProject.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERDARTPROJECT_H_
6 | #define FLUTTER_FLUTTERDARTPROJECT_H_
7 |
8 | #import
9 |
10 | #include "FlutterMacros.h"
11 |
12 | /**
13 | * A set of Flutter and Dart assets used by a `FlutterEngine` to initialize execution.
14 | */
15 | FLUTTER_EXPORT
16 | @interface FlutterDartProject : NSObject
17 |
18 | /**
19 | * Initializes a Flutter Dart project from a bundle.
20 | */
21 | - (instancetype)initWithPrecompiledDartBundle:(NSBundle*)bundle NS_DESIGNATED_INITIALIZER;
22 |
23 | /**
24 | * Unavailable - use `init` instead.
25 | */
26 | - (instancetype)initFromDefaultSourceForConfiguration FLUTTER_UNAVAILABLE("Use -init instead.");
27 |
28 | /**
29 | * Returns the file name for the given asset.
30 | * The returned file name can be used to access the asset in the application's main bundle.
31 | *
32 | * @param asset The name of the asset. The name can be hierarchical.
33 | * @return the file name to be used for lookup in the main bundle.
34 | */
35 | + (NSString*)lookupKeyForAsset:(NSString*)asset;
36 |
37 | /**
38 | * Returns the file name for the given asset which originates from the specified package.
39 | * The returned file name can be used to access the asset in the application's main bundle.
40 | *
41 | * @param asset The name of the asset. The name can be hierarchical.
42 | * @param package The name of the package from which the asset originates.
43 | * @return the file name to be used for lookup in the main bundle.
44 | */
45 | + (NSString*)lookupKeyForAsset:(NSString*)asset fromPackage:(NSString*)package;
46 |
47 | /**
48 | * Returns the default identifier for the bundle where we expect to find the Flutter Dart
49 | * application.
50 | */
51 | + (NSString*)defaultBundleIdentifier;
52 |
53 | @end
54 |
55 | #endif // FLUTTER_FLUTTERDARTPROJECT_H_
56 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterEngine.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERENGINE_H_
6 | #define FLUTTER_FLUTTERENGINE_H_
7 |
8 | #import
9 | #import
10 |
11 | #include "FlutterBinaryMessenger.h"
12 | #include "FlutterDartProject.h"
13 | #include "FlutterMacros.h"
14 | #include "FlutterPlugin.h"
15 | #include "FlutterTexture.h"
16 |
17 | @class FlutterViewController;
18 |
19 | /**
20 | * The FlutterEngine class coordinates a single instance of execution for a
21 | * `FlutterDartProject`. It may have zero or one `FlutterViewController` at a
22 | * time, which can be specified via `-setViewController:`.
23 | * `FlutterViewController`'s `initWithEngine` initializer will automatically call
24 | * `-setViewController:` for itself.
25 | *
26 | * A FlutterEngine can be created independently of a `FlutterViewController` for
27 | * headless execution. It can also persist across the lifespan of multiple
28 | * `FlutterViewController` instances to maintain state and/or asynchronous tasks
29 | * (such as downloading a large file).
30 | *
31 | * Alternatively, you can simply create a new `FlutterViewController` with only a
32 | * `FlutterDartProject`. That `FlutterViewController` will internally manage its
33 | * own instance of a FlutterEngine, but will not guarantee survival of the engine
34 | * beyond the life of the ViewController.
35 | *
36 | * A newly initialized FlutterEngine will not actually run a Dart Isolate until
37 | * either `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI` is invoked.
38 | * One of these methods must be invoked before calling `-setViewController:`.
39 | */
40 | FLUTTER_EXPORT
41 | @interface FlutterEngine
42 | : NSObject
43 | /**
44 | * Initialize this FlutterEngine with a `FlutterDartProject`.
45 | *
46 | * If the FlutterDartProject is not specified, the FlutterEngine will attempt to locate
47 | * the project in a default location (the flutter_assets folder in the iOS application
48 | * bundle).
49 | *
50 | * A newly initialized engine will not run the `FlutterDartProject` until either
51 | * `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI:` is called.
52 | *
53 | * FlutterEngine created with this method will have allowHeadlessExecution set to `YES`.
54 | * This means that the engine will continue to run regardless of whether a `FlutterViewController`
55 | * is attached to it or not, until `-destroyContext:` is called or the process finishes.
56 | *
57 | * @param labelPrefix The label prefix used to identify threads for this instance. Should
58 | * be unique across FlutterEngine instances, and is used in instrumentation to label
59 | * the threads used by this FlutterEngine.
60 | * @param projectOrNil The `FlutterDartProject` to run.
61 | */
62 | - (instancetype)initWithName:(NSString*)labelPrefix project:(FlutterDartProject*)projectOrNil;
63 |
64 | /**
65 | * Initialize this FlutterEngine with a `FlutterDartProject`.
66 | *
67 | * If the FlutterDartProject is not specified, the FlutterEngine will attempt to locate
68 | * the project in a default location (the flutter_assets folder in the iOS application
69 | * bundle).
70 | *
71 | * A newly initialized engine will not run the `FlutterDartProject` until either
72 | * `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI:` is called.
73 | *
74 | * @param labelPrefix The label prefix used to identify threads for this instance. Should
75 | * be unique across FlutterEngine instances, and is used in instrumentation to label
76 | * the threads used by this FlutterEngine.
77 | * @param projectOrNil The `FlutterDartProject` to run.
78 | * @param allowHeadlessExecution Whether or not to allow this instance to continue
79 | * running after passing a nil `FlutterViewController` to `-setViewController:`.
80 | */
81 | - (instancetype)initWithName:(NSString*)labelPrefix
82 | project:(FlutterDartProject*)projectOrNil
83 | allowHeadlessExecution:(BOOL)allowHeadlessExecution NS_DESIGNATED_INITIALIZER;
84 |
85 | /**
86 | * The default initializer is not available for this object.
87 | * Callers must use `-[FlutterEngine initWithName:project:]`.
88 | */
89 | - (instancetype)init NS_UNAVAILABLE;
90 |
91 | + (instancetype)new NS_UNAVAILABLE;
92 |
93 | /**
94 | * Runs a Dart program on an Isolate from the main Dart library (i.e. the library that
95 | * contains `main()`).
96 | *
97 | * The first call to this method will create a new Isolate. Subsequent calls will return
98 | * immediately.
99 | *
100 | * @param entrypoint The name of a top-level function from the same Dart
101 | * library that contains the app's main() function. If this is nil, it will
102 | * default to `main()`. If it is not the app's main() function, that function
103 | * must be decorated with `@pragma(vm:entry-point)` to ensure the method is not
104 | * tree-shaken by the Dart compiler.
105 | * @return YES if the call succeeds in creating and running a Flutter Engine instance; NO otherwise.
106 | */
107 | - (BOOL)runWithEntrypoint:(NSString*)entrypoint;
108 |
109 | /**
110 | * Runs a Dart program on an Isolate using the specified entrypoint and Dart library,
111 | * which may not be the same as the library containing the Dart program's `main()` function.
112 | *
113 | * The first call to this method will create a new Isolate. Subsequent calls will return
114 | * immediately.
115 | *
116 | * @param entrypoint The name of a top-level function from a Dart library. If nil, this will
117 | * default to `main()`. If it is not the app's main() function, that function
118 | * must be decorated with `@pragma(vm:entry-point)` to ensure the method is not
119 | * tree-shaken by the Dart compiler.
120 | * @param uri The URI of the Dart library which contains the entrypoint method. IF nil,
121 | * this will default to the same library as the `main()` function in the Dart program.
122 | * @return YES if the call succeeds in creating and running a Flutter Engine instance; NO otherwise.
123 | */
124 | - (BOOL)runWithEntrypoint:(NSString*)entrypoint libraryURI:(NSString*)uri;
125 |
126 | /**
127 | * Destroy running context for an engine.
128 | *
129 | * This method can be used to force the FlutterEngine object to release all resources.
130 | * After sending this message, the object will be in an unusable state until it is deallocated.
131 | * Accessing properties or sending messages to it will result in undefined behavior or runtime
132 | * errors.
133 | */
134 | - (void)destroyContext;
135 |
136 | /**
137 | * Sets the `FlutterViewController` for this instance. The FlutterEngine must be
138 | * running (e.g. a successful call to `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI`)
139 | * before calling this method. Callers may pass nil to remove the viewController
140 | * and have the engine run headless in the current process.
141 | *
142 | * A FlutterEngine can only have one `FlutterViewController` at a time. If there is
143 | * already a `FlutterViewController` associated with this instance, this method will replace
144 | * the engine's current viewController with the newly specified one.
145 | *
146 | * Setting the viewController will signal the engine to start animations and drawing, and unsetting
147 | * it will signal the engine to stop animations and drawing. However, neither will impact the state
148 | * of the Dart program's execution.
149 | */
150 | @property(nonatomic, weak) FlutterViewController* viewController;
151 |
152 | /**
153 | * The `FlutterMethodChannel` used for localization related platform messages, such as
154 | * setting the locale.
155 | */
156 | @property(nonatomic, readonly) FlutterMethodChannel* localizationChannel;
157 | /**
158 | * The `FlutterMethodChannel` used for navigation related platform messages.
159 | *
160 | * @see [Navigation
161 | * Channel](https://docs.flutter.io/flutter/services/SystemChannels/navigation-constant.html)
162 | * @see [Navigator Widget](https://docs.flutter.io/flutter/widgets/Navigator-class.html)
163 | */
164 | @property(nonatomic, readonly) FlutterMethodChannel* navigationChannel;
165 |
166 | /**
167 | * The `FlutterMethodChannel` used for core platform messages, such as
168 | * information about the screen orientation.
169 | */
170 | @property(nonatomic, readonly) FlutterMethodChannel* platformChannel;
171 |
172 | /**
173 | * The `FlutterMethodChannel` used to communicate text input events to the
174 | * Dart Isolate.
175 | *
176 | * @see [Text Input
177 | * Channel](https://docs.flutter.io/flutter/services/SystemChannels/textInput-constant.html)
178 | */
179 | @property(nonatomic, readonly) FlutterMethodChannel* textInputChannel;
180 |
181 | /**
182 | * The `FlutterBasicMessageChannel` used to communicate app lifecycle events
183 | * to the Dart Isolate.
184 | *
185 | * @see [Lifecycle
186 | * Channel](https://docs.flutter.io/flutter/services/SystemChannels/lifecycle-constant.html)
187 | */
188 | @property(nonatomic, readonly) FlutterBasicMessageChannel* lifecycleChannel;
189 |
190 | /**
191 | * The `FlutterBasicMessageChannel` used for communicating system events, such as
192 | * memory pressure events.
193 | *
194 | * @see [System
195 | * Channel](https://docs.flutter.io/flutter/services/SystemChannels/system-constant.html)
196 | */
197 | @property(nonatomic, readonly) FlutterBasicMessageChannel* systemChannel;
198 |
199 | /**
200 | * The `FlutterBasicMessageChannel` used for communicating user settings such as
201 | * clock format and text scale.
202 | */
203 | @property(nonatomic, readonly) FlutterBasicMessageChannel* settingsChannel;
204 |
205 | @end
206 |
207 | #endif // FLUTTER_FLUTTERENGINE_H_
208 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterHeadlessDartRunner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERHEADLESSDARTRUNNER_H_
6 | #define FLUTTER_FLUTTERHEADLESSDARTRUNNER_H_
7 |
8 | #import
9 |
10 | #include "FlutterBinaryMessenger.h"
11 | #include "FlutterDartProject.h"
12 | #include "FlutterEngine.h"
13 | #include "FlutterMacros.h"
14 |
15 | /**
16 | * A callback for when FlutterHeadlessDartRunner has attempted to start a Dart
17 | * Isolate in the background.
18 | *
19 | * @param success YES if the Isolate was started and run successfully, NO
20 | * otherwise.
21 | */
22 | typedef void (^FlutterHeadlessDartRunnerCallback)(BOOL success);
23 |
24 | /**
25 | * The FlutterHeadlessDartRunner runs Flutter Dart code with a null rasterizer,
26 | * and no native drawing surface. It is appropriate for use in running Dart
27 | * code e.g. in the background from a plugin.
28 | *
29 | * Most callers should prefer using `FlutterEngine` directly; this interface exists
30 | * for legacy support.
31 | */
32 | FLUTTER_EXPORT
33 | FLUTTER_DEPRECATED("FlutterEngine should be used rather than FlutterHeadlessDartRunner")
34 | @interface FlutterHeadlessDartRunner : FlutterEngine
35 |
36 | /**
37 | * Iniitalize this FlutterHeadlessDartRunner with a `FlutterDartProject`.
38 | *
39 | * If the FlutterDartProject is not specified, the FlutterHeadlessDartRunner will attempt to locate
40 | * the project in a default location.
41 | *
42 | * A newly initialized engine will not run the `FlutterDartProject` until either
43 | * `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI` is called.
44 | *
45 | * @param labelPrefix The label prefix used to identify threads for this instance. Should
46 | * be unique across FlutterEngine instances
47 | * @param projectOrNil The `FlutterDartProject` to run.
48 | */
49 | - (instancetype)initWithName:(NSString*)labelPrefix project:(FlutterDartProject*)projectOrNil;
50 |
51 | /**
52 | * Iniitalize this FlutterHeadlessDartRunner with a `FlutterDartProject`.
53 | *
54 | * If the FlutterDartProject is not specified, the FlutterHeadlessDartRunner will attempt to locate
55 | * the project in a default location.
56 | *
57 | * A newly initialized engine will not run the `FlutterDartProject` until either
58 | * `-runWithEntrypoint:` or `-runWithEntrypoint:libraryURI` is called.
59 | *
60 | * @param labelPrefix The label prefix used to identify threads for this instance. Should
61 | * be unique across FlutterEngine instances
62 | * @param projectOrNil The `FlutterDartProject` to run.
63 | * @param allowHeadlessExecution Must be set to `YES`.
64 | */
65 | - (instancetype)initWithName:(NSString*)labelPrefix
66 | project:(FlutterDartProject*)projectOrNil
67 | allowHeadlessExecution:(BOOL)allowHeadlessExecution NS_DESIGNATED_INITIALIZER;
68 |
69 | /**
70 | * Not recommended for use - will initialize with a default label ("io.flutter.headless")
71 | * and the default FlutterDartProject.
72 | */
73 | - (instancetype)init;
74 |
75 | @end
76 |
77 | #endif // FLUTTER_FLUTTERHEADLESSDARTRUNNER_H_
78 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterMacros.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERMACROS_H_
6 | #define FLUTTER_FLUTTERMACROS_H_
7 |
8 | #if defined(FLUTTER_FRAMEWORK)
9 |
10 | #define FLUTTER_EXPORT __attribute__((visibility("default")))
11 |
12 | #else // defined(FLUTTER_SDK)
13 |
14 | #define FLUTTER_EXPORT
15 |
16 | #endif // defined(FLUTTER_SDK)
17 |
18 | #ifndef NS_ASSUME_NONNULL_BEGIN
19 | #define NS_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
20 | #define NS_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
21 | #endif // defined(NS_ASSUME_NONNULL_BEGIN)
22 |
23 | /**
24 | * Indicates that the API has been deprecated for the specified reason. Code
25 | * that uses the deprecated API will continue to work as before. However, the
26 | * API will soon become unavailable and users are encouraged to immediately take
27 | * the appropriate action mentioned in the deprecation message and the BREAKING
28 | * CHANGES section present in the Flutter.h umbrella header.
29 | */
30 | #define FLUTTER_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
31 |
32 | /**
33 | * Indicates that the previously deprecated API is now unavailable. Code that
34 | * uses the API will not work and the declaration of the API is only a stub
35 | * meant to display the given message detailing the actions for the user to take
36 | * immediately.
37 | */
38 | #define FLUTTER_UNAVAILABLE(msg) __attribute__((__unavailable__(msg)))
39 |
40 | #endif // FLUTTER_FLUTTERMACROS_H_
41 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERPLATFORMVIEWS_H_
6 | #define FLUTTER_FLUTTERPLATFORMVIEWS_H_
7 |
8 | #import
9 |
10 | #import "FlutterCodecs.h"
11 | #import "FlutterMacros.h"
12 |
13 | NS_ASSUME_NONNULL_BEGIN
14 |
15 | /**
16 | * Wraps a `UIView` for embedding in the Flutter hierarchy
17 | */
18 | @protocol FlutterPlatformView
19 | /**
20 | * Returns a reference to the `UIView` that is wrapped by this `FlutterPlatformView`.
21 | */
22 | - (UIView*)view;
23 | @end
24 |
25 | FLUTTER_EXPORT
26 | @protocol FlutterPlatformViewFactory
27 | /**
28 | * Create a `FlutterPlatformView`.
29 | *
30 | * Implemented by iOS code that expose a `UIView` for embedding in a Flutter app.
31 | *
32 | * The implementation of this method should create a new `UIView` and return it.
33 | *
34 | * @param frame The rectangle for the newly created `UIView` measued in points.
35 | * @param viewId A unique identifier for this `UIView`.
36 | * @param args Parameters for creating the `UIView` sent from the Dart side of the Flutter app.
37 | * If `createArgsCodec` is not implemented, or if no creation arguments were sent from the Dart
38 | * code, this will be null. Otherwise this will be the value sent from the Dart code as decoded by
39 | * `createArgsCodec`.
40 | */
41 | - (NSObject*)createWithFrame:(CGRect)frame
42 | viewIdentifier:(int64_t)viewId
43 | arguments:(id _Nullable)args;
44 |
45 | /**
46 | * Returns the `FlutterMessageCodec` for decoding the args parameter of `createWithFrame`.
47 | *
48 | * Only needs to be implemented if `createWithFrame` needs an arguments parameter.
49 | */
50 | @optional
51 | - (NSObject*)createArgsCodec;
52 | @end
53 |
54 | NS_ASSUME_NONNULL_END
55 |
56 | #endif // FLUTTER_FLUTTERPLATFORMVIEWS_H_
57 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_H_
6 | #define FLUTTER_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_H_
7 |
8 | #include "FlutterPlugin.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | /**
13 | * Propagates `UIAppDelegate` callbacks to registered plugins.
14 | */
15 | FLUTTER_EXPORT
16 | @interface FlutterPluginAppLifeCycleDelegate : NSObject
17 | /**
18 | * Registers `delegate` to receive life cycle callbacks via this FlutterPluginAppLifecycleDelegate
19 | * as long as it is alive.
20 | *
21 | * `delegate` will only referenced weakly.
22 | */
23 | - (void)addDelegate:(NSObject*)delegate;
24 |
25 | /**
26 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
27 | *
28 | * @return `NO` if any plugin vetoes application launch.
29 | */
30 | - (BOOL)application:(UIApplication*)application
31 | didFinishLaunchingWithOptions:(NSDictionary*)launchOptions;
32 |
33 | /**
34 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
35 | *
36 | * @return `NO` if any plugin vetoes application launch.
37 | */
38 | - (BOOL)application:(UIApplication*)application
39 | willFinishLaunchingWithOptions:(NSDictionary*)launchOptions;
40 |
41 | /**
42 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
43 | */
44 | - (void)applicationDidBecomeActive:(UIApplication*)application;
45 |
46 | /**
47 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
48 | */
49 | - (void)applicationWillResignActive:(UIApplication*)application;
50 |
51 | /**
52 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
53 | */
54 | - (void)applicationDidEnterBackground:(UIApplication*)application;
55 |
56 | /**
57 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
58 | */
59 | - (void)applicationWillEnterForeground:(UIApplication*)application;
60 |
61 | /**
62 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
63 | */
64 | - (void)applicationWillTerminate:(UIApplication*)application;
65 |
66 | /**
67 | * Called if this plugin has been registered for `UIApplicationDelegate` callbacks.
68 | */
69 | #pragma GCC diagnostic push
70 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
71 | - (void)application:(UIApplication*)application
72 | didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
73 | #pragma GCC diagnostic pop
74 |
75 | /**
76 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
77 | */
78 | - (void)application:(UIApplication*)application
79 | didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken;
80 |
81 | /**
82 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
83 | */
84 | - (void)application:(UIApplication*)application
85 | didReceiveRemoteNotification:(NSDictionary*)userInfo
86 | fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
87 |
88 | /**
89 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
90 | */
91 | - (void)application:(UIApplication*)application
92 | didReceiveLocalNotification:(UILocalNotification*)notification;
93 |
94 | /**
95 | * Calls all plugins registered for `UNUserNotificationCenterDelegate` callbacks.
96 | */
97 | - (void)userNotificationCenter:(UNUserNotificationCenter*)center
98 | willPresentNotification:(UNNotification*)notification
99 | withCompletionHandler:
100 | (void (^)(UNNotificationPresentationOptions options))completionHandler
101 | API_AVAILABLE(ios(10));
102 |
103 | /**
104 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
105 | * some plugin handles the request.
106 | *
107 | * @return `YES` if any plugin handles the request.
108 | */
109 | - (BOOL)application:(UIApplication*)application
110 | openURL:(NSURL*)url
111 | options:(NSDictionary*)options;
112 |
113 | /**
114 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
115 | * some plugin handles the request.
116 | *
117 | * @return `YES` if any plugin handles the request.
118 | */
119 | - (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url;
120 |
121 | /**
122 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
123 | * some plugin handles the request.
124 | *
125 | * @return `YES` if any plugin handles the request.
126 | */
127 | - (BOOL)application:(UIApplication*)application
128 | openURL:(NSURL*)url
129 | sourceApplication:(NSString*)sourceApplication
130 | annotation:(id)annotation;
131 |
132 | /**
133 | * Calls all plugins registered for `UIApplicationDelegate` callbacks.
134 | */
135 | - (void)application:(UIApplication*)application
136 | performActionForShortcutItem:(UIApplicationShortcutItem*)shortcutItem
137 | completionHandler:(void (^)(BOOL succeeded))completionHandler
138 | API_AVAILABLE(ios(9.0));
139 |
140 | /**
141 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
142 | * some plugin handles the request.
143 | *
144 | * @return `YES` if any plugin handles the request.
145 | */
146 | - (BOOL)application:(UIApplication*)application
147 | handleEventsForBackgroundURLSession:(nonnull NSString*)identifier
148 | completionHandler:(nonnull void (^)(void))completionHandler;
149 |
150 | /**
151 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
152 | * some plugin handles the request.
153 | *
154 | * @returns `YES` if any plugin handles the request.
155 | */
156 | - (BOOL)application:(UIApplication*)application
157 | performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
158 |
159 | /**
160 | * Calls all plugins registered for `UIApplicationDelegate` callbacks in order of registration until
161 | * some plugin handles the request.
162 | *
163 | * @return `YES` if any plugin handles the request.
164 | */
165 | - (BOOL)application:(UIApplication*)application
166 | continueUserActivity:(NSUserActivity*)userActivity
167 | restorationHandler:(void (^)(NSArray*))restorationHandler;
168 | @end
169 |
170 | NS_ASSUME_NONNULL_END
171 |
172 | #endif // FLUTTER_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_H_
173 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterTexture.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERTEXTURE_H_
6 | #define FLUTTER_FLUTTERTEXTURE_H_
7 |
8 | #import
9 | #import
10 |
11 | #include "FlutterMacros.h"
12 |
13 | NS_ASSUME_NONNULL_BEGIN
14 |
15 | FLUTTER_EXPORT
16 | @protocol FlutterTexture
17 | - (CVPixelBufferRef _Nullable)copyPixelBuffer;
18 | @end
19 |
20 | FLUTTER_EXPORT
21 | @protocol FlutterTextureRegistry
22 | - (int64_t)registerTexture:(NSObject*)texture;
23 | - (void)textureFrameAvailable:(int64_t)textureId;
24 | - (void)unregisterTexture:(int64_t)textureId;
25 | @end
26 |
27 | NS_ASSUME_NONNULL_END
28 |
29 | #endif // FLUTTER_FLUTTERTEXTURE_H_
30 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Flutter Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef FLUTTER_FLUTTERVIEWCONTROLLER_H_
6 | #define FLUTTER_FLUTTERVIEWCONTROLLER_H_
7 |
8 | #import
9 | #include
10 |
11 | #include "FlutterBinaryMessenger.h"
12 | #include "FlutterDartProject.h"
13 | #include "FlutterEngine.h"
14 | #include "FlutterMacros.h"
15 | #include "FlutterPlugin.h"
16 | #include "FlutterTexture.h"
17 |
18 | @class FlutterEngine;
19 |
20 | /**
21 | * A `UIViewController` implementation for Flutter views.
22 | *
23 | * Dart execution, channel communication, texture registration, and plugin registration
24 | * are all handled by `FlutterEngine`. Calls on this class to those members all proxy
25 | * through to the `FlutterEngine` attached FlutterViewController.
26 | *
27 | * A FlutterViewController can be initialized either with an already-running `FlutterEngine`,
28 | * or it can be initialized with a `FlutterDartProject` that will be used to spin up
29 | * a new `FlutterEngine`. Developers looking to present and hide FlutterViewControllers
30 | * in native iOS applications will usually want to maintain the `FlutterEngine` instance
31 | * so as not to lose Dart-related state and asynchronous tasks when navigating back and
32 | * forth between a FlutterViewController and other `UIViewController`s.
33 | */
34 | FLUTTER_EXPORT
35 | @interface FlutterViewController
36 | : UIViewController
37 |
38 | /**
39 | * Initializes this FlutterViewController with the specified `FlutterEngine`.
40 | *
41 | * The initialized viewcontroller will attach itself to the engine as part of this process.
42 | *
43 | * @param engine The `FlutterEngine` instance to attach to.
44 | * @param nibNameOrNil The NIB name to initialize this UIViewController with.
45 | * @param nibBundleOrNil The NIB bundle.
46 | */
47 | - (instancetype)initWithEngine:(FlutterEngine*)engine
48 | nibName:(NSString*)nibNameOrNil
49 | bundle:(NSBundle*)nibBundleOrNil NS_DESIGNATED_INITIALIZER;
50 |
51 | /**
52 | * Initializes a new FlutterViewController and `FlutterEngine` with the specified
53 | * `FlutterDartProject`.
54 | *
55 | * @param projectOrNil The `FlutterDartProject` to initialize the `FlutterEngine` with.
56 | * @param nibNameOrNil The NIB name to initialize this UIViewController with.
57 | * @param nibBundleOrNil The NIB bundle.
58 | */
59 | - (instancetype)initWithProject:(FlutterDartProject*)projectOrNil
60 | nibName:(NSString*)nibNameOrNil
61 | bundle:(NSBundle*)nibBundleOrNil NS_DESIGNATED_INITIALIZER;
62 |
63 | - (void)handleStatusBarTouches:(UIEvent*)event;
64 |
65 | /**
66 | * Registers a callback that will be invoked when the Flutter view has been rendered.
67 | * The callback will be fired only once.
68 | *
69 | * Replaces an existing callback. Use a `nil` callback to unregister the existing one.
70 | */
71 | - (void)setFlutterViewDidRenderCallback:(void (^)(void))callback;
72 |
73 | /**
74 | * Returns the file name for the given asset.
75 | * The returned file name can be used to access the asset in the application's
76 | * main bundle.
77 | *
78 | * @param asset The name of the asset. The name can be hierarchical.
79 | * @return The file name to be used for lookup in the main bundle.
80 | */
81 | - (NSString*)lookupKeyForAsset:(NSString*)asset;
82 |
83 | /**
84 | * Returns the file name for the given asset which originates from the specified
85 | * package.
86 | * The returned file name can be used to access the asset in the application's
87 | * main bundle.
88 | *
89 | * @param asset The name of the asset. The name can be hierarchical.
90 | * @param package The name of the package from which the asset originates.
91 | * @return The file name to be used for lookup in the main bundle.
92 | */
93 | - (NSString*)lookupKeyForAsset:(NSString*)asset fromPackage:(NSString*)package;
94 |
95 | /**
96 | * Sets the first route that the Flutter app shows. The default is "/".
97 | * This method will guarnatee that the initial route is delivered, even if the
98 | * Flutter window hasn't been created yet when called. It cannot be used to update
99 | * the current route being shown in a visible FlutterViewController (see pushRoute
100 | * and popRoute).
101 | *
102 | * @param route The name of the first route to show.
103 | */
104 | - (void)setInitialRoute:(NSString*)route;
105 |
106 | /**
107 | * Instructs the Flutter Navigator (if any) to go back.
108 | */
109 | - (void)popRoute;
110 |
111 | /**
112 | * Instructs the Flutter Navigator (if any) to push a route on to the navigation
113 | * stack. The setInitialRoute method should be prefered if this is called before the
114 | * FlutterViewController has come into view.
115 | *
116 | * @param route The name of the route to push to the navigation stack.
117 | */
118 | - (void)pushRoute:(NSString*)route;
119 |
120 | /**
121 | * The `FlutterPluginRegistry` used by this FlutterViewController.
122 | */
123 | - (id)pluginRegistry;
124 |
125 | /**
126 | * Specifies the view to use as a splash screen. Flutter's rendering is asynchronous, so the first
127 | * frame rendered by the Flutter application might not immediately appear when theFlutter view is
128 | * initially placed in the view hierarchy. The splash screen view will be used as
129 | * a replacement until the first frame is rendered.
130 | *
131 | * The view used should be appropriate for multiple sizes; an autoresizing mask to
132 | * have a flexible width and height will be applied automatically.
133 | */
134 | @property(strong, nonatomic) UIView* splashScreenView;
135 |
136 | /**
137 | * Attempts to set the `splashScreenView` property from the `UILaunchStoryboardName` from the
138 | * main bundle's `Info.plist` file. This method will not change the value of `splashScreenView`
139 | * if it cannot find a default one from a storyboard or nib.
140 | *
141 | * @return `YES` if successful, `NO` otherwise.
142 | */
143 | - (BOOL)loadDefaultSplashScreenView;
144 |
145 | /**
146 | * Controls whether the created view will be opaque or not.
147 | *
148 | * Default is `YES`. Note that setting this to `NO` may negatively impact performance
149 | * when using hardware acceleration, and toggling this will trigger a re-layout of the
150 | * view.
151 | */
152 | @property(nonatomic, getter=isViewOpaque) BOOL viewOpaque;
153 |
154 | /**
155 | * The `FlutterEngine` instance for this view controller.
156 | */
157 | @property(weak, nonatomic, readonly) FlutterEngine* engine;
158 |
159 | @end
160 |
161 | #endif // FLUTTER_FLUTTERVIEWCONTROLLER_H_
162 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | Flutter
9 | CFBundleIdentifier
10 | io.flutter.flutter
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | Flutter
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/Modules/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module Flutter {
2 | umbrella header "Flutter.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Flutter/Flutter.framework/icudtl.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Flutter/Flutter.framework/icudtl.dat
--------------------------------------------------------------------------------
/ios/Flutter/Generated.xcconfig:
--------------------------------------------------------------------------------
1 | // This is a generated file; do not edit or check into version control.
2 | FLUTTER_ROOT=/Users/noelhome/Documents/flutter
3 | FLUTTER_APPLICATION_PATH=/Users/noelhome/Documents/src/flutter_create_events
4 | FLUTTER_TARGET=/Users/noelhome/Documents/src/flutter_create_events/lib/main.dart
5 | FLUTTER_BUILD_DIR=build
6 | SYMROOT=${SOURCE_ROOT}/../build/ios
7 | FLUTTER_FRAMEWORK_DIR=/Users/noelhome/Documents/flutter/bin/cache/artifacts/engine/ios
8 | FLUTTER_BUILD_NAME=1.0.0
9 | FLUTTER_BUILD_NUMBER=1
10 | TRACK_WIDGET_CREATION=true
11 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def parse_KV_file(file, separator='=')
14 | file_abs_path = File.expand_path(file)
15 | if !File.exists? file_abs_path
16 | return [];
17 | end
18 | pods_ary = []
19 | skip_line_start_symbols = ["#", "/"]
20 | File.foreach(file_abs_path) { |line|
21 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
22 | plugin = line.split(pattern=separator)
23 | if plugin.length == 2
24 | podname = plugin[0].strip()
25 | path = plugin[1].strip()
26 | podpath = File.expand_path("#{path}", file_abs_path)
27 | pods_ary.push({:name => podname, :path => podpath});
28 | else
29 | puts "Invalid plugin specification: #{line}"
30 | end
31 | }
32 | return pods_ary
33 | end
34 |
35 | target 'Runner' do
36 | use_frameworks!
37 |
38 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
39 | # referring to absolute paths on developers' machines.
40 | system('rm -rf .symlinks')
41 | system('mkdir -p .symlinks/plugins')
42 |
43 | # Flutter Pods
44 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
45 | if generated_xcode_build_settings.empty?
46 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
47 | end
48 | generated_xcode_build_settings.map { |p|
49 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
50 | symlink = File.join('.symlinks', 'flutter')
51 | File.symlink(File.dirname(p[:path]), symlink)
52 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
53 | end
54 | }
55 |
56 | # Plugin Pods
57 | plugin_pods = parse_KV_file('../.flutter-plugins')
58 | plugin_pods.map { |p|
59 | symlink = File.join('.symlinks', 'plugins', p[:name])
60 | File.symlink(p[:path], symlink)
61 | pod p[:name], :path => File.join(symlink, 'ios')
62 | }
63 | end
64 |
65 | post_install do |installer|
66 | installer.pods_project.targets.each do |target|
67 | target.build_configurations.each do |config|
68 | config.build_settings['ENABLE_BITCODE'] = 'NO'
69 | end
70 | end
71 | end
72 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 | - qr_reader (0.0.1):
4 | - Flutter
5 | - shared_preferences (0.0.1):
6 | - Flutter
7 |
8 | DEPENDENCIES:
9 | - Flutter (from `.symlinks/flutter/ios`)
10 | - qr_reader (from `.symlinks/plugins/qr_reader/ios`)
11 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
12 |
13 | EXTERNAL SOURCES:
14 | Flutter:
15 | :path: ".symlinks/flutter/ios"
16 | qr_reader:
17 | :path: ".symlinks/plugins/qr_reader/ios"
18 | shared_preferences:
19 | :path: ".symlinks/plugins/shared_preferences/ios"
20 |
21 | SPEC CHECKSUMS:
22 | Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296
23 | qr_reader: e49a76f945bd53335eb4caf6c4c719c26dd80986
24 | shared_preferences: 5a1d487c427ee18fcd3ea1f2a131569481834b53
25 |
26 | PODFILE CHECKSUM: ebd43b443038e611b86ede96e613bd6033c49497
27 |
28 | COCOAPODS: 1.5.3
29 |
--------------------------------------------------------------------------------
/ios/Pods/Local Podspecs/Flutter.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Flutter",
3 | "version": "1.0.0",
4 | "summary": "High-performance, high-fidelity mobile apps.",
5 | "description": "Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.",
6 | "homepage": "https://flutter.io",
7 | "license": {
8 | "type": "MIT"
9 | },
10 | "authors": {
11 | "Flutter Dev Team": "flutter-dev@googlegroups.com"
12 | },
13 | "source": {
14 | "git": "https://github.com/flutter/engine",
15 | "tag": "1.0.0"
16 | },
17 | "platforms": {
18 | "ios": "7.0"
19 | },
20 | "vendored_frameworks": "Flutter.framework"
21 | }
22 |
--------------------------------------------------------------------------------
/ios/Pods/Local Podspecs/qr_reader.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "qr_reader",
3 | "version": "0.0.1",
4 | "summary": "Flutter Plugin for QR Reader",
5 | "description": "Flutter Plugin for QRCode Reader",
6 | "homepage": "https://github.com/PonnamKarthik",
7 | "license": {
8 | "file": "../LICENSE"
9 | },
10 | "authors": {
11 | "Ponnam Karthik": "ponnamkarthik3@gmail.com"
12 | },
13 | "source": {
14 | "path": "."
15 | },
16 | "source_files": "Classes/**/*",
17 | "public_header_files": "Classes/**/*.h",
18 | "dependencies": {
19 | "Flutter": [
20 |
21 | ]
22 | },
23 | "platforms": {
24 | "ios": "8.0"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ios/Pods/Local Podspecs/shared_preferences.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "shared_preferences",
3 | "version": "0.0.1",
4 | "summary": "A Flutter plugin for reading and writing simple key-value pairs.",
5 | "description": "A Flutter plugin for reading and writing simple key-value pairs.",
6 | "homepage": "https://github.com/flutter/plugins/tree/master/packages/shared_preferences",
7 | "license": {
8 | "file": "../LICENSE"
9 | },
10 | "authors": {
11 | "Flutter Team": "flutter-dev@googlegroups.com"
12 | },
13 | "source": {
14 | "path": "."
15 | },
16 | "source_files": "Classes/**/*",
17 | "public_header_files": "Classes/**/*.h",
18 | "dependencies": {
19 | "Flutter": [
20 |
21 | ]
22 | },
23 | "platforms": {
24 | "ios": "8.0"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ios/Pods/Pods.xcodeproj/xcuserdata/noelhome.xcuserdatad/xcschemes/Pods-Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
34 |
35 |
45 |
46 |
52 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
66 |
67 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/ios/Pods/Pods.xcodeproj/xcuserdata/noelhome.xcuserdatad/xcschemes/qr_reader.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
44 |
45 |
46 |
52 |
53 |
55 |
56 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/ios/Pods/Pods.xcodeproj/xcuserdata/noelhome.xcuserdatad/xcschemes/shared_preferences.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
44 |
45 |
46 |
52 |
53 |
55 |
56 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/ios/Pods/Pods.xcodeproj/xcuserdata/noelhome.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Pods-Runner.xcscheme
8 |
9 | isShown
10 |
11 |
12 | qr_reader.xcscheme
13 |
14 | isShown
15 |
16 |
17 | shared_preferences.xcscheme
18 |
19 | isShown
20 |
21 |
22 |
23 | SuppressBuildableAutocreation
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## Flutter
5 |
6 | Copyright 2014 The Chromium Authors. All rights reserved.
7 |
8 | Redistribution and use in source and binary forms, with or without modification,
9 | are permitted provided that the following conditions are met:
10 |
11 | * Redistributions of source code must retain the above copyright
12 | notice, this list of conditions and the following disclaimer.
13 | * Redistributions in binary form must reproduce the above
14 | copyright notice, this list of conditions and the following
15 | disclaimer in the documentation and/or other materials provided
16 | with the distribution.
17 | * Neither the name of Google Inc. nor the names of its
18 | contributors may be used to endorse or promote products derived
19 | from this software without specific prior written permission.
20 |
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
25 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 |
32 |
33 | ## qr_reader
34 |
35 | Copyright (c) <2018> Ponnam Karthik
36 |
37 | Permission is hereby granted, free of charge, to any person obtaining a copy
38 | of this software and associated documentation files (the "Software"), to deal
39 | in the Software without restriction, including without limitation the rights
40 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41 | copies of the Software, and to permit persons to whom the Software is
42 | furnished to do so, subject to the following conditions:
43 |
44 | The above copyright notice and this permission notice shall be included in all
45 | copies or substantial portions of the Software.
46 |
47 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53 | SOFTWARE.
54 |
55 | ## shared_preferences
56 |
57 | // Copyright 2017 The Chromium Authors. All rights reserved.
58 | //
59 | // Redistribution and use in source and binary forms, with or without
60 | // modification, are permitted provided that the following conditions are
61 | // met:
62 | //
63 | // * Redistributions of source code must retain the above copyright
64 | // notice, this list of conditions and the following disclaimer.
65 | // * Redistributions in binary form must reproduce the above
66 | // copyright notice, this list of conditions and the following disclaimer
67 | // in the documentation and/or other materials provided with the
68 | // distribution.
69 | // * Neither the name of Google Inc. nor the names of its
70 | // contributors may be used to endorse or promote products derived from
71 | // this software without specific prior written permission.
72 | //
73 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
74 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
75 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
76 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
77 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
78 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
79 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
80 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
81 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
82 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
83 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84 | Generated by CocoaPods - https://cocoapods.org
85 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreferenceSpecifiers
6 |
7 |
8 | FooterText
9 | This application makes use of the following third party libraries:
10 | Title
11 | Acknowledgements
12 | Type
13 | PSGroupSpecifier
14 |
15 |
16 | FooterText
17 | Copyright 2014 The Chromium Authors. All rights reserved.
18 |
19 | Redistribution and use in source and binary forms, with or without modification,
20 | are permitted provided that the following conditions are met:
21 |
22 | * Redistributions of source code must retain the above copyright
23 | notice, this list of conditions and the following disclaimer.
24 | * Redistributions in binary form must reproduce the above
25 | copyright notice, this list of conditions and the following
26 | disclaimer in the documentation and/or other materials provided
27 | with the distribution.
28 | * Neither the name of Google Inc. nor the names of its
29 | contributors may be used to endorse or promote products derived
30 | from this software without specific prior written permission.
31 |
32 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
33 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
36 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
39 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
41 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 |
43 | License
44 | MIT
45 | Title
46 | Flutter
47 | Type
48 | PSGroupSpecifier
49 |
50 |
51 | FooterText
52 | Copyright (c) <2018> Ponnam Karthik
53 |
54 | Permission is hereby granted, free of charge, to any person obtaining a copy
55 | of this software and associated documentation files (the "Software"), to deal
56 | in the Software without restriction, including without limitation the rights
57 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
58 | copies of the Software, and to permit persons to whom the Software is
59 | furnished to do so, subject to the following conditions:
60 |
61 | The above copyright notice and this permission notice shall be included in all
62 | copies or substantial portions of the Software.
63 |
64 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
66 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
67 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
68 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
69 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
70 | SOFTWARE.
71 | Title
72 | qr_reader
73 | Type
74 | PSGroupSpecifier
75 |
76 |
77 | FooterText
78 | // Copyright 2017 The Chromium Authors. All rights reserved.
79 | //
80 | // Redistribution and use in source and binary forms, with or without
81 | // modification, are permitted provided that the following conditions are
82 | // met:
83 | //
84 | // * Redistributions of source code must retain the above copyright
85 | // notice, this list of conditions and the following disclaimer.
86 | // * Redistributions in binary form must reproduce the above
87 | // copyright notice, this list of conditions and the following disclaimer
88 | // in the documentation and/or other materials provided with the
89 | // distribution.
90 | // * Neither the name of Google Inc. nor the names of its
91 | // contributors may be used to endorse or promote products derived from
92 | // this software without specific prior written permission.
93 | //
94 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
95 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
96 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
97 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
98 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
99 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
100 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
101 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
102 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
103 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
104 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
105 | Title
106 | shared_preferences
107 | Type
108 | PSGroupSpecifier
109 |
110 |
111 | FooterText
112 | Generated by CocoaPods - https://cocoapods.org
113 | Title
114 |
115 | Type
116 | PSGroupSpecifier
117 |
118 |
119 | StringsTable
120 | Acknowledgements
121 | Title
122 | Acknowledgements
123 |
124 |
125 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_Runner : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_Runner
5 | @end
6 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
8 | # frameworks to, so exit 0 (signalling the script phase was successful).
9 | exit 0
10 | fi
11 |
12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
14 |
15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
17 |
18 | # Used as a return value for each invocation of `strip_invalid_archs` function.
19 | STRIP_BINARY_RETVAL=0
20 |
21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
24 |
25 | # Copies and strips a vendored framework
26 | install_framework()
27 | {
28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
29 | local source="${BUILT_PRODUCTS_DIR}/$1"
30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
32 | elif [ -r "$1" ]; then
33 | local source="$1"
34 | fi
35 |
36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
37 |
38 | if [ -L "${source}" ]; then
39 | echo "Symlinked..."
40 | source="$(readlink "${source}")"
41 | fi
42 |
43 | # Use filter instead of exclude so missing patterns don't throw errors.
44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
46 |
47 | local basename
48 | basename="$(basename -s .framework "$1")"
49 | binary="${destination}/${basename}.framework/${basename}"
50 | if ! [ -r "$binary" ]; then
51 | binary="${destination}/${basename}"
52 | fi
53 |
54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
56 | strip_invalid_archs "$binary"
57 | fi
58 |
59 | # Resign the code if required by the build settings to avoid unstable apps
60 | code_sign_if_enabled "${destination}/$(basename "$1")"
61 |
62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
64 | local swift_runtime_libs
65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
66 | for lib in $swift_runtime_libs; do
67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
69 | code_sign_if_enabled "${destination}/${lib}"
70 | done
71 | fi
72 | }
73 |
74 | # Copies and strips a vendored dSYM
75 | install_dsym() {
76 | local source="$1"
77 | if [ -r "$source" ]; then
78 | # Copy the dSYM into a the targets temp dir.
79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
81 |
82 | local basename
83 | basename="$(basename -s .framework.dSYM "$source")"
84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
85 |
86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
88 | strip_invalid_archs "$binary"
89 | fi
90 |
91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
92 | # Move the stripped file into its final destination.
93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
95 | else
96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
98 | fi
99 | fi
100 | }
101 |
102 | # Signs a framework with the provided identity
103 | code_sign_if_enabled() {
104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
105 | # Use the current code_sign_identitiy
106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
108 |
109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
110 | code_sign_cmd="$code_sign_cmd &"
111 | fi
112 | echo "$code_sign_cmd"
113 | eval "$code_sign_cmd"
114 | fi
115 | }
116 |
117 | # Strip invalid architectures
118 | strip_invalid_archs() {
119 | binary="$1"
120 | # Get architectures for current target binary
121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
122 | # Intersect them with the architectures we are building for
123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
124 | # If there are no archs supported by this binary then warn the user
125 | if [[ -z "$intersected_archs" ]]; then
126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
127 | STRIP_BINARY_RETVAL=0
128 | return
129 | fi
130 | stripped=""
131 | for arch in $binary_archs; do
132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
133 | # Strip non-valid architectures in-place
134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1
135 | stripped="$stripped $arch"
136 | fi
137 | done
138 | if [[ "$stripped" ]]; then
139 | echo "Stripped $binary of architectures:$stripped"
140 | fi
141 | STRIP_BINARY_RETVAL=1
142 | }
143 |
144 |
145 | if [[ "$CONFIGURATION" == "Debug" ]]; then
146 | install_framework "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework"
147 | install_framework "${BUILT_PRODUCTS_DIR}/qr_reader/qr_reader.framework"
148 | install_framework "${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework"
149 | fi
150 | if [[ "$CONFIGURATION" == "Release" ]]; then
151 | install_framework "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework"
152 | install_framework "${BUILT_PRODUCTS_DIR}/qr_reader/qr_reader.framework"
153 | install_framework "${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework"
154 | fi
155 | if [[ "$CONFIGURATION" == "Profile" ]]; then
156 | install_framework "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework"
157 | install_framework "${BUILT_PRODUCTS_DIR}/qr_reader/qr_reader.framework"
158 | install_framework "${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework"
159 | fi
160 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
161 | wait
162 | fi
163 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then
7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy
8 | # resources to, so exit 0 (signalling the script phase was successful).
9 | exit 0
10 | fi
11 |
12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
13 |
14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
15 | > "$RESOURCES_TO_COPY"
16 |
17 | XCASSET_FILES=()
18 |
19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
22 |
23 | case "${TARGETED_DEVICE_FAMILY:-}" in
24 | 1,2)
25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
26 | ;;
27 | 1)
28 | TARGET_DEVICE_ARGS="--target-device iphone"
29 | ;;
30 | 2)
31 | TARGET_DEVICE_ARGS="--target-device ipad"
32 | ;;
33 | 3)
34 | TARGET_DEVICE_ARGS="--target-device tv"
35 | ;;
36 | 4)
37 | TARGET_DEVICE_ARGS="--target-device watch"
38 | ;;
39 | *)
40 | TARGET_DEVICE_ARGS="--target-device mac"
41 | ;;
42 | esac
43 |
44 | install_resource()
45 | {
46 | if [[ "$1" = /* ]] ; then
47 | RESOURCE_PATH="$1"
48 | else
49 | RESOURCE_PATH="${PODS_ROOT}/$1"
50 | fi
51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then
52 | cat << EOM
53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
54 | EOM
55 | exit 1
56 | fi
57 | case $RESOURCE_PATH in
58 | *.storyboard)
59 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
60 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
61 | ;;
62 | *.xib)
63 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
64 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
65 | ;;
66 | *.framework)
67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
71 | ;;
72 | *.xcdatamodel)
73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
75 | ;;
76 | *.xcdatamodeld)
77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
79 | ;;
80 | *.xcmappingmodel)
81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
83 | ;;
84 | *.xcassets)
85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
87 | ;;
88 | *)
89 | echo "$RESOURCE_PATH" || true
90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
91 | ;;
92 | esac
93 | }
94 |
95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
100 | fi
101 | rm -f "$RESOURCES_TO_COPY"
102 |
103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ]
104 | then
105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets).
106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
107 | while read line; do
108 | if [[ $line != "${PODS_ROOT}*" ]]; then
109 | XCASSET_FILES+=("$line")
110 | fi
111 | done <<<"$OTHER_XCASSETS"
112 |
113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then
114 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
115 | else
116 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist"
117 | fi
118 | fi
119 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
14 | FOUNDATION_EXPORT double Pods_RunnerVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_RunnerVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences" "${PODS_ROOT}/../.symlinks/flutter/ios"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader/qr_reader.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences/shared_preferences.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "Flutter" -framework "qr_reader" -framework "shared_preferences"
6 | PODS_BUILD_DIR = ${BUILD_DIR}
7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_Runner {
2 | umbrella header "Pods-Runner-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences" "${PODS_ROOT}/../.symlinks/flutter/ios"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader/qr_reader.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences/shared_preferences.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "Flutter" -framework "qr_reader" -framework "shared_preferences"
6 | PODS_BUILD_DIR = ${BUILD_DIR}
7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig:
--------------------------------------------------------------------------------
1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences" "${PODS_ROOT}/../.symlinks/flutter/ios"
2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/qr_reader/qr_reader.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences/shared_preferences.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "Flutter" -framework "qr_reader" -framework "shared_preferences"
6 | PODS_BUILD_DIR = ${BUILD_DIR}
7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
9 | PODS_ROOT = ${SRCROOT}/Pods
10 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.0.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/qr_reader-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_qr_reader : NSObject
3 | @end
4 | @implementation PodsDummy_qr_reader
5 | @end
6 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/qr_reader-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/qr_reader-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "QRCodeReaderPlugin.h"
14 |
15 | FOUNDATION_EXPORT double qr_readerVersionNumber;
16 | FOUNDATION_EXPORT const unsigned char qr_readerVersionString[];
17 |
18 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/qr_reader.modulemap:
--------------------------------------------------------------------------------
1 | framework module qr_reader {
2 | umbrella header "qr_reader-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/qr_reader/qr_reader.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/qr_reader
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../.symlinks/flutter/ios"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | OTHER_LDFLAGS = -framework "Flutter"
5 | PODS_BUILD_DIR = ${BUILD_DIR}
6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
7 | PODS_ROOT = ${SRCROOT}
8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/qr_reader/ios
9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
10 | SKIP_INSTALL = YES
11 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | ${PRODUCT_BUNDLE_IDENTIFIER}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 0.0.1
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | ${CURRENT_PROJECT_VERSION}
23 | NSPrincipalClass
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/shared_preferences-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_shared_preferences : NSObject
3 | @end
4 | @implementation PodsDummy_shared_preferences
5 | @end
6 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/shared_preferences-prefix.pch:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/shared_preferences-umbrella.h:
--------------------------------------------------------------------------------
1 | #ifdef __OBJC__
2 | #import
3 | #else
4 | #ifndef FOUNDATION_EXPORT
5 | #if defined(__cplusplus)
6 | #define FOUNDATION_EXPORT extern "C"
7 | #else
8 | #define FOUNDATION_EXPORT extern
9 | #endif
10 | #endif
11 | #endif
12 |
13 | #import "SharedPreferencesPlugin.h"
14 |
15 | FOUNDATION_EXPORT double shared_preferencesVersionNumber;
16 | FOUNDATION_EXPORT const unsigned char shared_preferencesVersionString[];
17 |
18 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/shared_preferences.modulemap:
--------------------------------------------------------------------------------
1 | framework module shared_preferences {
2 | umbrella header "shared_preferences-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/Pods/Target Support Files/shared_preferences/shared_preferences.xcconfig:
--------------------------------------------------------------------------------
1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../.symlinks/flutter/ios"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | OTHER_LDFLAGS = -framework "Flutter"
5 | PODS_BUILD_DIR = ${BUILD_DIR}
6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
7 | PODS_ROOT = ${SRCROOT}
8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/shared_preferences/ios
9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
10 | SKIP_INSTALL = YES
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Original
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcuserdata/noelhome.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner.xcworkspace/xcuserdata/noelhome.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/noejac123/Flutter-Event/43802fa3bff83cb2364d9b5cfdefbf88b01ade6d/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/GeneratedPluginRegistrant.h:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #ifndef GeneratedPluginRegistrant_h
6 | #define GeneratedPluginRegistrant_h
7 |
8 | #import
9 |
10 | @interface GeneratedPluginRegistrant : NSObject
11 | + (void)registerWithRegistry:(NSObject*)registry;
12 | @end
13 |
14 | #endif /* GeneratedPluginRegistrant_h */
15 |
--------------------------------------------------------------------------------
/ios/Runner/GeneratedPluginRegistrant.m:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | #import "GeneratedPluginRegistrant.h"
6 | #import
7 | #import
8 |
9 | @implementation GeneratedPluginRegistrant
10 |
11 | + (void)registerWithRegistry:(NSObject*)registry {
12 | [QRCodeReaderPlugin registerWithRegistrar:[registry registrarForPlugin:@"QRCodeReaderPlugin"]];
13 | [FLTSharedPreferencesPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTSharedPreferencesPlugin"]];
14 | }
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_create_events
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/ios/ServiceDefinitions.json:
--------------------------------------------------------------------------------
1 | {"services":[]}
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:http/http.dart' as http;
4 | import 'package:qr_reader/qr_reader.dart';
5 | import 'dart:convert' as convert;
6 | import 'package:shared_preferences/shared_preferences.dart';
7 |
8 | class Model {
9 | static List favs;
10 | static Events events;
11 | static SharedPreferences prefs;
12 | static getModel() async {
13 | prefs = await SharedPreferences.getInstance();
14 | try {
15 | var bod = prefs.getString("body");
16 | if (bod != null) {
17 | events = Events.fromJson(convert.jsonDecode(bod));
18 | await loadFont(events.font);
19 | }
20 | } catch (e) {
21 | events = null;
22 | await prefs.clear();
23 | }
24 | favs =
25 | prefs.getStringList("favs")?.map((s) => int.parse(s))?.toList() ?? [];
26 | }
27 |
28 | static setModel(bod) async {
29 | events = Events.fromJson(convert.jsonDecode(bod));
30 | await prefs.setString("body", bod);
31 | }
32 |
33 | static chngFav(id) {
34 | favs.contains(id) ? favs.remove(id) : favs.add(id);
35 | prefs.setStringList("favs", favs.map((i) => i.toString()).toList());
36 | }
37 |
38 | static Future loadFont(url) async {
39 | var resp = await http.get(url);
40 | var data = Future.value(ByteData.view(resp.bodyBytes.buffer));
41 | await (FontLoader(events.title)..addFont(data)).load();
42 | }
43 | }
44 |
45 | void main() {
46 | Model.getModel().then((_) => runApp(MyApp()));
47 | }
48 |
49 | class MyApp extends StatelessWidget {
50 | @override
51 | Widget build(_) {
52 | return MaterialApp(
53 | title: 'Flutter Events',
54 | theme: ThemeData(primaryColor: Colors.green, accentColor: Colors.green),
55 | home: Model.events != null ? EventPage() : QrPage(),
56 | );
57 | }
58 | }
59 |
60 | class QrPage extends StatefulWidget {
61 | @override
62 | createState() => _QrPageState();
63 | }
64 |
65 | class _QrPageState extends State {
66 | bool loader = false;
67 | @override
68 | build(_) => Scaffold(
69 | appBar: AppBar(title: Text("Flutter Events"), centerTitle: true),
70 | body: Center(
71 | child: loader
72 | ? CircularProgressIndicator()
73 | : RaisedButton(
74 | onPressed: () async {
75 | String s = await QRCodeReader().scan();
76 | setState(() => loader = true);
77 | var response = await http.get(s);
78 | await Model.setModel(response.body);
79 | await Model.loadFont(Model.events.font);
80 | Navigator.of(context)
81 | ..popUntil((route) => route.isFirst)
82 | ..pushReplacement(
83 | MaterialPageRoute(builder: (_) => EventPage()));
84 | },
85 | child: Text("Scan QR Code")),
86 | ));
87 | }
88 |
89 | class EventPage extends StatefulWidget {
90 | @override
91 | createState() => _MyEventPageState();
92 | }
93 |
94 | class _MyEventPageState extends State {
95 | Widget build(BuildContext context) {
96 | var ets = Model.events;
97 | return Theme(
98 | child: DefaultTabController(
99 | length: ets.tabs.length,
100 | child: Scaffold(
101 | appBar: AppBar(
102 | elevation: 0.0,
103 | centerTitle: true,
104 | actions: [
105 | IconButton(
106 | icon: Icon(Icons.camera_alt),
107 | onPressed: () => Navigator.of(context)
108 | .push(MaterialPageRoute(builder: (_) => QrPage())),
109 | )
110 | ],
111 | bottom: TabBar(
112 | tabs: ets.tabs
113 | .map((e) => Padding(
114 | child: Text(
115 | e.title,
116 | textAlign: TextAlign.center,
117 | ),
118 | padding: EdgeInsets.fromLTRB(5.0, 10.0, 10.0, 5.0),
119 | ))
120 | .toList(),
121 | ),
122 | title: Text(ets.title)),
123 | body: TabBarView(
124 | physics: BouncingScrollPhysics(),
125 | children: ets.tabs
126 | .map((e) => Container(
127 | decoration: BoxDecoration(
128 | borderRadius: BorderRadius.circular(20.0)),
129 | child: ListView.separated(
130 | itemCount: e.items.length,
131 | separatorBuilder: (_, __) =>
132 | Divider(color: ets.accent),
133 | itemBuilder: (context, int index) {
134 | var i = e.items[index];
135 | return ListTile(
136 | title: Text(i.title),
137 | subtitle: Text(i.desc),
138 | leading: Text(
139 | i.time,
140 | textAlign: TextAlign.center,
141 | style: TextStyle(
142 | color: ets.accent,
143 | textBaseline: TextBaseline.ideographic,
144 | ),
145 | ),
146 | trailing: IconButton(
147 | icon: Icon(
148 | Model.favs.contains(i.id)
149 | ? Icons.star
150 | : Icons.star_border,
151 | color: ets.iconColor,
152 | ),
153 | onPressed: () {
154 | Model.chngFav(i.id);
155 | setState(() {});
156 | }),
157 | );
158 | }),
159 | ))
160 | .toList(),
161 | ),
162 | ),
163 | ),
164 | data: ThemeData(
165 | primaryColor: ets.primary,
166 | accentColor: ets.accent,
167 | canvasColor: ets.background,
168 | brightness: ets.brightness,
169 | fontFamily: ets.title),
170 | );
171 | }
172 | }
173 |
174 | class Events {
175 | Color primary, accent, background, iconColor;
176 | Brightness brightness;
177 | String title, font;
178 | List tabs;
179 | Events(
180 | {this.title,
181 | this.brightness,
182 | this.primary,
183 | this.accent,
184 | this.background,
185 | this.iconColor,
186 | this.font,
187 | this.tabs});
188 |
189 | static Color srtToCol(String s) {
190 | return Color(
191 | int.parse('0xFF' + s?.substring(1)?.toUpperCase() ?? "FFFFFF"));
192 | }
193 |
194 | factory Events.fromJson(Map parsedJson) {
195 | return Events(
196 | primary: srtToCol(parsedJson["primary color"]),
197 | accent: srtToCol(parsedJson["accent color"]),
198 | background: srtToCol(parsedJson["background color"]),
199 | iconColor: srtToCol(parsedJson["icon color"]),
200 | brightness: (parsedJson["brightness"] as String).toLowerCase() == "dark"
201 | ? Brightness.dark
202 | : Brightness.light,
203 | font: parsedJson["font"],
204 | title: parsedJson["app title"],
205 | tabs:
206 | (parsedJson["tabs"] as List).map((e) => Tabs.fromJson(e)).toList());
207 | }
208 | }
209 |
210 | class Tabs {
211 | String title;
212 | List- items;
213 | Tabs({this.title, this.items});
214 |
215 | factory Tabs.fromJson(Map parsedJson) {
216 | return Tabs(
217 | title: parsedJson["tab title"],
218 | items: (parsedJson["items"] as List)
219 | .map((e) => Item.fromJson(e))
220 | .toList());
221 | }
222 | }
223 |
224 | class Item {
225 | String time;
226 | String title;
227 | String desc;
228 | int id;
229 | Item({
230 | this.time,
231 | this.title,
232 | this.desc,
233 | this.id,
234 | });
235 |
236 | factory Item.fromJson(Map parsedJson) {
237 | return Item(
238 | time: parsedJson["time"],
239 | title: parsedJson["event title"],
240 | desc: parsedJson["description"],
241 | id: ((parsedJson["time"]) + (parsedJson["event title"])).hashCode);
242 | }
243 | }
244 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://www.dartlang.org/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.0.8"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.0.4"
18 | charcode:
19 | dependency: transitive
20 | description:
21 | name: charcode
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.1.2"
25 | collection:
26 | dependency: transitive
27 | description:
28 | name: collection
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.14.11"
32 | cupertino_icons:
33 | dependency: "direct main"
34 | description:
35 | name: cupertino_icons
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "0.1.2"
39 | flutter:
40 | dependency: "direct main"
41 | description: flutter
42 | source: sdk
43 | version: "0.0.0"
44 | flutter_test:
45 | dependency: "direct dev"
46 | description: flutter
47 | source: sdk
48 | version: "0.0.0"
49 | http:
50 | dependency: "direct main"
51 | description:
52 | name: http
53 | url: "https://pub.dartlang.org"
54 | source: hosted
55 | version: "0.12.0+1"
56 | http_parser:
57 | dependency: transitive
58 | description:
59 | name: http_parser
60 | url: "https://pub.dartlang.org"
61 | source: hosted
62 | version: "3.1.3"
63 | matcher:
64 | dependency: transitive
65 | description:
66 | name: matcher
67 | url: "https://pub.dartlang.org"
68 | source: hosted
69 | version: "0.12.3+1"
70 | meta:
71 | dependency: transitive
72 | description:
73 | name: meta
74 | url: "https://pub.dartlang.org"
75 | source: hosted
76 | version: "1.1.6"
77 | path:
78 | dependency: transitive
79 | description:
80 | name: path
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "1.6.2"
84 | pedantic:
85 | dependency: transitive
86 | description:
87 | name: pedantic
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "1.4.0"
91 | qr_reader:
92 | dependency: "direct main"
93 | description:
94 | name: qr_reader
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.1.3"
98 | quiver:
99 | dependency: transitive
100 | description:
101 | name: quiver
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "2.0.1"
105 | shared_preferences:
106 | dependency: "direct main"
107 | description:
108 | name: shared_preferences
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "0.5.1+2"
112 | sky_engine:
113 | dependency: transitive
114 | description: flutter
115 | source: sdk
116 | version: "0.0.99"
117 | source_span:
118 | dependency: transitive
119 | description:
120 | name: source_span
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "1.5.4"
124 | stack_trace:
125 | dependency: transitive
126 | description:
127 | name: stack_trace
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "1.9.3"
131 | stream_channel:
132 | dependency: transitive
133 | description:
134 | name: stream_channel
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "1.6.8"
138 | string_scanner:
139 | dependency: transitive
140 | description:
141 | name: string_scanner
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "1.0.4"
145 | term_glyph:
146 | dependency: transitive
147 | description:
148 | name: term_glyph
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.1.0"
152 | test_api:
153 | dependency: transitive
154 | description:
155 | name: test_api
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "0.2.2"
159 | typed_data:
160 | dependency: transitive
161 | description:
162 | name: typed_data
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "1.1.6"
166 | vector_math:
167 | dependency: transitive
168 | description:
169 | name: vector_math
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "2.0.8"
173 | sdks:
174 | dart: ">=2.1.0 <3.0.0"
175 | flutter: ">=0.1.4 <2.0.0"
176 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_create_events
2 | description: A small flutter application
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: ">=2.1.0 <3.0.0"
18 |
19 | dependencies:
20 |
21 | flutter:
22 | sdk: flutter
23 |
24 |
25 | # The following adds the Cupertino Icons font to your application.
26 | # Use with the CupertinoIcons class for iOS style icons.
27 | cupertino_icons: ^0.1.2
28 | qr_reader: ^0.1.3
29 | http: ^0.12.0+1
30 | shared_preferences: ^0.5.1+2
31 |
32 | dev_dependencies:
33 | flutter_test:
34 | sdk: flutter
35 |
36 |
37 | # For information on the generic Dart part of this file, see the
38 | # following page: https://www.dartlang.org/tools/pub/pubspec
39 |
40 | # The following section is specific to Flutter.
41 | flutter:
42 |
43 | # The following line ensures that the Material Icons font is
44 | # included with your application, so that you can use the icons in
45 | # the material Icons class.
46 | uses-material-design: true
47 |
48 | # To add assets to your application, add an assets section, like this:
49 | # assets:
50 | # - images/a_dot_burr.jpeg
51 | # - images/a_dot_ham.jpeg
52 |
53 | # An image asset can refer to one or more resolution-specific "variants", see
54 | # https://flutter.io/assets-and-images/#resolution-aware.
55 |
56 | # For details regarding adding assets from package dependencies, see
57 | # https://flutter.io/assets-and-images/#from-packages
58 |
59 | # To add custom fonts to your application, add a fonts section here,
60 | # in this "flutter" section. Each entry in this list should have a
61 | # "family" key with the font family name, and a "fonts" key with a
62 | # list giving the asset and other descriptors for the font. For
63 | # example:
64 | # fonts:
65 | # - family: Schyler
66 | # fonts:
67 | # - asset: fonts/Schyler-Regular.ttf
68 | # - asset: fonts/Schyler-Italic.ttf
69 | # style: italic
70 | # - family: Trajan Pro
71 | # fonts:
72 | # - asset: fonts/TrajanPro.ttf
73 | # - asset: fonts/TrajanPro_Bold.ttf
74 | # weight: 700
75 | #
76 | # For details regarding fonts from package dependencies,
77 | # see https://flutter.io/custom-fonts/#from-packages
78 |
--------------------------------------------------------------------------------
/sample_json.json:
--------------------------------------------------------------------------------
1 | {
2 | "primary color" :"#FFFFFF : Primary color(App Bar) of the app. It must be given in hex.",
3 | "accent color" :"#4285F4 : Accent Color(dividers and secondary elements.) It must be given in hex ",
4 | "background color" :"#FFFFFF : The color of the list items. It must be given in hex" ,
5 | "icon color" :"#F4B400 : The color of the star Icon",
6 | "app title":"App Title : The top title of the app, it must be a string",
7 | "brightness" :"light : The brightness theme. It must either be the string light or dark",
8 | "font": "https://github.com/google/fonts/raw/master/apache/roboto/Roboto-Regular.ttf : The font that will be used. Can take the link of any ttf file only as a string",
9 | "tabs": [{
10 | "tab title": "Tab 1 : The Title of the Tab ",
11 | "items": [
12 | {
13 | "time": "10:00: Time of event. It must be given as a string though no format required",
14 | "event title": "Event 1 : Title of the Event. Must be given as a string",
15 | "description": "Tab 1 Event 1 Details: Description of event. Must be given as a string"
16 | },
17 | {
18 | "time": "11:00",
19 | "event title": "Event 2",
20 | "description": "Event 2 of Tab 1"
21 | }
22 | ]
23 | },
24 | {
25 | "tab title": "Tab 2",
26 | "items": [
27 | {
28 | "time": "10:30",
29 | "event title": "Event 1",
30 | "description": "Event 1 of tab 2"
31 | },
32 | {
33 | "time": "4:30\nPM",
34 | "event title": "Event 2",
35 | "description": "Event 2 of tab 2"
36 | },
37 | {
38 | "time": "8:30\nPM",
39 | "event title": "Event 3",
40 | "description": "Event 3 of tab 2"
41 | }
42 | ]
43 | }
44 | ]
45 | }
--------------------------------------------------------------------------------