├── .gitignore
├── .metadata
├── LICENSE
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flutter_multiplatform_sample
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── 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-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── fonts
│ └── Averta-W01-Semibold.ttf
└── images
│ ├── 2.0x
│ ├── ic_add_to_cart.png
│ ├── ic_bag.png
│ ├── ic_bell.png
│ ├── ic_black_back_arrow.png
│ ├── ic_black_back_arrow_round.png
│ ├── ic_cube_view.png
│ ├── ic_fab.png
│ ├── ic_like.png
│ ├── ic_lock.png
│ ├── ic_menu_dots.png
│ ├── ic_ratings.png
│ ├── ic_search.png
│ └── ic_settings.png
│ ├── 3.0x
│ ├── ic_add_to_cart.png
│ ├── ic_bag.png
│ ├── ic_bell.png
│ ├── ic_black_back_arrow.png
│ ├── ic_black_back_arrow_round.png
│ ├── ic_cube_view.png
│ ├── ic_fab.png
│ ├── ic_like.png
│ ├── ic_lock.png
│ ├── ic_menu_dots.png
│ ├── ic_ratings.png
│ ├── ic_search.png
│ └── ic_settings.png
│ ├── ic_add_to_cart.png
│ ├── ic_bag.png
│ ├── ic_bell.png
│ ├── ic_black_back_arrow.png
│ ├── ic_black_back_arrow_round.png
│ ├── ic_cat_prod_1.png
│ ├── ic_cat_prod_2.png
│ ├── ic_cat_prod_3.png
│ ├── ic_cat_prod_4.png
│ ├── ic_cat_prod_5.png
│ ├── ic_cat_prod_6.png
│ ├── ic_cube_view.png
│ ├── ic_fab.png
│ ├── ic_like.png
│ ├── ic_lock.png
│ ├── ic_menu_dots.png
│ ├── ic_product_1.png
│ ├── ic_product_2.png
│ ├── ic_product_detail.png
│ ├── ic_product_detail_image_1.png
│ ├── ic_product_detail_image_2.png
│ ├── ic_product_detail_image_3.png
│ ├── ic_profile_pic.png
│ ├── ic_ratings.png
│ ├── ic_search.png
│ ├── ic_settings.png
│ └── mindful_eng.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── 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
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── category_screen.dart
├── home_screen.dart
├── main.dart
├── models
│ ├── category_model.dart
│ └── product_model.dart
├── product_screen.dart
├── utils
│ ├── color_utils.dart
│ ├── dimens.dart
│ └── images.dart
└── widget
│ ├── cream_small_text.dart
│ ├── cream_title_text.dart
│ ├── frosted_like_button.dart
│ ├── frosted_lock_button.dart
│ ├── hint_text.dart
│ ├── subtitle_text.dart
│ └── title_text.dart
├── macos
├── .gitignore
├── Flutter
│ ├── Flutter-Debug.xcconfig
│ ├── Flutter-Release.xcconfig
│ └── GeneratedPluginRegistrant.swift
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── app_icon_1024.png
│ │ ├── app_icon_128.png
│ │ ├── app_icon_16.png
│ │ ├── app_icon_256.png
│ │ ├── app_icon_32.png
│ │ ├── app_icon_512.png
│ │ └── app_icon_64.png
│ ├── Base.lproj
│ └── MainMenu.xib
│ ├── Configs
│ ├── AppInfo.xcconfig
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── Warnings.xcconfig
│ ├── DebugProfile.entitlements
│ ├── Info.plist
│ ├── MainFlutterWindow.swift
│ └── Release.entitlements
├── media
├── desktop-macOS.png
├── mobile-platforms.png
└── web.png
├── pubspec.lock
├── pubspec.yaml
├── test
└── widget_test.dart
└── web
├── favicon.png
├── icons
├── Icon-192.png
└── Icon-512.png
├── index.html
└── manifest.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
48 |
49 | # Created by https://www.toptal.com/developers/gitignore/api/intellij,androidstudio,flutter
50 | # Edit at https://www.toptal.com/developers/gitignore?templates=intellij,androidstudio,flutter
51 |
52 | ### Flutter ###
53 | # Flutter/Dart/Pub related
54 | c
55 | .fvm/
56 | build/
57 | coverage/
58 | # For library packages, don’t commit the pubspec.lock file.
59 | # Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
60 | # See https://dart.dev/guides/libraries/private-files#pubspeclock
61 | #pubspec.lock
62 |
63 | # Android related
64 | **/android/**/gradle-wrapper.jar
65 | **/android/.gradle
66 | **/android/captures/
67 | **/android/gradlew
68 | **/android/gradlew.bat
69 | **/android/key.properties
70 | **/android/local.properties
71 | **/android/**/GeneratedPluginRegistrant.java
72 |
73 | # iOS/XCode related
74 | **/ios/**/*.mode1v3
75 | **/ios/**/*.mode2v3
76 | **/ios/**/*.moved-aside
77 | **/ios/**/*.pbxuser
78 | **/ios/**/*.perspectivev3
79 | **/ios/**/*sync/
80 | **/ios/**/.sconsign.dblite
81 | **/ios/**/.tags*
82 | **/ios/**/.vagrant/
83 | **/ios/**/DerivedData/
84 | **/ios/**/Icon?
85 | **/ios/**/Pods/
86 | **/ios/**/.symlinks/
87 | **/ios/**/profile
88 | **/ios/**/xcuserdata
89 | **/ios/.generated/
90 | **/ios/Flutter/App.framework
91 | **/ios/Flutter/Flutter.framework
92 | **/ios/Flutter/Flutter.podspec
93 | **/ios/Flutter/Generated.xcconfig
94 | **/ios/Flutter/app.flx
95 | **/ios/Flutter/app.zip
96 | **/ios/Flutter/flutter_assets/
97 | **/ios/Flutter/flutter_export_environment.sh
98 | **/ios/ServiceDefinitions.json
99 | **/ios/Runner/GeneratedPluginRegistrant.*
100 |
101 | # Exceptions to above rules.
102 | !**/ios/**/default.mode1v3
103 | !**/ios/**/default.mode2v3
104 | !**/ios/**/default.pbxuser
105 | !**/ios/**/default.perspectivev3
106 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
107 |
108 | ### Intellij ###
109 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
110 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
111 |
112 | # User-specific stuff
113 | .idea/**/workspace.xml
114 | .idea/**/tasks.xml
115 | .idea/**/usage.statistics.xml
116 | .idea/**/dictionaries
117 | .idea/**/shelf
118 |
119 | # Generated files
120 | .idea/**/contentModel.xml
121 |
122 | # Sensitive or high-churn files
123 | .idea/**/dataSources/
124 | .idea/**/dataSources.ids
125 | .idea/**/dataSources.local.xml
126 | .idea/**/sqlDataSources.xml
127 | .idea/**/dynamic.xml
128 | .idea/**/uiDesigner.xml
129 | .idea/**/dbnavigator.xml
130 |
131 | # Gradle
132 | .idea/**/gradle.xml
133 | .idea/**/libraries
134 |
135 | # Gradle and Maven with auto-import
136 | # When using Gradle or Maven with auto-import, you should exclude module files,
137 | # since they will be recreated, and may cause churn. Uncomment if using
138 | # auto-import.
139 | # .idea/artifacts
140 | # .idea/compiler.xml
141 | # .idea/jarRepositories.xml
142 | # .idea/modules.xml
143 | # .idea/*.iml
144 | # .idea/modules
145 | # *.iml
146 | # *.ipr
147 |
148 | # CMake
149 | cmake-build-*/
150 |
151 | # Mongo Explorer plugin
152 | .idea/**/mongoSettings.xml
153 |
154 |
155 | # IntelliJ
156 | out/
157 |
158 | # mpeltonen/sbt-idea plugin
159 | .idea_modules/
160 |
161 | # JIRA plugin
162 | atlassian-ide-plugin.xml
163 |
164 | # Cursive Clojure plugin
165 | .idea/replstate.xml
166 |
167 | # Crashlytics plugin (for Android Studio and IntelliJ)
168 | com_crashlytics_export_strings.xml
169 | crashlytics.properties
170 | crashlytics-build.properties
171 | fabric.properties
172 |
173 | # Editor-based Rest Client
174 | .idea/httpRequests
175 |
176 | # Android studio 3.1+ serialized cache file
177 | .idea/caches/build_file_checksums.ser
178 |
179 | ### Intellij Patch ###
180 | # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
181 |
182 | # *.iml
183 | # modules.xml
184 | # .idea/misc.xml
185 | # *.ipr
186 |
187 | # Sonarlint plugin
188 | # https://plugins.jetbrains.com/plugin/7973-sonarlint
189 | .idea/**/sonarlint/
190 |
191 | # SonarQube Plugin
192 | # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
193 | .idea/**/sonarIssues.xml
194 |
195 | # Markdown Navigator plugin
196 | # https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
197 | .idea/**/markdown-navigator.xml
198 | .idea/**/markdown-navigator-enh.xml
199 | .idea/**/markdown-navigator/
200 |
201 | # Cache file creation bug
202 | # See https://youtrack.jetbrains.com/issue/JBR-2257
203 | .idea/$CACHE_FILE$
204 |
205 | # CodeStream plugin
206 | # https://plugins.jetbrains.com/plugin/12206-codestream
207 | .idea/codestream.xml
208 |
209 | ### AndroidStudio ###
210 | # Covers files to be ignored for android development using Android Studio.
211 |
212 | # Built application files
213 | *.apk
214 | *.ap_
215 | *.aab
216 |
217 | # Files for the ART/Dalvik VM
218 | *.dex
219 |
220 |
221 | # Generated files
222 | bin/
223 | gen/
224 |
225 | # Gradle files
226 | .gradle
227 | .gradle/
228 |
229 | # Signing files
230 | .signing/
231 |
232 | # Local configuration file (sdk path, etc)
233 | local.properties
234 |
235 | # Proguard folder generated by Eclipse
236 | proguard/
237 |
238 |
239 | # Android Studio
240 | /*/build/
241 | /*/local.properties
242 | /*/out
243 | /*/*/build
244 | /*/*/production
245 | captures/
246 | .navigation/
247 | *~
248 |
249 | # Keystore files
250 | *.jks
251 | *.keystore
252 |
253 | # Google Services (e.g. APIs or Firebase)
254 | # google-services.json
255 |
256 | # Android Patch
257 | gen-external-apklibs
258 |
259 | # External native build folder generated in Android Studio 2.2 and later
260 | .externalNativeBuild
261 |
262 | # NDK
263 | obj/
264 |
265 | # IntelliJ IDEA
266 | /out/
267 |
268 | # User-specific configurations
269 | .idea/caches/
270 | .idea/libraries/
271 | .idea/shelf/
272 | .idea/workspace.xml
273 | .idea/tasks.xml
274 | .idea/.name
275 | .idea/compiler.xml
276 | .idea/copyright/profiles_settings.xml
277 | .idea/encodings.xml
278 | .idea/misc.xml
279 | .idea/modules.xml
280 | .idea/scopes/scope_settings.xml
281 | .idea/dictionaries
282 | .idea/vcs.xml
283 | .idea/jsLibraryMappings.xml
284 | .idea/datasources.xml
285 | .idea/dataSources.ids
286 | .idea/sqlDataSources.xml
287 | .idea/dynamic.xml
288 | .idea/uiDesigner.xml
289 | .idea/assetWizardSettings.xml
290 | .idea/gradle.xml
291 | .idea/jarRepositories.xml
292 | .idea/navEditor.xml
293 |
294 | # OS-specific files
295 | .DS_Store?
296 | ._*
297 | .Spotlight-V100
298 | .Trashes
299 | ehthumbs.db
300 | Thumbs.db
301 |
302 | # Legacy Eclipse project files
303 | .classpath
304 | .project
305 | .cproject
306 | .settings/
307 |
308 | # Mobile Tools for Java (J2ME)
309 | .mtj.tmp/
310 |
311 | # Package Files #
312 | *.war
313 | *.ear
314 |
315 | # virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
316 | hs_err_pid*
317 |
318 | ## Plugin-specific files:
319 |
320 | # mpeltonen/sbt-idea plugin
321 |
322 | # JIRA plugin
323 |
324 | # Mongo Explorer plugin
325 | .idea/mongoSettings.xml
326 |
327 | # Crashlytics plugin (for Android Studio and IntelliJ)
328 |
329 | ### AndroidStudio Patch ###
330 |
331 | !/gradle/wrapper/gradle-wrapper.jar
332 |
333 | # End of https://www.toptal.com/developers/gitignore/api/intellij,androidstudio,flutter
334 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: b1395592de68cc8ac4522094ae59956dd21a91db
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 MindInventory
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 Multi-platform sample
2 |
3 | Flutter Multi-platform allows developers to unleash their app to run on the wide variety of different platforms with little or no change.
4 |
5 | ## Preview
6 |
7 | 
8 | 
9 | 
10 |
11 | # Blog post
12 |
13 | https://medium.com/mindful-engineering/flutter-adding-a-support-for-multi-platform-36cfbafe46ab
14 |
15 | # LICENSE!
16 |
17 | Flutter MultiPlatform is [MIT-licensed](/LICENSE).
18 |
19 | # Let us know!
20 |
21 | We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.
22 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/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 30
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | defaultConfig {
36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 | applicationId "com.example.flutter_multiplatform_sample"
38 | minSdkVersion 16
39 | targetSdkVersion 30
40 | versionCode flutterVersionCode.toInteger()
41 | versionName flutterVersionName
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
59 | }
60 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
13 |
17 |
21 |
26 |
30 |
31 |
32 |
33 |
34 |
35 |
37 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/flutter_multiplatform_sample/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_multiplatform_sample
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 | android.enableR8=true
--------------------------------------------------------------------------------
/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-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/fonts/Averta-W01-Semibold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/fonts/Averta-W01-Semibold.ttf
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_add_to_cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_add_to_cart.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_bag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_bag.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_bell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_bell.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_black_back_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_black_back_arrow.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_black_back_arrow_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_black_back_arrow_round.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_cube_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_cube_view.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_fab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_fab.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_like.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_lock.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_menu_dots.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_menu_dots.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_ratings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_ratings.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_search.png
--------------------------------------------------------------------------------
/assets/images/2.0x/ic_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/2.0x/ic_settings.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_add_to_cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_add_to_cart.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_bag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_bag.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_bell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_bell.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_black_back_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_black_back_arrow.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_black_back_arrow_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_black_back_arrow_round.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_cube_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_cube_view.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_fab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_fab.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_like.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_lock.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_menu_dots.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_menu_dots.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_ratings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_ratings.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_search.png
--------------------------------------------------------------------------------
/assets/images/3.0x/ic_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/3.0x/ic_settings.png
--------------------------------------------------------------------------------
/assets/images/ic_add_to_cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_add_to_cart.png
--------------------------------------------------------------------------------
/assets/images/ic_bag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_bag.png
--------------------------------------------------------------------------------
/assets/images/ic_bell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_bell.png
--------------------------------------------------------------------------------
/assets/images/ic_black_back_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_black_back_arrow.png
--------------------------------------------------------------------------------
/assets/images/ic_black_back_arrow_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_black_back_arrow_round.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_1.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_2.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_3.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_4.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_5.png
--------------------------------------------------------------------------------
/assets/images/ic_cat_prod_6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cat_prod_6.png
--------------------------------------------------------------------------------
/assets/images/ic_cube_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_cube_view.png
--------------------------------------------------------------------------------
/assets/images/ic_fab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_fab.png
--------------------------------------------------------------------------------
/assets/images/ic_like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_like.png
--------------------------------------------------------------------------------
/assets/images/ic_lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_lock.png
--------------------------------------------------------------------------------
/assets/images/ic_menu_dots.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_menu_dots.png
--------------------------------------------------------------------------------
/assets/images/ic_product_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_1.png
--------------------------------------------------------------------------------
/assets/images/ic_product_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_2.png
--------------------------------------------------------------------------------
/assets/images/ic_product_detail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_detail.png
--------------------------------------------------------------------------------
/assets/images/ic_product_detail_image_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_detail_image_1.png
--------------------------------------------------------------------------------
/assets/images/ic_product_detail_image_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_detail_image_2.png
--------------------------------------------------------------------------------
/assets/images/ic_product_detail_image_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_product_detail_image_3.png
--------------------------------------------------------------------------------
/assets/images/ic_profile_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_profile_pic.png
--------------------------------------------------------------------------------
/assets/images/ic_ratings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_ratings.png
--------------------------------------------------------------------------------
/assets/images/ic_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_search.png
--------------------------------------------------------------------------------
/assets/images/ic_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/ic_settings.png
--------------------------------------------------------------------------------
/assets/images/mindful_eng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/assets/images/mindful_eng.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/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 "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXCopyFilesBuildPhase section */
19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
20 | isa = PBXCopyFilesBuildPhase;
21 | buildActionMask = 2147483647;
22 | dstPath = "";
23 | dstSubfolderSpec = 10;
24 | files = (
25 | );
26 | name = "Embed Frameworks";
27 | runOnlyForDeploymentPostprocessing = 0;
28 | };
29 | /* End PBXCopyFilesBuildPhase section */
30 |
31 | /* Begin PBXFileReference section */
32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
45 | /* End PBXFileReference section */
46 |
47 | /* Begin PBXFrameworksBuildPhase section */
48 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
49 | isa = PBXFrameworksBuildPhase;
50 | buildActionMask = 2147483647;
51 | files = (
52 | );
53 | runOnlyForDeploymentPostprocessing = 0;
54 | };
55 | /* End PBXFrameworksBuildPhase section */
56 |
57 | /* Begin PBXGroup section */
58 | 9740EEB11CF90186004384FC /* Flutter */ = {
59 | isa = PBXGroup;
60 | children = (
61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
65 | );
66 | name = Flutter;
67 | sourceTree = "";
68 | };
69 | 97C146E51CF9000F007C117D = {
70 | isa = PBXGroup;
71 | children = (
72 | 9740EEB11CF90186004384FC /* Flutter */,
73 | 97C146F01CF9000F007C117D /* Runner */,
74 | 97C146EF1CF9000F007C117D /* Products */,
75 | );
76 | sourceTree = "";
77 | };
78 | 97C146EF1CF9000F007C117D /* Products */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 97C146EE1CF9000F007C117D /* Runner.app */,
82 | );
83 | name = Products;
84 | sourceTree = "";
85 | };
86 | 97C146F01CF9000F007C117D /* Runner */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
92 | 97C147021CF9000F007C117D /* Info.plist */,
93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
97 | );
98 | path = Runner;
99 | sourceTree = "";
100 | };
101 | /* End PBXGroup section */
102 |
103 | /* Begin PBXNativeTarget section */
104 | 97C146ED1CF9000F007C117D /* Runner */ = {
105 | isa = PBXNativeTarget;
106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
107 | buildPhases = (
108 | 9740EEB61CF901F6004384FC /* Run Script */,
109 | 97C146EA1CF9000F007C117D /* Sources */,
110 | 97C146EB1CF9000F007C117D /* Frameworks */,
111 | 97C146EC1CF9000F007C117D /* Resources */,
112 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = Runner;
120 | productName = Runner;
121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | 97C146E61CF9000F007C117D /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | LastUpgradeCheck = 1020;
131 | ORGANIZATIONNAME = "";
132 | TargetAttributes = {
133 | 97C146ED1CF9000F007C117D = {
134 | CreatedOnToolsVersion = 7.3.1;
135 | LastSwiftMigration = 1100;
136 | };
137 | };
138 | };
139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
140 | compatibilityVersion = "Xcode 9.3";
141 | developmentRegion = en;
142 | hasScannedForEncodings = 0;
143 | knownRegions = (
144 | en,
145 | Base,
146 | );
147 | mainGroup = 97C146E51CF9000F007C117D;
148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
149 | projectDirPath = "";
150 | projectRoot = "";
151 | targets = (
152 | 97C146ED1CF9000F007C117D /* Runner */,
153 | );
154 | };
155 | /* End PBXProject section */
156 |
157 | /* Begin PBXResourcesBuildPhase section */
158 | 97C146EC1CF9000F007C117D /* Resources */ = {
159 | isa = PBXResourcesBuildPhase;
160 | buildActionMask = 2147483647;
161 | files = (
162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
166 | );
167 | runOnlyForDeploymentPostprocessing = 0;
168 | };
169 | /* End PBXResourcesBuildPhase section */
170 |
171 | /* Begin PBXShellScriptBuildPhase section */
172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173 | isa = PBXShellScriptBuildPhase;
174 | buildActionMask = 2147483647;
175 | files = (
176 | );
177 | inputPaths = (
178 | );
179 | name = "Thin Binary";
180 | outputPaths = (
181 | );
182 | runOnlyForDeploymentPostprocessing = 0;
183 | shellPath = /bin/sh;
184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
185 | };
186 | 9740EEB61CF901F6004384FC /* Run Script */ = {
187 | isa = PBXShellScriptBuildPhase;
188 | buildActionMask = 2147483647;
189 | files = (
190 | );
191 | inputPaths = (
192 | );
193 | name = "Run Script";
194 | outputPaths = (
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | shellPath = /bin/sh;
198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
199 | };
200 | /* End PBXShellScriptBuildPhase section */
201 |
202 | /* Begin PBXSourcesBuildPhase section */
203 | 97C146EA1CF9000F007C117D /* Sources */ = {
204 | isa = PBXSourcesBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
209 | );
210 | runOnlyForDeploymentPostprocessing = 0;
211 | };
212 | /* End PBXSourcesBuildPhase section */
213 |
214 | /* Begin PBXVariantGroup section */
215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
216 | isa = PBXVariantGroup;
217 | children = (
218 | 97C146FB1CF9000F007C117D /* Base */,
219 | );
220 | name = Main.storyboard;
221 | sourceTree = "";
222 | };
223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
224 | isa = PBXVariantGroup;
225 | children = (
226 | 97C147001CF9000F007C117D /* Base */,
227 | );
228 | name = LaunchScreen.storyboard;
229 | sourceTree = "";
230 | };
231 | /* End PBXVariantGroup section */
232 |
233 | /* Begin XCBuildConfiguration section */
234 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
235 | isa = XCBuildConfiguration;
236 | buildSettings = {
237 | ALWAYS_SEARCH_USER_PATHS = NO;
238 | CLANG_ANALYZER_NONNULL = YES;
239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
240 | CLANG_CXX_LIBRARY = "libc++";
241 | CLANG_ENABLE_MODULES = YES;
242 | CLANG_ENABLE_OBJC_ARC = YES;
243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
244 | CLANG_WARN_BOOL_CONVERSION = YES;
245 | CLANG_WARN_COMMA = YES;
246 | CLANG_WARN_CONSTANT_CONVERSION = YES;
247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
249 | CLANG_WARN_EMPTY_BODY = YES;
250 | CLANG_WARN_ENUM_CONVERSION = YES;
251 | CLANG_WARN_INFINITE_RECURSION = YES;
252 | CLANG_WARN_INT_CONVERSION = YES;
253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
258 | CLANG_WARN_STRICT_PROTOTYPES = YES;
259 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
260 | CLANG_WARN_UNREACHABLE_CODE = YES;
261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
263 | COPY_PHASE_STRIP = NO;
264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
265 | ENABLE_NS_ASSERTIONS = NO;
266 | ENABLE_STRICT_OBJC_MSGSEND = YES;
267 | GCC_C_LANGUAGE_STANDARD = gnu99;
268 | GCC_NO_COMMON_BLOCKS = YES;
269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
271 | GCC_WARN_UNDECLARED_SELECTOR = YES;
272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273 | GCC_WARN_UNUSED_FUNCTION = YES;
274 | GCC_WARN_UNUSED_VARIABLE = YES;
275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
276 | MTL_ENABLE_DEBUG_INFO = NO;
277 | SDKROOT = iphoneos;
278 | SUPPORTED_PLATFORMS = iphoneos;
279 | TARGETED_DEVICE_FAMILY = "1,2";
280 | VALIDATE_PRODUCT = YES;
281 | };
282 | name = Profile;
283 | };
284 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
285 | isa = XCBuildConfiguration;
286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
287 | buildSettings = {
288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289 | CLANG_ENABLE_MODULES = YES;
290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
291 | ENABLE_BITCODE = NO;
292 | INFOPLIST_FILE = Runner/Info.plist;
293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMultiplatformSample;
295 | PRODUCT_NAME = "$(TARGET_NAME)";
296 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
297 | SWIFT_VERSION = 5.0;
298 | VERSIONING_SYSTEM = "apple-generic";
299 | };
300 | name = Profile;
301 | };
302 | 97C147031CF9000F007C117D /* Debug */ = {
303 | isa = XCBuildConfiguration;
304 | buildSettings = {
305 | ALWAYS_SEARCH_USER_PATHS = NO;
306 | CLANG_ANALYZER_NONNULL = YES;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
312 | CLANG_WARN_BOOL_CONVERSION = YES;
313 | CLANG_WARN_COMMA = YES;
314 | CLANG_WARN_CONSTANT_CONVERSION = YES;
315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
317 | CLANG_WARN_EMPTY_BODY = YES;
318 | CLANG_WARN_ENUM_CONVERSION = YES;
319 | CLANG_WARN_INFINITE_RECURSION = YES;
320 | CLANG_WARN_INT_CONVERSION = YES;
321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
326 | CLANG_WARN_STRICT_PROTOTYPES = YES;
327 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
328 | CLANG_WARN_UNREACHABLE_CODE = YES;
329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
331 | COPY_PHASE_STRIP = NO;
332 | DEBUG_INFORMATION_FORMAT = dwarf;
333 | ENABLE_STRICT_OBJC_MSGSEND = YES;
334 | ENABLE_TESTABILITY = YES;
335 | GCC_C_LANGUAGE_STANDARD = gnu99;
336 | GCC_DYNAMIC_NO_PIC = NO;
337 | GCC_NO_COMMON_BLOCKS = YES;
338 | GCC_OPTIMIZATION_LEVEL = 0;
339 | GCC_PREPROCESSOR_DEFINITIONS = (
340 | "DEBUG=1",
341 | "$(inherited)",
342 | );
343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
345 | GCC_WARN_UNDECLARED_SELECTOR = YES;
346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347 | GCC_WARN_UNUSED_FUNCTION = YES;
348 | GCC_WARN_UNUSED_VARIABLE = YES;
349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
350 | MTL_ENABLE_DEBUG_INFO = YES;
351 | ONLY_ACTIVE_ARCH = YES;
352 | SDKROOT = iphoneos;
353 | TARGETED_DEVICE_FAMILY = "1,2";
354 | };
355 | name = Debug;
356 | };
357 | 97C147041CF9000F007C117D /* Release */ = {
358 | isa = XCBuildConfiguration;
359 | buildSettings = {
360 | ALWAYS_SEARCH_USER_PATHS = NO;
361 | CLANG_ANALYZER_NONNULL = YES;
362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
363 | CLANG_CXX_LIBRARY = "libc++";
364 | CLANG_ENABLE_MODULES = YES;
365 | CLANG_ENABLE_OBJC_ARC = YES;
366 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
367 | CLANG_WARN_BOOL_CONVERSION = YES;
368 | CLANG_WARN_COMMA = YES;
369 | CLANG_WARN_CONSTANT_CONVERSION = YES;
370 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
372 | CLANG_WARN_EMPTY_BODY = YES;
373 | CLANG_WARN_ENUM_CONVERSION = YES;
374 | CLANG_WARN_INFINITE_RECURSION = YES;
375 | CLANG_WARN_INT_CONVERSION = YES;
376 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
377 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
379 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
381 | CLANG_WARN_STRICT_PROTOTYPES = YES;
382 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
383 | CLANG_WARN_UNREACHABLE_CODE = YES;
384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
386 | COPY_PHASE_STRIP = NO;
387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
388 | ENABLE_NS_ASSERTIONS = NO;
389 | ENABLE_STRICT_OBJC_MSGSEND = YES;
390 | GCC_C_LANGUAGE_STANDARD = gnu99;
391 | GCC_NO_COMMON_BLOCKS = YES;
392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
394 | GCC_WARN_UNDECLARED_SELECTOR = YES;
395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
396 | GCC_WARN_UNUSED_FUNCTION = YES;
397 | GCC_WARN_UNUSED_VARIABLE = YES;
398 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
399 | MTL_ENABLE_DEBUG_INFO = NO;
400 | SDKROOT = iphoneos;
401 | SUPPORTED_PLATFORMS = iphoneos;
402 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
403 | TARGETED_DEVICE_FAMILY = "1,2";
404 | VALIDATE_PRODUCT = YES;
405 | };
406 | name = Release;
407 | };
408 | 97C147061CF9000F007C117D /* Debug */ = {
409 | isa = XCBuildConfiguration;
410 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
411 | buildSettings = {
412 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
413 | CLANG_ENABLE_MODULES = YES;
414 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
415 | ENABLE_BITCODE = NO;
416 | INFOPLIST_FILE = Runner/Info.plist;
417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
418 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMultiplatformSample;
419 | PRODUCT_NAME = "$(TARGET_NAME)";
420 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
421 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
422 | SWIFT_VERSION = 5.0;
423 | VERSIONING_SYSTEM = "apple-generic";
424 | };
425 | name = Debug;
426 | };
427 | 97C147071CF9000F007C117D /* Release */ = {
428 | isa = XCBuildConfiguration;
429 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | CLANG_ENABLE_MODULES = YES;
433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
434 | ENABLE_BITCODE = NO;
435 | INFOPLIST_FILE = Runner/Info.plist;
436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
437 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMultiplatformSample;
438 | PRODUCT_NAME = "$(TARGET_NAME)";
439 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
440 | SWIFT_VERSION = 5.0;
441 | VERSIONING_SYSTEM = "apple-generic";
442 | };
443 | name = Release;
444 | };
445 | /* End XCBuildConfiguration section */
446 |
447 | /* Begin XCConfigurationList section */
448 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
449 | isa = XCConfigurationList;
450 | buildConfigurations = (
451 | 97C147031CF9000F007C117D /* Debug */,
452 | 97C147041CF9000F007C117D /* Release */,
453 | 249021D3217E4FDB00AE95B9 /* Profile */,
454 | );
455 | defaultConfigurationIsVisible = 0;
456 | defaultConfigurationName = Release;
457 | };
458 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
459 | isa = XCConfigurationList;
460 | buildConfigurations = (
461 | 97C147061CF9000F007C117D /* Debug */,
462 | 97C147071CF9000F007C117D /* Release */,
463 | 249021D4217E4FDB00AE95B9 /* Profile */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | /* End XCConfigurationList section */
469 | };
470 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
471 | }
472 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/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 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/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: [UIApplication.LaunchOptionsKey: 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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/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/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_multiplatform_sample
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"
2 |
--------------------------------------------------------------------------------
/lib/category_screen.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_multiplatform_sample/models/category_model.dart';
5 | import 'package:flutter_multiplatform_sample/utils/color_utils.dart';
6 | import 'package:flutter_multiplatform_sample/utils/dimens.dart';
7 | import 'package:flutter_multiplatform_sample/utils/images.dart';
8 | import 'package:flutter_multiplatform_sample/widget/cream_small_text.dart';
9 | import 'package:flutter_multiplatform_sample/widget/cream_title_text.dart';
10 | import 'package:flutter_multiplatform_sample/widget/frosted_like_button.dart';
11 | import 'package:flutter_multiplatform_sample/widget/title_text.dart';
12 | import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
13 |
14 | class CategoryScreen extends StatefulWidget {
15 | @override
16 | _CategoryScreenState createState() => _CategoryScreenState();
17 | }
18 |
19 | class _CategoryScreenState extends State {
20 | List modelList = [
21 | CatModel(
22 | image: icCatProduct3,
23 | brandName: 'Loose fit blazer',
24 | catName: 'ZARA',
25 | price: '\$899.99'),
26 | CatModel(
27 | image: icCatProduct4,
28 | brandName: 'Open blazer',
29 | catName: 'VERMODA',
30 | price: '\$599.99'),
31 | CatModel(
32 | image: icCatProduct5,
33 | brandName: 'Blue loose fit blazer',
34 | catName: 'AJIO',
35 | price: '\$299.99'),
36 | CatModel(
37 | image: icCatProduct6,
38 | brandName: 'Open pink blazer',
39 | catName: 'VERMODA',
40 | price: '\$399.99'),
41 | CatModel(
42 | image: icCatProduct3,
43 | brandName: 'Loose fit blazer',
44 | catName: 'ZARA',
45 | price: '\$899.99'),
46 | CatModel(
47 | image: icCatProduct4,
48 | brandName: 'Open blazer',
49 | catName: 'VERMODA',
50 | price: '\$599.99'),
51 | CatModel(
52 | image: icCatProduct5,
53 | brandName: 'Blue loose fit blazer',
54 | catName: 'AJIO',
55 | price: '\$299.99'),
56 | CatModel(
57 | image: icCatProduct6,
58 | brandName: 'Open pink blazer',
59 | catName: 'VERMODA',
60 | price: '\$399.99'),
61 | CatModel(
62 | image: icCatProduct3,
63 | brandName: 'Loose fit blazer',
64 | catName: 'ZARA',
65 | price: '\$899.99'),
66 | CatModel(
67 | image: icCatProduct4,
68 | brandName: 'Open blazer',
69 | catName: 'VERMODA',
70 | price: '\$599.99'),
71 | CatModel(
72 | image: icCatProduct5,
73 | brandName: 'Blue loose fit blazer',
74 | catName: 'AJIO',
75 | price: '\$299.99'),
76 | CatModel(
77 | image: icCatProduct6,
78 | brandName: 'Open pink blazer',
79 | catName: 'VERMODA',
80 | price: '\$399.99'),
81 | CatModel(
82 | image: icCatProduct3,
83 | brandName: 'Loose fit blazer',
84 | catName: 'ZARA',
85 | price: '\$899.99'),
86 | CatModel(
87 | image: icCatProduct4,
88 | brandName: 'Open blazer',
89 | catName: 'VERMODA',
90 | price: '\$599.99'),
91 | CatModel(
92 | image: icCatProduct5,
93 | brandName: 'Blue loose fit blazer',
94 | catName: 'AJIO',
95 | price: '\$299.99'),
96 | CatModel(
97 | image: icCatProduct6,
98 | brandName: 'Open pink blazer',
99 | catName: 'VERMODA',
100 | price: '\$399.99'),
101 | ];
102 |
103 | @override
104 | Widget build(BuildContext context) {
105 | return Scaffold(
106 | backgroundColor: homeScreenBackground,
107 | body: OrientationBuilder(
108 | builder: (context, orientation) {
109 | return SafeArea(
110 | child: Column(
111 | children: [
112 | _appBar(),
113 | _categoryInfo(),
114 | _filteredCatItem(),
115 | _productList(orientation),
116 | ],
117 | ),
118 | );
119 | },
120 | ),
121 | );
122 | }
123 |
124 | Widget _appBar() {
125 | return Row(
126 | children: [_backButton(), _trailingButtons()],
127 | );
128 | }
129 |
130 | Widget _backButton() {
131 | return InkWell(
132 | onTap: () {
133 | Navigator.pop(context);
134 | },
135 | child: Container(
136 | margin: EdgeInsets.only(left: 15.0, top: 15),
137 | child: Row(
138 | children: [
139 | Container(
140 | margin: const EdgeInsets.symmetric(vertical: 2.0),
141 | child: Container(
142 | child: ClipOval(
143 | child: Image.asset(
144 | icBlackBackArrowRound,
145 | fit: BoxFit.cover,
146 | height: 20,
147 | ),
148 | ),
149 | ),
150 | ),
151 | ],
152 | ),
153 | ),
154 | );
155 | }
156 |
157 | Widget _trailingButtons() {
158 | return Expanded(
159 | child: Row(
160 | mainAxisAlignment: MainAxisAlignment.end,
161 | children: [
162 | Image.asset(
163 | icBell,
164 | height: 20,
165 | ),
166 | Padding(
167 | padding: const EdgeInsets.symmetric(horizontal: 20),
168 | child: Image.asset(
169 | icBag,
170 | height: 20,
171 | ),
172 | ),
173 | ],
174 | ),
175 | );
176 | }
177 |
178 | Widget _categoryInfo() {
179 | return Container(
180 | margin: EdgeInsets.symmetric(horizontal: 15.0, vertical: 35),
181 | child: Row(
182 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
183 | children: [
184 | CreamTitleText(
185 | label: 'Oversize and Loose fit blazer',
186 | maxLine: 2,
187 | ),
188 | TitleText(
189 | label: '449 results',
190 | fontWeight: fontWeightLight,
191 | fontSize: fontSmall,
192 | )
193 | ],
194 | ),
195 | );
196 | }
197 |
198 | Widget _filteredCatItem() {
199 | return Container(
200 | margin: const EdgeInsets.symmetric(horizontal: 15),
201 | child: Row(
202 | mainAxisAlignment: MainAxisAlignment.start,
203 | children: [
204 | _catFilteredItem(icCatProduct1, 'Oversize'),
205 | _catFilteredItem(icCatProduct2, 'Loose fit')
206 | ],
207 | ),
208 | );
209 | }
210 |
211 | Widget _catFilteredItem(String icon, String description) {
212 | return Container(
213 | decoration: BoxDecoration(
214 | color: searchBarBackColor, borderRadius: BorderRadius.circular(30.0)),
215 | margin: EdgeInsets.symmetric(horizontal: 10),
216 | child: Row(
217 | children: [
218 | Container(
219 | height: 50,
220 | width: 50,
221 | child: CircleAvatar(
222 | child: Container(
223 | child: ClipOval(
224 | child: Image.asset(
225 | icon,
226 | fit: BoxFit.cover,
227 | ),
228 | ),
229 | ),
230 | ),
231 | ),
232 | SizedBox(
233 | width: 8.0,
234 | ),
235 | TitleText(
236 | label: description,
237 | ),
238 | SizedBox(
239 | width: 32,
240 | )
241 | ],
242 | ),
243 | );
244 | }
245 |
246 | Widget _productList(Orientation orientation) {
247 | var _staggeredTiles = _getStaggeredTiles(orientation);
248 | return Expanded(
249 | child: Container(
250 | decoration: BoxDecoration(
251 | color: categorySectionBackground,
252 | borderRadius: BorderRadius.only(
253 | topLeft: Radius.circular(40.0),
254 | topRight: Radius.circular(40.0))),
255 | padding: EdgeInsets.only(top: 20.0, right: 20.0, left: 20.0),
256 | margin: EdgeInsets.only(top: 15.0),
257 | child: StaggeredGridView.countBuilder(
258 | staggeredTileBuilder: (index) {
259 | return _staggeredTiles[index];
260 | },
261 | crossAxisCount: (orientation == Orientation.landscape) ? 5 : 2,
262 | crossAxisSpacing: (orientation == Orientation.landscape) ? 30 : 10,
263 | mainAxisSpacing: (orientation == Orientation.landscape) ? 32 : 12,
264 | itemCount: modelList.length,
265 | itemBuilder: (context, index) {
266 | return Container(
267 | decoration: BoxDecoration(
268 | color: Colors.white,
269 | borderRadius: BorderRadius.all(Radius.circular(15)),
270 | boxShadow: [
271 | BoxShadow(
272 | color: blurEffectShadowColor.withOpacity(0.5),
273 | blurRadius: 5.0,
274 | spreadRadius: 0.5,
275 | ),
276 | ],
277 | ),
278 | padding: EdgeInsets.all(10.0),
279 | child: Column(
280 | children: [
281 | Expanded(
282 | flex: 2,
283 | child: Stack(
284 | children: [
285 | ClipRRect(
286 | borderRadius: BorderRadius.all(Radius.circular(15)),
287 | child: FractionallySizedBox(
288 | heightFactor: 1,
289 | child: Image.asset(
290 | modelList[index].image,
291 | fit: BoxFit.fill,
292 | width: double.infinity,
293 | ),
294 | ),
295 | ),
296 | Positioned(
297 | top: 15, right: 15, child: FrostedLikeButton())
298 | ],
299 | ),
300 | ),
301 | SizedBox(height: 15),
302 | Expanded(
303 | child: Column(
304 | children: [
305 | TitleText(
306 | label: modelList[index].catName,
307 | fontWeight: fontWeightSemiBold,
308 | fontSize: fontSmall,
309 | ),
310 | Padding(
311 | padding: const EdgeInsets.only(top: 5.0, bottom: 5.0),
312 | child: CreamSmallText(
313 | label: modelList[index].brandName,
314 | ),
315 | ),
316 | Padding(
317 | padding: const EdgeInsets.only(top: 5.0, bottom: 5.0),
318 | child: TitleText(
319 | label: modelList[index].price,
320 | fontSize: fontLarge,
321 | fontWeight: fontWeightSemiBold,
322 | ),
323 | )
324 | ],
325 | ),
326 | )
327 | ],
328 | ),
329 | );
330 | },
331 | ),
332 | ),
333 | );
334 | }
335 |
336 | List _getStaggeredTiles(Orientation orientation) {
337 | return [
338 | StaggeredTile.count(1, 1.5),
339 | StaggeredTile.count(1, 1.95),
340 | StaggeredTile.count(1, 1.8),
341 | StaggeredTile.count(1, 1.6),
342 | StaggeredTile.count(1, 1.5),
343 | StaggeredTile.count(1, 1.95),
344 | StaggeredTile.count(1, 1.8),
345 | StaggeredTile.count(1, 1.6),
346 | StaggeredTile.count(1, 1.5),
347 | StaggeredTile.count(1, 1.95),
348 | StaggeredTile.count(1, 1.8),
349 | StaggeredTile.count(1, 1.6),
350 | StaggeredTile.count(1, 1.5),
351 | StaggeredTile.count(1, 1.95),
352 | StaggeredTile.count(1, 1.8),
353 | StaggeredTile.count(1, 1.6),
354 | ];
355 | }
356 | }
357 |
--------------------------------------------------------------------------------
/lib/home_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_multiplatform_sample/models/product_model.dart';
4 | import 'package:flutter_multiplatform_sample/product_screen.dart';
5 | import 'package:flutter_multiplatform_sample/widget/frosted_like_button.dart';
6 | import 'package:flutter_multiplatform_sample/widget/frosted_lock_button.dart';
7 |
8 | import 'utils/color_utils.dart';
9 | import 'utils/dimens.dart';
10 | import 'utils/images.dart';
11 | import 'widget/cream_small_text.dart';
12 | import 'widget/cream_title_text.dart';
13 | import 'widget/hint_text.dart';
14 | import 'widget/subtitle_text.dart';
15 | import 'widget/title_text.dart';
16 |
17 | class HomeScreen extends StatefulWidget {
18 | const HomeScreen({Key key}) : super(key: key);
19 |
20 | @override
21 | _HomeScreenState createState() => _HomeScreenState();
22 | }
23 |
24 | class _HomeScreenState extends State {
25 | List popularProductList = [
26 | ProductModel(
27 | image: icProduct1,
28 | brandName: 'VERMODA',
29 | productName: 'High neck middle dress',
30 | price: '\$899.99'),
31 | ProductModel(
32 | image: icCatProduct1,
33 | brandName: 'ZARA',
34 | productName: 'Floral green dress',
35 | price: '\$599.99'),
36 | ProductModel(
37 | image: icProduct1,
38 | brandName: 'VERMODA',
39 | productName: 'High neck middle dress',
40 | price: '\$899.99'),
41 | ProductModel(
42 | image: icCatProduct1,
43 | brandName: 'ZARA',
44 | productName: 'Floral green dress',
45 | price: '\$599.99'),
46 | ProductModel(
47 | image: icProduct1,
48 | brandName: 'VERMODA',
49 | productName: 'High neck middle dress',
50 | price: '\$899.99'),
51 | ProductModel(
52 | image: icCatProduct1,
53 | brandName: 'ZARA',
54 | productName: 'Floral green dress',
55 | price: '\$599.99'),
56 | ProductModel(
57 | image: icProduct1,
58 | brandName: 'VERMODA',
59 | productName: 'High neck middle dress',
60 | price: '\$899.99'),
61 | ProductModel(
62 | image: icCatProduct1,
63 | brandName: 'ZARA',
64 | productName: 'Floral green dress',
65 | price: '\$599.99'),
66 | ProductModel(
67 | image: icProduct1,
68 | brandName: 'VERMODA',
69 | productName: 'High neck middle dress',
70 | price: '\$899.99'),
71 | ProductModel(
72 | image: icCatProduct1,
73 | brandName: 'ZARA',
74 | productName: 'Floral green dress',
75 | price: '\$599.99'),
76 | ];
77 |
78 | List newArrivalList = [
79 | ProductModel(
80 | image: icProduct2,
81 | brandName: 'VERMODA',
82 | productName: 'Floral green dress',
83 | price: '\$899.99',
84 | discountString: 'Save 30% on this order'),
85 | ProductModel(
86 | image: icCatProduct2,
87 | brandName: 'ZARA',
88 | productName: 'Loose fit blazer',
89 | price: '\$599.99',
90 | discountString: 'Save 10% on this order'),
91 | ProductModel(
92 | image: icProduct2,
93 | brandName: 'VERMODA',
94 | productName: 'Floral green dress',
95 | price: '\$899.99',
96 | discountString: 'Save 30% on this order'),
97 | ProductModel(
98 | image: icCatProduct2,
99 | brandName: 'ZARA',
100 | productName: 'Loose fit blazer',
101 | price: '\$599.99',
102 | discountString: 'Save 10% on this order'),
103 | ProductModel(
104 | image: icProduct2,
105 | brandName: 'VERMODA',
106 | productName: 'Floral green dress',
107 | price: '\$899.99',
108 | discountString: 'Save 30% on this order'),
109 | ProductModel(
110 | image: icCatProduct2,
111 | brandName: 'ZARA',
112 | productName: 'Loose fit blazer',
113 | price: '\$599.99',
114 | discountString: 'Save 10% on this order'),
115 | ProductModel(
116 | image: icProduct2,
117 | brandName: 'VERMODA',
118 | productName: 'Floral green dress',
119 | price: '\$899.99',
120 | discountString: 'Save 30% on this order'),
121 | ProductModel(
122 | image: icCatProduct2,
123 | brandName: 'ZARA',
124 | productName: 'Loose fit blazer',
125 | price: '\$599.99',
126 | discountString: 'Save 10% on this order'),
127 | ProductModel(
128 | image: icProduct2,
129 | brandName: 'VERMODA',
130 | productName: 'Floral green dress',
131 | price: '\$899.99',
132 | discountString: 'Save 30% on this order'),
133 | ProductModel(
134 | image: icCatProduct2,
135 | brandName: 'ZARA',
136 | productName: 'Loose fit blazer',
137 | price: '\$599.99',
138 | discountString: 'Save 10% on this order'),
139 | ];
140 |
141 | @override
142 | Widget build(BuildContext context) {
143 | return Scaffold(
144 | backgroundColor: homeScreenBackground,
145 | body: SafeArea(
146 | child: SingleChildScrollView(
147 | child: Column(
148 | children: [
149 | _appBar(),
150 | _collectionInfoText(),
151 | _searchBox(),
152 | _sectionUI('Popular products', 50.0),
153 | _productList(),
154 | _sectionUI('New Arrival', 15.0),
155 | _newArrivalList(),
156 | ],
157 | ),
158 | ),
159 | ),
160 | );
161 | }
162 |
163 | Widget _appBar() {
164 | return Row(
165 | children: [_useProfile(), _trailingButtons()],
166 | );
167 | }
168 |
169 | Widget _useProfile() {
170 | return Container(
171 | margin: EdgeInsets.only(left: 15.0, top: 15),
172 | width: 150.0,
173 | height: 40.0,
174 | decoration: BoxDecoration(
175 | color: profileInfoColor, borderRadius: BorderRadius.circular(20)),
176 | child: Row(
177 | children: [
178 | Container(
179 | margin: const EdgeInsets.symmetric(vertical: 2.0),
180 | child: Padding(
181 | padding: const EdgeInsets.all(2.0),
182 | child: CircleAvatar(
183 | child: Container(
184 | child: ClipOval(
185 | child: Image.asset(
186 | icProfilePic,
187 | fit: BoxFit.cover,
188 | ),
189 | ),
190 | ),
191 | ),
192 | ),
193 | decoration: BoxDecoration(
194 | shape: BoxShape.circle,
195 | color: avatarBackgroundColor,
196 | boxShadow: [
197 | BoxShadow(
198 | color: avatarShadowColor,
199 | offset: Offset(0, 0),
200 | blurRadius: 20,
201 | spreadRadius: 0,
202 | ),
203 | ],
204 | ),
205 | ),
206 | SubTitleText(label: 'Alison Parker')
207 | ],
208 | ),
209 | );
210 | }
211 |
212 | Widget _trailingButtons() {
213 | return Expanded(
214 | child: Row(
215 | mainAxisAlignment: MainAxisAlignment.end,
216 | children: [
217 | Image.asset(
218 | icBell,
219 | height: 20,
220 | ),
221 | Padding(
222 | padding: const EdgeInsets.symmetric(horizontal: 20),
223 | child: Image.asset(
224 | icBag,
225 | height: 20,
226 | ),
227 | ),
228 | ],
229 | ),
230 | );
231 | }
232 |
233 | Widget _collectionInfoText() {
234 | return Container(
235 | margin: EdgeInsets.only(left: 15.0, top: 40),
236 | child: Row(
237 | mainAxisAlignment: MainAxisAlignment.start,
238 | children: [
239 | CreamTitleText(
240 | label: 'Find Your collection for 2021',
241 | maxLine: 2,
242 | ),
243 | ],
244 | ),
245 | );
246 | }
247 |
248 | Widget _searchBox() {
249 | return Padding(
250 | padding: EdgeInsets.only(left: 15.0, right: 15.0, top: 45),
251 | child: Container(
252 | padding: EdgeInsets.all(20),
253 | decoration: BoxDecoration(
254 | color: searchBarBackColor,
255 | borderRadius: BorderRadius.circular(30.0)),
256 | child: Row(
257 | children: [
258 | Image.asset(
259 | icSearch,
260 | height: 20,
261 | ),
262 | SizedBox(width: 14),
263 | HintText(
264 | label: 'What are you looking for?',
265 | ),
266 | Spacer(),
267 | Image.asset(
268 | icSetting,
269 | height: 20,
270 | )
271 | ],
272 | ),
273 | ),
274 | );
275 | }
276 |
277 | Widget _sectionUI(String message, double topPadding) {
278 | return Padding(
279 | padding: EdgeInsets.only(left: 15.0, right: 15.0, top: topPadding),
280 | child: Row(
281 | children: [
282 | TitleText(
283 | label: message,
284 | ),
285 | Spacer(),
286 | Image.asset(
287 | icMenuDots,
288 | width: 20,
289 | )
290 | ],
291 | ),
292 | );
293 | }
294 |
295 | Widget _productList() {
296 | return Container(
297 | margin: EdgeInsets.symmetric(vertical: 20),
298 | height: 300,
299 | child: ListView.builder(
300 | itemCount: popularProductList.length,
301 | scrollDirection: Axis.horizontal,
302 | itemBuilder: (context, i) {
303 | return _productItem(popularProductList[i]);
304 | },
305 | ),
306 | );
307 | }
308 |
309 | Widget _newArrivalList() {
310 | return Container(
311 | margin: EdgeInsets.symmetric(vertical: 20),
312 | height: 130,
313 | child: ListView.builder(
314 | itemCount: newArrivalList.length,
315 | scrollDirection: Axis.horizontal,
316 | itemBuilder: (context, i) {
317 | return _newArrivalItem(newArrivalList[i]);
318 | },
319 | ),
320 | );
321 | }
322 |
323 | Widget _productItem(ProductModel productModel) {
324 | return GestureDetector(
325 | onTap: () {
326 | Navigator.push(
327 | context, MaterialPageRoute(builder: (context) => ProductScreen()));
328 | },
329 | child: Padding(
330 | padding: const EdgeInsets.symmetric(vertical: 5),
331 | child: Container(
332 | decoration: BoxDecoration(
333 | color: white,
334 | borderRadius: BorderRadius.circular(30.0),
335 | boxShadow: [
336 | BoxShadow(
337 | color: blurEffectShadowColor.withOpacity(0.5),
338 | blurRadius: 5.0,
339 | spreadRadius: 0.5,
340 | ),
341 | ],
342 | ),
343 | margin: EdgeInsets.only(left: 15),
344 | padding: EdgeInsets.all(10.0),
345 | width: 250,
346 | child: Column(
347 | children: [
348 | _productImageWithLikeButton(productModel.image),
349 | Padding(
350 | padding: const EdgeInsets.only(top: 8.0),
351 | child: TitleText(label: productModel.productName),
352 | ),
353 | Padding(
354 | padding: const EdgeInsets.only(top: 5.0),
355 | child: CreamSmallText(label: productModel.brandName),
356 | ),
357 | Padding(
358 | padding: const EdgeInsets.only(top: 5.0),
359 | child: TitleText(
360 | label: productModel.price,
361 | fontWeight: fontWeightExtraBold,
362 | ),
363 | ),
364 | ],
365 | ),
366 | ),
367 | ),
368 | );
369 | }
370 |
371 | Widget _newArrivalItem(ProductModel productModel) {
372 | return Padding(
373 | padding: const EdgeInsets.symmetric(vertical: 5),
374 | child: Container(
375 | decoration: BoxDecoration(
376 | color: white,
377 | borderRadius: BorderRadius.circular(20.0),
378 | boxShadow: [
379 | BoxShadow(
380 | color: blurEffectShadowColor.withOpacity(0.5),
381 | blurRadius: 5.0,
382 | spreadRadius: 0.5,
383 | ),
384 | ],
385 | ),
386 | margin: EdgeInsets.only(left: 15),
387 | padding: EdgeInsets.all(10.0),
388 | width: 330,
389 | child: Row(
390 | crossAxisAlignment: CrossAxisAlignment.end,
391 | children: [
392 | _productImage(productModel.image),
393 | SizedBox(width: 10),
394 | _newArrivalProductInfo(productModel),
395 | SizedBox(width: 20),
396 | Image.asset(
397 | icFab,
398 | width: 35,
399 | )
400 | ],
401 | ),
402 | ),
403 | );
404 | }
405 |
406 | Column _newArrivalProductInfo(ProductModel productModel) {
407 | return Column(
408 | crossAxisAlignment: CrossAxisAlignment.start,
409 | children: [
410 | Padding(
411 | padding: const EdgeInsets.only(top: 8.0),
412 | child: TitleText(label: productModel.productName),
413 | ),
414 | Padding(
415 | padding: const EdgeInsets.only(top: 8.0),
416 | child: CreamSmallText(label: productModel.brandName),
417 | ),
418 | Padding(
419 | padding: const EdgeInsets.only(top: 10.0),
420 | child: TitleText(
421 | label: productModel.price,
422 | fontWeight: fontWeightExtraBold,
423 | ),
424 | ),
425 | Padding(
426 | padding: const EdgeInsets.only(top: 8.0),
427 | child: CreamSmallText(label: productModel.discountString),
428 | ),
429 | ],
430 | );
431 | }
432 |
433 | Widget _productImageWithLikeButton(String image) {
434 | return Stack(
435 | children: [
436 | Container(
437 | child: ClipRRect(
438 | borderRadius: BorderRadius.circular(30.0),
439 | child: Image.asset(
440 | image,
441 | height: 190,
442 | width: 250,
443 | fit: BoxFit.cover,
444 | ),
445 | ),
446 | ),
447 | Positioned(
448 | right: 0,
449 | child: Padding(
450 | padding: const EdgeInsets.only(top: 8.0, right: 8.0),
451 | child: Column(
452 | children: [
453 | FrostedLikeButton(),
454 | SizedBox(height: 10),
455 | FrostedLockButton()
456 | ],
457 | ),
458 | ),
459 | )
460 | ],
461 | );
462 | }
463 |
464 | Widget _productImage(String image) {
465 | return Container(
466 | child: ClipRRect(
467 | borderRadius: BorderRadius.circular(20.0),
468 | child: Container(
469 | color: productImageBackColor,
470 | child: Image.asset(
471 | image,
472 | height: 190,
473 | ),
474 | ),
475 | ),
476 | );
477 | }
478 | }
479 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:flutter_multiplatform_sample/home_screen.dart';
4 |
5 | void main() {
6 | // To set system navigation bar color to black
7 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(systemNavigationBarColor: Colors.black));
8 |
9 | runApp(MultiPlatformSampleApp());
10 | }
11 |
12 | class MultiPlatformSampleApp extends StatelessWidget {
13 | // This widget is the root of your application.
14 | @override
15 | Widget build(BuildContext context) {
16 | return MaterialApp(
17 | title: 'Flutter Multi-platform',
18 | debugShowCheckedModeBanner: false,
19 | theme: ThemeData(
20 | primarySwatch: Colors.blue,
21 | ),
22 | home: HomeScreen(),
23 | );
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/lib/models/category_model.dart:
--------------------------------------------------------------------------------
1 | class CatModel {
2 | String image;
3 | String catName;
4 | String brandName;
5 | String price;
6 |
7 | CatModel({this.image, this.catName, this.brandName, this.price});
8 | }
--------------------------------------------------------------------------------
/lib/models/product_model.dart:
--------------------------------------------------------------------------------
1 | class ProductModel {
2 | String image;
3 | String productName;
4 | String brandName;
5 | String price;
6 | String discountString;
7 |
8 | ProductModel(
9 | {this.image,
10 | this.productName,
11 | this.brandName,
12 | this.price,
13 | this.discountString});
14 | }
15 |
--------------------------------------------------------------------------------
/lib/product_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_multiplatform_sample/category_screen.dart';
3 | import 'package:flutter_multiplatform_sample/utils/dimens.dart';
4 | import 'package:flutter_multiplatform_sample/utils/images.dart';
5 | import 'package:flutter_multiplatform_sample/widget/cream_small_text.dart';
6 | import 'package:flutter_multiplatform_sample/widget/cream_title_text.dart';
7 | import 'package:flutter_multiplatform_sample/widget/frosted_like_button.dart';
8 | import 'package:flutter_multiplatform_sample/widget/hint_text.dart';
9 | import 'package:flutter_multiplatform_sample/widget/title_text.dart';
10 |
11 | import 'utils/color_utils.dart';
12 |
13 | class ProductScreen extends StatefulWidget {
14 | const ProductScreen({Key key}) : super(key: key);
15 |
16 | @override
17 | _ProductScreenState createState() => _ProductScreenState();
18 | }
19 |
20 | class _ProductScreenState extends State {
21 | @override
22 | Widget build(BuildContext context) {
23 | return Scaffold(
24 | body: OrientationBuilder(
25 | builder: (context, orientation) {
26 | return SafeArea(
27 | child: Stack(
28 | children: [
29 | _productImage(orientation),
30 | _appBar(),
31 | Align(
32 | alignment: Alignment.bottomCenter,
33 | child: FractionallySizedBox(
34 | heightFactor:
35 | (orientation == Orientation.landscape) ? null : 0.53,
36 | widthFactor:
37 | (orientation == Orientation.landscape) ? 0.68 : null,
38 | child: _productDetailCard(orientation),
39 | ),
40 | ),
41 | ],
42 | ),
43 | );
44 | },
45 | ),
46 | );
47 | }
48 |
49 | Widget _appBar() {
50 | return Padding(
51 | padding: const EdgeInsets.symmetric(horizontal: 15.0, vertical: 10.0),
52 | child: Row(
53 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
54 | children: [
55 | InkWell(
56 | onTap: () {
57 | Navigator.pop(context);
58 | },
59 | child: Image.asset(
60 | icBlackBackArrow,
61 | height: 20.0,
62 | ),
63 | ),
64 | FrostedLikeButton(),
65 | ],
66 | ),
67 | );
68 | }
69 |
70 | Widget _productImage(Orientation orientation) {
71 | return Container(
72 | height: double.infinity,
73 | child: AspectRatio(
74 | aspectRatio: 1 / 2,
75 | child: Image.asset(
76 | icProductDetail,
77 | fit: BoxFit.fill,
78 | ),
79 | ),
80 | );
81 | }
82 |
83 | Widget _productDetailCard(Orientation orientation) {
84 | return SizedBox.expand(
85 | child: DraggableScrollableSheet(
86 | initialChildSize: 1,
87 | builder: (context, scrollController) {
88 | return Container(
89 | margin: (orientation == Orientation.landscape)
90 | ? EdgeInsets.only(top: 60.0)
91 | : null,
92 | padding: EdgeInsets.symmetric(horizontal: 25),
93 | width: double.infinity,
94 | decoration: BoxDecoration(
95 | borderRadius: BorderRadius.only(
96 | topLeft: Radius.circular(40), topRight: Radius.circular(40)),
97 | color: white,
98 | ),
99 | child: SingleChildScrollView(
100 | controller: (orientation == Orientation.landscape)
101 | ? null
102 | : scrollController,
103 | child: Column(
104 | crossAxisAlignment: CrossAxisAlignment.start,
105 | children: [
106 | Padding(
107 | padding: const EdgeInsets.only(top: 25.0),
108 | child: CreamSmallText(label: 'ZARA'),
109 | ),
110 | _productNameAndPrice(),
111 | _rattingBar(),
112 | _descriptionText(),
113 | _colorSectionText(),
114 | _addToCartButton(orientation),
115 | ],
116 | ),
117 | ),
118 | );
119 | },
120 | ),
121 | );
122 | }
123 |
124 | Widget _productNameAndPrice() {
125 | return Padding(
126 | padding: const EdgeInsets.only(top: 8.0),
127 | child: Row(
128 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
129 | children: [
130 | TitleText(
131 | label: 'Floral green middle dress',
132 | fontSize: fontLarger,
133 | ),
134 | CreamTitleText(
135 | label: '\$499',
136 | maxLine: 2,
137 | )
138 | ],
139 | ),
140 | );
141 | }
142 |
143 | Widget _rattingBar() {
144 | return Padding(
145 | padding: const EdgeInsets.only(top: 8.0),
146 | child: Row(
147 | mainAxisAlignment: MainAxisAlignment.start,
148 | children: [
149 | Image.asset(
150 | icRatings,
151 | height: 15.0,
152 | ),
153 | SizedBox(width: 10),
154 | CreamSmallText(label: '4.5 (216 Review)')
155 | ],
156 | ),
157 | );
158 | }
159 |
160 | Widget _descriptionText() {
161 | return Padding(
162 | padding: const EdgeInsets.only(top: 15.0),
163 | child: HintText(
164 | label:
165 | 'Zara floral green high neck middle dress is highly popular among peoples. provided best material 100% cotton and it suitable for both classic and casual style.',
166 | maxLine: 5,
167 | fontSize: fontSmall,
168 | ),
169 | );
170 | }
171 |
172 | Widget _colorSectionText() {
173 | return Padding(
174 | padding: const EdgeInsets.only(top: 25.0),
175 | child: Column(
176 | children: [
177 | Row(
178 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
179 | children: [
180 | TitleText(
181 | label: 'Color',
182 | fontSize: fontLarger,
183 | ),
184 | ],
185 | ),
186 | SizedBox(
187 | height: 25,
188 | ),
189 | Row(
190 | children: [
191 | Padding(
192 | padding: const EdgeInsets.symmetric(horizontal: 5.0),
193 | child: ClipRRect(
194 | borderRadius: BorderRadius.circular(15.0),
195 | child: Container(
196 | color: productDetailImageBackColor,
197 | padding: EdgeInsets.symmetric(horizontal: 5.0),
198 | child: Image.asset(
199 | icProductDetailImage3,
200 | height: 65,
201 | ),
202 | ),
203 | ),
204 | ),
205 | Padding(
206 | padding: const EdgeInsets.symmetric(horizontal: 5.0),
207 | child: ClipRRect(
208 | borderRadius: BorderRadius.circular(15.0),
209 | child: Container(
210 | color: productDetailImageBackColor,
211 | padding: EdgeInsets.symmetric(horizontal: 5.0),
212 | child: Image.asset(
213 | icProductDetailImage2,
214 | height: 65,
215 | ),
216 | ),
217 | ),
218 | ),
219 | Padding(
220 | padding: const EdgeInsets.symmetric(horizontal: 5.0),
221 | child: ClipRRect(
222 | borderRadius: BorderRadius.circular(15.0),
223 | child: Container(
224 | color: productDetailImageBackColor,
225 | padding: EdgeInsets.symmetric(horizontal: 5.0),
226 | child: Image.asset(
227 | icProductDetailImage1,
228 | height: 65,
229 | ),
230 | ),
231 | ),
232 | )
233 | ],
234 | )
235 | ],
236 | ),
237 | );
238 | }
239 |
240 | Widget _addToCartButton(Orientation orientation) {
241 | return Container(
242 | margin: EdgeInsets.only(top: 20, bottom: 20),
243 | child: Center(
244 | child: FractionallySizedBox(
245 | widthFactor: (orientation == Orientation.landscape) ? 0.5 : 1,
246 | child: InkWell(
247 | onTap: () {
248 | Navigator.push(context,
249 | MaterialPageRoute(builder: (context) => CategoryScreen()));
250 | },
251 | child: ClipRRect(
252 | borderRadius: BorderRadius.circular(15.0),
253 | child: Container(
254 | width: double.infinity,
255 | height: 60,
256 | color: subtitleTextColor,
257 | padding: EdgeInsets.symmetric(horizontal: 5.0),
258 | child: Row(
259 | mainAxisAlignment: MainAxisAlignment.center,
260 | children: [
261 | Image.asset(
262 | icAddToCart,
263 | height: 20,
264 | ),
265 | SizedBox(
266 | width: 10.0,
267 | ),
268 | TitleText(
269 | label: 'Add to cart',
270 | fontSize: fontLarger,
271 | fontColor: white,
272 | fontWeight: fontWeightRegular,
273 | )
274 | ],
275 | ),
276 | ),
277 | ),
278 | ),
279 | ),
280 | ),
281 | );
282 | }
283 | }
284 |
--------------------------------------------------------------------------------
/lib/utils/color_utils.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | const Color avatarBackgroundColor = Color(0xFFD7C1A5);
4 | const Color avatarShadowColor = Color(0x29000000);
5 | const Color profileInfoColor = Color(0xFFF6EFE6);
6 | const Color subtitleTextColor = Color(0xFF1A0B29);
7 | const Color creamTitleTextColor = Color(0xFFCDAF8E);
8 | const Color hintTextColor = Color(0xFFCFCDCC);
9 | const Color productImageBackColor = Color(0xFFE8F3F0);
10 | const Color white = Color(0xFFFFFFFF);
11 | const Color productDetailImageBackColor = Color(0xFF5F6A6B);
12 | const Color searchBarBackColor = Color(0xFFF7F7F7);
13 | const Color homeScreenBackground = Color(0xFFFFFFFF);
14 | const Color categorySectionBackground = Color(0xFFF6F1E9);
15 | const Color frostedBackColor = Color(0xFFD6D6D6);
16 | const Color blurEffectShadowColor = Color(0xFFEDEDED);
17 |
--------------------------------------------------------------------------------
/lib/utils/dimens.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | //Screen Dimensions
4 | Size screenSize;
5 |
6 | // Spacing Constant
7 | const spacingTiny = 5.0;
8 | const spacingXSmall = 7.5;
9 | const spacingSmall = 10.0;
10 | const spacingMedium = 15.0;
11 | const spacingLarge = 20.0;
12 | const spacingXLarge = 25.0;
13 | const spacingXXLarge = 30.0;
14 | const spacingXXXLarge = 40.0;
15 |
16 | // Font Size Constant
17 | const fontTiny = 7.0;
18 | const fontXXSmall = 8.0;
19 | const fontXSmall = 10.0;
20 | const fontSmall = 12.0;
21 | const fontMedium = 14.0;
22 | const fontLarge = 16.0;
23 | const fontLarger = 18.0;
24 | const fontXLarge = 20.0;
25 | const fontXXLarge = 26.0;
26 | const fontXXXLarge = 30.0;
27 |
28 | // Font Weight Constant
29 | const fontWeightExtraLight = FontWeight.w200;
30 | const fontWeightLight = FontWeight.w300;
31 | const fontWeightRegular = FontWeight.w400;
32 | const fontWeightMedium = FontWeight.w500;
33 | const fontWeightSemiBold = FontWeight.w600;
34 | const fontWeightBold = FontWeight.w700;
35 | const fontWeightExtraBold = FontWeight.w800;
36 |
37 | const textInputHeight = 50.0;
38 | const multilineTextInputHeight = 120.0;
39 | const buttonHeight = 50.0;
40 |
41 | const avatarSize = 50.0;
42 |
43 | /* Max Length */
44 | const maxLengthName = 40;
45 | const maxLengthAddress = 100;
46 | const maxLengthPhoneNumber = 15;
47 | const maxLengthEmail = 40;
48 | const maxLengthPassCode = 45;
49 | const maxLengthGroupName = 25;
50 | const maxLengthCardNumber = 16;
51 | const maxLengthCvvNUmber = 4;
52 | const maxLengthCardExpiry = 2;
53 |
54 | void getScreenSize(BuildContext context) {
55 | screenSize = MediaQuery.of(context).size;
56 | }
57 |
58 | // Chat Screen
59 | const imageSize = 33.0;
60 | const fontMessage = 15.0;
61 | const questionIconScale = 2.0;
62 |
--------------------------------------------------------------------------------
/lib/utils/images.dart:
--------------------------------------------------------------------------------
1 | const icMindFulEng= 'assets/images/mindful_eng.png';
2 | const icProfilePic = 'assets/images/ic_profile_pic.png';
3 | const icBell = 'assets/images/ic_bell.png';
4 | const icBag = 'assets/images/ic_bag.png';
5 | const icSearch = 'assets/images/ic_search.png';
6 | const icSetting = 'assets/images/ic_settings.png';
7 | const icMenuDots = 'assets/images/ic_menu_dots.png';
8 | const icLock = 'assets/images/ic_lock.png';
9 | const icLike = 'assets/images/ic_like.png';
10 | const icProduct1 = 'assets/images/ic_product_1.png';
11 | const icProduct2 = 'assets/images/ic_product_2.png';
12 | const icFab= 'assets/images/ic_fab.png';
13 | const icAddToCart= 'assets/images/ic_add_to_cart.png';
14 | const icBlackBackArrow= 'assets/images/ic_black_back_arrow.png';
15 | const icCubeView= 'assets/images/ic_cube_view.png';
16 | const icProductDetail= 'assets/images/ic_product_detail.png';
17 | const icProductDetailImage1= 'assets/images/ic_product_detail_image_1.png';
18 | const icProductDetailImage2= 'assets/images/ic_product_detail_image_2.png';
19 | const icProductDetailImage3= 'assets/images/ic_product_detail_image_3.png';
20 | const icRatings= 'assets/images/ic_ratings.png';
21 | const icBlackBackArrowRound= 'assets/images/ic_black_back_arrow_round.png';
22 | const icCatProduct1 = 'assets/images/ic_cat_prod_1.png';
23 | const icCatProduct2 = 'assets/images/ic_cat_prod_2.png';
24 | const icCatProduct3 = 'assets/images/ic_cat_prod_3.png';
25 | const icCatProduct4 = 'assets/images/ic_cat_prod_4.png';
26 | const icCatProduct5 = 'assets/images/ic_cat_prod_5.png';
27 | const icCatProduct6 = 'assets/images/ic_cat_prod_6.png';
28 |
29 |
--------------------------------------------------------------------------------
/lib/widget/cream_small_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../utils/color_utils.dart';
4 | import '../utils/dimens.dart';
5 |
6 | class CreamSmallText extends StatelessWidget {
7 | final String label;
8 | final int maxLine;
9 |
10 | CreamSmallText({this.label, this.maxLine = 1});
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return Container(
15 | child: Text(
16 | label,
17 | maxLines: maxLine,
18 | overflow: TextOverflow.ellipsis,
19 | style: TextStyle(
20 | color: creamTitleTextColor,
21 | fontSize: fontSmall,
22 | fontWeight: fontWeightRegular,
23 | letterSpacing: 0.28,
24 | ),
25 | ),
26 | );
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/lib/widget/cream_title_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../utils/color_utils.dart';
4 | import '../utils/dimens.dart';
5 |
6 | class CreamTitleText extends StatelessWidget {
7 | final String label;
8 | final int maxLine;
9 |
10 | CreamTitleText({this.label, this.maxLine = 1});
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return Container(
15 | child: Flexible(
16 | child: Text(
17 | label,
18 | maxLines: maxLine,
19 | overflow: TextOverflow.ellipsis,
20 | style: TextStyle(
21 | color: creamTitleTextColor,
22 | fontSize: fontLarger,
23 | fontWeight: fontWeightSemiBold,
24 | letterSpacing: 0.28,
25 | ),
26 | ),
27 | ),
28 | );
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/lib/widget/frosted_like_button.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_multiplatform_sample/utils/color_utils.dart';
5 | import 'package:flutter_multiplatform_sample/utils/images.dart';
6 |
7 | class FrostedLikeButton extends StatelessWidget {
8 | @override
9 | Widget build(BuildContext context) {
10 | return ClipRRect(
11 | borderRadius: BorderRadius.circular(30.0),
12 | child: BackdropFilter(
13 | filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
14 | child: Container(
15 | decoration: BoxDecoration(color: frostedBackColor.withOpacity(0.5), borderRadius: BorderRadius.circular(30.0)),
16 | height: 40.0,
17 | width: 40.0,
18 | child: Image.asset(icLike),
19 | ),
20 | ),
21 | );
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/lib/widget/frosted_lock_button.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ui';
2 |
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_multiplatform_sample/utils/color_utils.dart';
5 | import 'package:flutter_multiplatform_sample/utils/images.dart';
6 |
7 | class FrostedLockButton extends StatelessWidget {
8 | @override
9 | Widget build(BuildContext context) {
10 | return ClipRRect(
11 | borderRadius: BorderRadius.circular(30.0),
12 | child: BackdropFilter(
13 | filter: ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
14 | child: Container(
15 | decoration: BoxDecoration(color: frostedBackColor.withOpacity(0.5), borderRadius: BorderRadius.circular(30.0)),
16 | height: 40.0,
17 | width: 40.0,
18 | child: Image.asset(icLock),
19 | ),
20 | ),
21 | );
22 | }
23 | }
--------------------------------------------------------------------------------
/lib/widget/hint_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../utils/color_utils.dart';
4 | import '../utils/dimens.dart';
5 |
6 | class HintText extends StatelessWidget {
7 | final String label;
8 | final int maxLine;
9 | final double fontSize;
10 |
11 | HintText({this.label, this.maxLine = 1, this.fontSize = fontXSmall});
12 |
13 | @override
14 | Widget build(BuildContext context) {
15 | return Container(
16 | child: Text(
17 | label,
18 | maxLines: maxLine,
19 | overflow: TextOverflow.ellipsis,
20 | style: TextStyle(color: hintTextColor, fontFamily: 'AvertaSemibold', fontSize: fontSize, fontWeight: fontWeightSemiBold, letterSpacing: 0.28, height: 1.5),
21 | ),
22 | );
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lib/widget/subtitle_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../utils/color_utils.dart';
4 | import '../utils/dimens.dart';
5 |
6 | class SubTitleText extends StatelessWidget {
7 | final String label;
8 | final int maxLine;
9 |
10 | SubTitleText({this.label, this.maxLine = 1});
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return Container(
15 | child: Text(
16 | label,
17 | maxLines: maxLine,
18 | overflow: TextOverflow.ellipsis,
19 | style: TextStyle(
20 | fontFamily: 'AvertaSemibold',
21 | color: subtitleTextColor,
22 | fontSize: fontSmall,
23 | fontWeight: fontWeightSemiBold,
24 | letterSpacing: 0.28,
25 | ),
26 | ),
27 | );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lib/widget/title_text.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../utils/color_utils.dart';
4 | import '../utils/dimens.dart';
5 |
6 | class TitleText extends StatelessWidget {
7 | final String label;
8 | final int maxLine;
9 | final FontWeight fontWeight;
10 | final double fontSize;
11 | final Color fontColor;
12 |
13 | TitleText({this.label, this.maxLine = 1, this.fontWeight = fontWeightSemiBold, this.fontSize = fontMedium, this.fontColor = subtitleTextColor});
14 |
15 | @override
16 | Widget build(BuildContext context) {
17 | return Container(
18 | child: Text(
19 | label,
20 | maxLines: maxLine,
21 | overflow: TextOverflow.ellipsis,
22 | style: TextStyle(
23 | fontFamily: 'AvertaSemibold',
24 | color: fontColor,
25 | fontSize: fontSize,
26 | fontWeight: fontWeight,
27 | letterSpacing: 0.28,
28 | ),
29 | ),
30 | );
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/macos/.gitignore:
--------------------------------------------------------------------------------
1 | # Flutter-related
2 | **/Flutter/ephemeral/
3 | **/Pods/
4 |
5 | # Xcode-related
6 | **/xcuserdata/
7 |
--------------------------------------------------------------------------------
/macos/Flutter/Flutter-Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "ephemeral/Flutter-Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/macos/Flutter/Flutter-Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "ephemeral/Flutter-Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/macos/Flutter/GeneratedPluginRegistrant.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Generated file. Do not edit.
3 | //
4 |
5 | import FlutterMacOS
6 | import Foundation
7 |
8 |
9 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
10 | }
11 |
--------------------------------------------------------------------------------
/macos/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 51;
7 | objects = {
8 |
9 | /* Begin PBXAggregateTarget section */
10 | 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
11 | isa = PBXAggregateTarget;
12 | buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
13 | buildPhases = (
14 | 33CC111E2044C6BF0003C045 /* ShellScript */,
15 | );
16 | dependencies = (
17 | );
18 | name = "Flutter Assemble";
19 | productName = FLX;
20 | };
21 | /* End PBXAggregateTarget section */
22 |
23 | /* Begin PBXBuildFile section */
24 | 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
25 | 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
26 | 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
27 | 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
28 | 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
29 | /* End PBXBuildFile section */
30 |
31 | /* Begin PBXContainerItemProxy section */
32 | 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
33 | isa = PBXContainerItemProxy;
34 | containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
35 | proxyType = 1;
36 | remoteGlobalIDString = 33CC111A2044C6BA0003C045;
37 | remoteInfo = FLX;
38 | };
39 | /* End PBXContainerItemProxy section */
40 |
41 | /* Begin PBXCopyFilesBuildPhase section */
42 | 33CC110E2044A8840003C045 /* Bundle Framework */ = {
43 | isa = PBXCopyFilesBuildPhase;
44 | buildActionMask = 2147483647;
45 | dstPath = "";
46 | dstSubfolderSpec = 10;
47 | files = (
48 | );
49 | name = "Bundle Framework";
50 | runOnlyForDeploymentPostprocessing = 0;
51 | };
52 | /* End PBXCopyFilesBuildPhase section */
53 |
54 | /* Begin PBXFileReference section */
55 | 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
56 | 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
57 | 33CC10ED2044A3C60003C045 /* flutter_multiplatform_sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "flutter_multiplatform_sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
58 | 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
59 | 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
60 | 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
61 | 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
62 | 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
63 | 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
64 | 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
65 | 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
66 | 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
67 | 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
68 | 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
69 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
70 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
71 | /* End PBXFileReference section */
72 |
73 | /* Begin PBXFrameworksBuildPhase section */
74 | 33CC10EA2044A3C60003C045 /* Frameworks */ = {
75 | isa = PBXFrameworksBuildPhase;
76 | buildActionMask = 2147483647;
77 | files = (
78 | );
79 | runOnlyForDeploymentPostprocessing = 0;
80 | };
81 | /* End PBXFrameworksBuildPhase section */
82 |
83 | /* Begin PBXGroup section */
84 | 33BA886A226E78AF003329D5 /* Configs */ = {
85 | isa = PBXGroup;
86 | children = (
87 | 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
88 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
89 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
90 | 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
91 | );
92 | path = Configs;
93 | sourceTree = "";
94 | };
95 | 33CC10E42044A3C60003C045 = {
96 | isa = PBXGroup;
97 | children = (
98 | 33FAB671232836740065AC1E /* Runner */,
99 | 33CEB47122A05771004F2AC0 /* Flutter */,
100 | 33CC10EE2044A3C60003C045 /* Products */,
101 | D73912EC22F37F3D000D13A0 /* Frameworks */,
102 | );
103 | sourceTree = "";
104 | };
105 | 33CC10EE2044A3C60003C045 /* Products */ = {
106 | isa = PBXGroup;
107 | children = (
108 | 33CC10ED2044A3C60003C045 /* flutter_multiplatform_sample.app */,
109 | );
110 | name = Products;
111 | sourceTree = "";
112 | };
113 | 33CC11242044D66E0003C045 /* Resources */ = {
114 | isa = PBXGroup;
115 | children = (
116 | 33CC10F22044A3C60003C045 /* Assets.xcassets */,
117 | 33CC10F42044A3C60003C045 /* MainMenu.xib */,
118 | 33CC10F72044A3C60003C045 /* Info.plist */,
119 | );
120 | name = Resources;
121 | path = ..;
122 | sourceTree = "";
123 | };
124 | 33CEB47122A05771004F2AC0 /* Flutter */ = {
125 | isa = PBXGroup;
126 | children = (
127 | 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
128 | 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
129 | 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
130 | 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
131 | );
132 | path = Flutter;
133 | sourceTree = "";
134 | };
135 | 33FAB671232836740065AC1E /* Runner */ = {
136 | isa = PBXGroup;
137 | children = (
138 | 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
139 | 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
140 | 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
141 | 33E51914231749380026EE4D /* Release.entitlements */,
142 | 33CC11242044D66E0003C045 /* Resources */,
143 | 33BA886A226E78AF003329D5 /* Configs */,
144 | );
145 | path = Runner;
146 | sourceTree = "";
147 | };
148 | D73912EC22F37F3D000D13A0 /* Frameworks */ = {
149 | isa = PBXGroup;
150 | children = (
151 | );
152 | name = Frameworks;
153 | sourceTree = "";
154 | };
155 | /* End PBXGroup section */
156 |
157 | /* Begin PBXNativeTarget section */
158 | 33CC10EC2044A3C60003C045 /* Runner */ = {
159 | isa = PBXNativeTarget;
160 | buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
161 | buildPhases = (
162 | 33CC10E92044A3C60003C045 /* Sources */,
163 | 33CC10EA2044A3C60003C045 /* Frameworks */,
164 | 33CC10EB2044A3C60003C045 /* Resources */,
165 | 33CC110E2044A8840003C045 /* Bundle Framework */,
166 | 3399D490228B24CF009A79C7 /* ShellScript */,
167 | );
168 | buildRules = (
169 | );
170 | dependencies = (
171 | 33CC11202044C79F0003C045 /* PBXTargetDependency */,
172 | );
173 | name = Runner;
174 | productName = Runner;
175 | productReference = 33CC10ED2044A3C60003C045 /* flutter_multiplatform_sample.app */;
176 | productType = "com.apple.product-type.application";
177 | };
178 | /* End PBXNativeTarget section */
179 |
180 | /* Begin PBXProject section */
181 | 33CC10E52044A3C60003C045 /* Project object */ = {
182 | isa = PBXProject;
183 | attributes = {
184 | LastSwiftUpdateCheck = 0920;
185 | LastUpgradeCheck = 0930;
186 | ORGANIZATIONNAME = "";
187 | TargetAttributes = {
188 | 33CC10EC2044A3C60003C045 = {
189 | CreatedOnToolsVersion = 9.2;
190 | LastSwiftMigration = 1100;
191 | ProvisioningStyle = Automatic;
192 | SystemCapabilities = {
193 | com.apple.Sandbox = {
194 | enabled = 1;
195 | };
196 | };
197 | };
198 | 33CC111A2044C6BA0003C045 = {
199 | CreatedOnToolsVersion = 9.2;
200 | ProvisioningStyle = Manual;
201 | };
202 | };
203 | };
204 | buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
205 | compatibilityVersion = "Xcode 9.3";
206 | developmentRegion = en;
207 | hasScannedForEncodings = 0;
208 | knownRegions = (
209 | en,
210 | Base,
211 | );
212 | mainGroup = 33CC10E42044A3C60003C045;
213 | productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
214 | projectDirPath = "";
215 | projectRoot = "";
216 | targets = (
217 | 33CC10EC2044A3C60003C045 /* Runner */,
218 | 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
219 | );
220 | };
221 | /* End PBXProject section */
222 |
223 | /* Begin PBXResourcesBuildPhase section */
224 | 33CC10EB2044A3C60003C045 /* Resources */ = {
225 | isa = PBXResourcesBuildPhase;
226 | buildActionMask = 2147483647;
227 | files = (
228 | 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
229 | 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
230 | );
231 | runOnlyForDeploymentPostprocessing = 0;
232 | };
233 | /* End PBXResourcesBuildPhase section */
234 |
235 | /* Begin PBXShellScriptBuildPhase section */
236 | 3399D490228B24CF009A79C7 /* ShellScript */ = {
237 | isa = PBXShellScriptBuildPhase;
238 | buildActionMask = 2147483647;
239 | files = (
240 | );
241 | inputFileListPaths = (
242 | );
243 | inputPaths = (
244 | );
245 | outputFileListPaths = (
246 | );
247 | outputPaths = (
248 | );
249 | runOnlyForDeploymentPostprocessing = 0;
250 | shellPath = /bin/sh;
251 | shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
252 | };
253 | 33CC111E2044C6BF0003C045 /* ShellScript */ = {
254 | isa = PBXShellScriptBuildPhase;
255 | buildActionMask = 2147483647;
256 | files = (
257 | );
258 | inputFileListPaths = (
259 | Flutter/ephemeral/FlutterInputs.xcfilelist,
260 | );
261 | inputPaths = (
262 | Flutter/ephemeral/tripwire,
263 | );
264 | outputFileListPaths = (
265 | Flutter/ephemeral/FlutterOutputs.xcfilelist,
266 | );
267 | outputPaths = (
268 | );
269 | runOnlyForDeploymentPostprocessing = 0;
270 | shellPath = /bin/sh;
271 | shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
272 | };
273 | /* End PBXShellScriptBuildPhase section */
274 |
275 | /* Begin PBXSourcesBuildPhase section */
276 | 33CC10E92044A3C60003C045 /* Sources */ = {
277 | isa = PBXSourcesBuildPhase;
278 | buildActionMask = 2147483647;
279 | files = (
280 | 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
281 | 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
282 | 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
283 | );
284 | runOnlyForDeploymentPostprocessing = 0;
285 | };
286 | /* End PBXSourcesBuildPhase section */
287 |
288 | /* Begin PBXTargetDependency section */
289 | 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
290 | isa = PBXTargetDependency;
291 | target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
292 | targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
293 | };
294 | /* End PBXTargetDependency section */
295 |
296 | /* Begin PBXVariantGroup section */
297 | 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
298 | isa = PBXVariantGroup;
299 | children = (
300 | 33CC10F52044A3C60003C045 /* Base */,
301 | );
302 | name = MainMenu.xib;
303 | path = Runner;
304 | sourceTree = "";
305 | };
306 | /* End PBXVariantGroup section */
307 |
308 | /* Begin XCBuildConfiguration section */
309 | 338D0CE9231458BD00FA5F75 /* Profile */ = {
310 | isa = XCBuildConfiguration;
311 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
312 | buildSettings = {
313 | ALWAYS_SEARCH_USER_PATHS = NO;
314 | CLANG_ANALYZER_NONNULL = YES;
315 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
316 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
317 | CLANG_CXX_LIBRARY = "libc++";
318 | CLANG_ENABLE_MODULES = YES;
319 | CLANG_ENABLE_OBJC_ARC = YES;
320 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
321 | CLANG_WARN_BOOL_CONVERSION = YES;
322 | CLANG_WARN_CONSTANT_CONVERSION = YES;
323 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
324 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
325 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
326 | CLANG_WARN_EMPTY_BODY = YES;
327 | CLANG_WARN_ENUM_CONVERSION = YES;
328 | CLANG_WARN_INFINITE_RECURSION = YES;
329 | CLANG_WARN_INT_CONVERSION = YES;
330 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
331 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
332 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
333 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
334 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
335 | CODE_SIGN_IDENTITY = "-";
336 | COPY_PHASE_STRIP = NO;
337 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
338 | ENABLE_NS_ASSERTIONS = NO;
339 | ENABLE_STRICT_OBJC_MSGSEND = YES;
340 | GCC_C_LANGUAGE_STANDARD = gnu11;
341 | GCC_NO_COMMON_BLOCKS = YES;
342 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
343 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
344 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345 | GCC_WARN_UNUSED_FUNCTION = YES;
346 | GCC_WARN_UNUSED_VARIABLE = YES;
347 | MACOSX_DEPLOYMENT_TARGET = 10.11;
348 | MTL_ENABLE_DEBUG_INFO = NO;
349 | SDKROOT = macosx;
350 | SWIFT_COMPILATION_MODE = wholemodule;
351 | SWIFT_OPTIMIZATION_LEVEL = "-O";
352 | };
353 | name = Profile;
354 | };
355 | 338D0CEA231458BD00FA5F75 /* Profile */ = {
356 | isa = XCBuildConfiguration;
357 | baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
358 | buildSettings = {
359 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
360 | CLANG_ENABLE_MODULES = YES;
361 | CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
362 | CODE_SIGN_STYLE = Automatic;
363 | COMBINE_HIDPI_IMAGES = YES;
364 | INFOPLIST_FILE = Runner/Info.plist;
365 | LD_RUNPATH_SEARCH_PATHS = (
366 | "$(inherited)",
367 | "@executable_path/../Frameworks",
368 | );
369 | PROVISIONING_PROFILE_SPECIFIER = "";
370 | SWIFT_VERSION = 5.0;
371 | };
372 | name = Profile;
373 | };
374 | 338D0CEB231458BD00FA5F75 /* Profile */ = {
375 | isa = XCBuildConfiguration;
376 | buildSettings = {
377 | CODE_SIGN_STYLE = Manual;
378 | PRODUCT_NAME = "$(TARGET_NAME)";
379 | };
380 | name = Profile;
381 | };
382 | 33CC10F92044A3C60003C045 /* Debug */ = {
383 | isa = XCBuildConfiguration;
384 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
385 | buildSettings = {
386 | ALWAYS_SEARCH_USER_PATHS = NO;
387 | CLANG_ANALYZER_NONNULL = YES;
388 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
389 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
390 | CLANG_CXX_LIBRARY = "libc++";
391 | CLANG_ENABLE_MODULES = YES;
392 | CLANG_ENABLE_OBJC_ARC = YES;
393 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
394 | CLANG_WARN_BOOL_CONVERSION = YES;
395 | CLANG_WARN_CONSTANT_CONVERSION = YES;
396 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
397 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
398 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
399 | CLANG_WARN_EMPTY_BODY = YES;
400 | CLANG_WARN_ENUM_CONVERSION = YES;
401 | CLANG_WARN_INFINITE_RECURSION = YES;
402 | CLANG_WARN_INT_CONVERSION = YES;
403 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
404 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
405 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
406 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
407 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
408 | CODE_SIGN_IDENTITY = "-";
409 | COPY_PHASE_STRIP = NO;
410 | DEBUG_INFORMATION_FORMAT = dwarf;
411 | ENABLE_STRICT_OBJC_MSGSEND = YES;
412 | ENABLE_TESTABILITY = YES;
413 | GCC_C_LANGUAGE_STANDARD = gnu11;
414 | GCC_DYNAMIC_NO_PIC = NO;
415 | GCC_NO_COMMON_BLOCKS = YES;
416 | GCC_OPTIMIZATION_LEVEL = 0;
417 | GCC_PREPROCESSOR_DEFINITIONS = (
418 | "DEBUG=1",
419 | "$(inherited)",
420 | );
421 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
422 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
423 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
424 | GCC_WARN_UNUSED_FUNCTION = YES;
425 | GCC_WARN_UNUSED_VARIABLE = YES;
426 | MACOSX_DEPLOYMENT_TARGET = 10.11;
427 | MTL_ENABLE_DEBUG_INFO = YES;
428 | ONLY_ACTIVE_ARCH = YES;
429 | SDKROOT = macosx;
430 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
431 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
432 | };
433 | name = Debug;
434 | };
435 | 33CC10FA2044A3C60003C045 /* Release */ = {
436 | isa = XCBuildConfiguration;
437 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
438 | buildSettings = {
439 | ALWAYS_SEARCH_USER_PATHS = NO;
440 | CLANG_ANALYZER_NONNULL = YES;
441 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
442 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
443 | CLANG_CXX_LIBRARY = "libc++";
444 | CLANG_ENABLE_MODULES = YES;
445 | CLANG_ENABLE_OBJC_ARC = YES;
446 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
447 | CLANG_WARN_BOOL_CONVERSION = YES;
448 | CLANG_WARN_CONSTANT_CONVERSION = YES;
449 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
450 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
451 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
452 | CLANG_WARN_EMPTY_BODY = YES;
453 | CLANG_WARN_ENUM_CONVERSION = YES;
454 | CLANG_WARN_INFINITE_RECURSION = YES;
455 | CLANG_WARN_INT_CONVERSION = YES;
456 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
457 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
458 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
459 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
460 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
461 | CODE_SIGN_IDENTITY = "-";
462 | COPY_PHASE_STRIP = NO;
463 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
464 | ENABLE_NS_ASSERTIONS = NO;
465 | ENABLE_STRICT_OBJC_MSGSEND = YES;
466 | GCC_C_LANGUAGE_STANDARD = gnu11;
467 | GCC_NO_COMMON_BLOCKS = YES;
468 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
469 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
470 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471 | GCC_WARN_UNUSED_FUNCTION = YES;
472 | GCC_WARN_UNUSED_VARIABLE = YES;
473 | MACOSX_DEPLOYMENT_TARGET = 10.11;
474 | MTL_ENABLE_DEBUG_INFO = NO;
475 | SDKROOT = macosx;
476 | SWIFT_COMPILATION_MODE = wholemodule;
477 | SWIFT_OPTIMIZATION_LEVEL = "-O";
478 | };
479 | name = Release;
480 | };
481 | 33CC10FC2044A3C60003C045 /* Debug */ = {
482 | isa = XCBuildConfiguration;
483 | baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
484 | buildSettings = {
485 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
486 | CLANG_ENABLE_MODULES = YES;
487 | CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
488 | CODE_SIGN_STYLE = Automatic;
489 | COMBINE_HIDPI_IMAGES = YES;
490 | INFOPLIST_FILE = Runner/Info.plist;
491 | LD_RUNPATH_SEARCH_PATHS = (
492 | "$(inherited)",
493 | "@executable_path/../Frameworks",
494 | );
495 | PROVISIONING_PROFILE_SPECIFIER = "";
496 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
497 | SWIFT_VERSION = 5.0;
498 | };
499 | name = Debug;
500 | };
501 | 33CC10FD2044A3C60003C045 /* Release */ = {
502 | isa = XCBuildConfiguration;
503 | baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
504 | buildSettings = {
505 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
506 | CLANG_ENABLE_MODULES = YES;
507 | CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
508 | CODE_SIGN_STYLE = Automatic;
509 | COMBINE_HIDPI_IMAGES = YES;
510 | INFOPLIST_FILE = Runner/Info.plist;
511 | LD_RUNPATH_SEARCH_PATHS = (
512 | "$(inherited)",
513 | "@executable_path/../Frameworks",
514 | );
515 | PROVISIONING_PROFILE_SPECIFIER = "";
516 | SWIFT_VERSION = 5.0;
517 | };
518 | name = Release;
519 | };
520 | 33CC111C2044C6BA0003C045 /* Debug */ = {
521 | isa = XCBuildConfiguration;
522 | buildSettings = {
523 | CODE_SIGN_STYLE = Manual;
524 | PRODUCT_NAME = "$(TARGET_NAME)";
525 | };
526 | name = Debug;
527 | };
528 | 33CC111D2044C6BA0003C045 /* Release */ = {
529 | isa = XCBuildConfiguration;
530 | buildSettings = {
531 | CODE_SIGN_STYLE = Automatic;
532 | PRODUCT_NAME = "$(TARGET_NAME)";
533 | };
534 | name = Release;
535 | };
536 | /* End XCBuildConfiguration section */
537 |
538 | /* Begin XCConfigurationList section */
539 | 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
540 | isa = XCConfigurationList;
541 | buildConfigurations = (
542 | 33CC10F92044A3C60003C045 /* Debug */,
543 | 33CC10FA2044A3C60003C045 /* Release */,
544 | 338D0CE9231458BD00FA5F75 /* Profile */,
545 | );
546 | defaultConfigurationIsVisible = 0;
547 | defaultConfigurationName = Release;
548 | };
549 | 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
550 | isa = XCConfigurationList;
551 | buildConfigurations = (
552 | 33CC10FC2044A3C60003C045 /* Debug */,
553 | 33CC10FD2044A3C60003C045 /* Release */,
554 | 338D0CEA231458BD00FA5F75 /* Profile */,
555 | );
556 | defaultConfigurationIsVisible = 0;
557 | defaultConfigurationName = Release;
558 | };
559 | 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
560 | isa = XCConfigurationList;
561 | buildConfigurations = (
562 | 33CC111C2044C6BA0003C045 /* Debug */,
563 | 33CC111D2044C6BA0003C045 /* Release */,
564 | 338D0CEB231458BD00FA5F75 /* Profile */,
565 | );
566 | defaultConfigurationIsVisible = 0;
567 | defaultConfigurationName = Release;
568 | };
569 | /* End XCConfigurationList section */
570 | };
571 | rootObject = 33CC10E52044A3C60003C045 /* Project object */;
572 | }
573 |
--------------------------------------------------------------------------------
/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
64 |
65 |
71 |
73 |
79 |
80 |
81 |
82 |
84 |
85 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/macos/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/macos/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | @NSApplicationMain
5 | class AppDelegate: FlutterAppDelegate {
6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7 | return true
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "16x16",
5 | "idiom" : "mac",
6 | "filename" : "app_icon_16.png",
7 | "scale" : "1x"
8 | },
9 | {
10 | "size" : "16x16",
11 | "idiom" : "mac",
12 | "filename" : "app_icon_32.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "32x32",
17 | "idiom" : "mac",
18 | "filename" : "app_icon_32.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "32x32",
23 | "idiom" : "mac",
24 | "filename" : "app_icon_64.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "128x128",
29 | "idiom" : "mac",
30 | "filename" : "app_icon_128.png",
31 | "scale" : "1x"
32 | },
33 | {
34 | "size" : "128x128",
35 | "idiom" : "mac",
36 | "filename" : "app_icon_256.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "256x256",
41 | "idiom" : "mac",
42 | "filename" : "app_icon_256.png",
43 | "scale" : "1x"
44 | },
45 | {
46 | "size" : "256x256",
47 | "idiom" : "mac",
48 | "filename" : "app_icon_512.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "512x512",
53 | "idiom" : "mac",
54 | "filename" : "app_icon_512.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "512x512",
59 | "idiom" : "mac",
60 | "filename" : "app_icon_1024.png",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
--------------------------------------------------------------------------------
/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
--------------------------------------------------------------------------------
/macos/Runner/Base.lproj/MainMenu.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/AppInfo.xcconfig:
--------------------------------------------------------------------------------
1 | // Application-level settings for the Runner target.
2 | //
3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
4 | // future. If not, the values below would default to using the project name when this becomes a
5 | // 'flutter create' template.
6 |
7 | // The application's name. By default this is also the title of the Flutter window.
8 | PRODUCT_NAME = flutter_multiplatform_sample
9 |
10 | // The application's bundle identifier
11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterMultiplatformSample
12 |
13 | // The copyright displayed in application information
14 | PRODUCT_COPYRIGHT = Copyright © 2021 com.example. All rights reserved.
15 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Debug.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "../../Flutter/Flutter-Release.xcconfig"
2 | #include "Warnings.xcconfig"
3 |
--------------------------------------------------------------------------------
/macos/Runner/Configs/Warnings.xcconfig:
--------------------------------------------------------------------------------
1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
2 | GCC_WARN_UNDECLARED_SELECTOR = YES
3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
6 | CLANG_WARN_PRAGMA_PACK = YES
7 | CLANG_WARN_STRICT_PROTOTYPES = YES
8 | CLANG_WARN_COMMA = YES
9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES
10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
12 | GCC_WARN_SHADOW = YES
13 | CLANG_WARN_UNREACHABLE_CODE = YES
14 |
--------------------------------------------------------------------------------
/macos/Runner/DebugProfile.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 | com.apple.security.cs.allow-jit
8 |
9 | com.apple.security.network.server
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/macos/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | $(PRODUCT_COPYRIGHT)
27 | NSMainNibFile
28 | MainMenu
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/macos/Runner/MainFlutterWindow.swift:
--------------------------------------------------------------------------------
1 | import Cocoa
2 | import FlutterMacOS
3 |
4 | class MainFlutterWindow: NSWindow {
5 | override func awakeFromNib() {
6 | let flutterViewController = FlutterViewController.init()
7 | let windowFrame = self.frame
8 | self.contentViewController = flutterViewController
9 | self.setFrame(windowFrame, display: true)
10 |
11 | RegisterGeneratedPlugins(registry: flutterViewController)
12 |
13 | super.awakeFromNib()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/macos/Runner/Release.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.app-sandbox
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/media/desktop-macOS.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/media/desktop-macOS.png
--------------------------------------------------------------------------------
/media/mobile-platforms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/media/mobile-platforms.png
--------------------------------------------------------------------------------
/media/web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/media/web.png
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | async:
5 | dependency: transitive
6 | description:
7 | name: async
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.5.0"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.1.0"
18 | characters:
19 | dependency: transitive
20 | description:
21 | name: characters
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.1.0"
25 | charcode:
26 | dependency: transitive
27 | description:
28 | name: charcode
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.2.0"
32 | clock:
33 | dependency: transitive
34 | description:
35 | name: clock
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.1.0"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.15.0"
46 | cupertino_icons:
47 | dependency: "direct main"
48 | description:
49 | name: cupertino_icons
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "1.0.3"
53 | fake_async:
54 | dependency: transitive
55 | description:
56 | name: fake_async
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.2.0"
60 | flutter:
61 | dependency: "direct main"
62 | description: flutter
63 | source: sdk
64 | version: "0.0.0"
65 | flutter_staggered_grid_view:
66 | dependency: "direct main"
67 | description:
68 | name: flutter_staggered_grid_view
69 | url: "https://pub.dartlang.org"
70 | source: hosted
71 | version: "0.4.0"
72 | flutter_test:
73 | dependency: "direct dev"
74 | description: flutter
75 | source: sdk
76 | version: "0.0.0"
77 | matcher:
78 | dependency: transitive
79 | description:
80 | name: matcher
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "0.12.10"
84 | meta:
85 | dependency: transitive
86 | description:
87 | name: meta
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "1.3.0"
91 | path:
92 | dependency: transitive
93 | description:
94 | name: path
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "1.8.0"
98 | sky_engine:
99 | dependency: transitive
100 | description: flutter
101 | source: sdk
102 | version: "0.0.99"
103 | source_span:
104 | dependency: transitive
105 | description:
106 | name: source_span
107 | url: "https://pub.dartlang.org"
108 | source: hosted
109 | version: "1.8.0"
110 | stack_trace:
111 | dependency: transitive
112 | description:
113 | name: stack_trace
114 | url: "https://pub.dartlang.org"
115 | source: hosted
116 | version: "1.10.0"
117 | stream_channel:
118 | dependency: transitive
119 | description:
120 | name: stream_channel
121 | url: "https://pub.dartlang.org"
122 | source: hosted
123 | version: "2.1.0"
124 | string_scanner:
125 | dependency: transitive
126 | description:
127 | name: string_scanner
128 | url: "https://pub.dartlang.org"
129 | source: hosted
130 | version: "1.1.0"
131 | term_glyph:
132 | dependency: transitive
133 | description:
134 | name: term_glyph
135 | url: "https://pub.dartlang.org"
136 | source: hosted
137 | version: "1.2.0"
138 | test_api:
139 | dependency: transitive
140 | description:
141 | name: test_api
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "0.2.19"
145 | typed_data:
146 | dependency: transitive
147 | description:
148 | name: typed_data
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.3.0"
152 | vector_math:
153 | dependency: transitive
154 | description:
155 | name: vector_math
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "2.1.0"
159 | sdks:
160 | dart: ">=2.12.0 <3.0.0"
161 | flutter: ">=1.24.0-6.0.pre"
162 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_multiplatform_sample
2 | description: A new Flutter application.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.7.0 <3.0.0"
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 |
27 |
28 | # The following adds the Cupertino Icons font to your application.
29 | # Use with the CupertinoIcons class for iOS style icons.
30 | cupertino_icons: ^1.0.2
31 | flutter_staggered_grid_view: ^0.4.0
32 |
33 | dev_dependencies:
34 | flutter_test:
35 | sdk: flutter
36 |
37 | # For information on the generic Dart part of this file, see the
38 | # following page: https://dart.dev/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 | - assets/images/
51 |
52 | # An image asset can refer to one or more resolution-specific "variants", see
53 | # https://flutter.dev/assets-and-images/#resolution-aware.
54 |
55 | # For details regarding adding assets from package dependencies, see
56 | # https://flutter.dev/assets-and-images/#from-packages
57 |
58 | # To add custom fonts to your application, add a fonts section here,
59 | # in this "flutter" section. Each entry in this list should have a
60 | # "family" key with the font family name, and a "fonts" key with a
61 | # list giving the asset and other descriptors for the font. For
62 | # example:
63 | fonts:
64 | - family: AvertaSemibold
65 | fonts:
66 | - asset: assets/fonts/Averta-W01-Semibold.ttf
67 | weight: 600
68 | #
69 | # For details regarding fonts from package dependencies,
70 | # see https://flutter.dev/custom-fonts/#from-packages
71 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:flutter_multiplatform_sample/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MultiPlatformSampleApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/web/favicon.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mindinventory/FlutterMultiPlatformSample/f7b956336b4961c1f0580d7ae3e8aacc8baafab6/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | flutter_multiplatform_sample
30 |
31 |
32 |
33 |
36 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "flutter_multiplatform_sample",
3 | "short_name": "flutter_multiplatform_sample",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter application.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | }
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------