├── .gitignore
├── .idea
├── codeStyles
│ └── Project.xml
├── libraries
│ ├── Dart_Packages.xml
│ ├── Dart_SDK.xml
│ ├── Flutter_Plugins.xml
│ └── Flutter_for_Android.xml
├── misc.xml
├── modules.xml
├── runConfigurations
│ └── main_dart.xml
├── vcs.xml
└── workspace.xml
├── .metadata
├── .vscode
└── settings.json
├── README.md
├── android
├── .gitignore
├── .idea
│ ├── caches
│ │ └── build_file_checksums.ser
│ ├── codeStyles
│ │ └── Project.xml
│ ├── gradle.xml
│ ├── misc.xml
│ ├── modules.xml
│ └── runConfigurations.xml
├── .project
├── .settings
│ └── org.eclipse.buildship.core.prefs
├── app
│ ├── .classpath
│ ├── .project
│ ├── .settings
│ │ └── org.eclipse.buildship.core.prefs
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── gen
│ │ └── com
│ │ │ └── example
│ │ │ └── feedflutterge
│ │ │ ├── BuildConfig.java
│ │ │ ├── Manifest.java
│ │ │ └── R.java
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── feedflutterge
│ │ │ ├── MainActivity.java
│ │ │ └── PlayerActivity.java
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── layout
│ │ ├── activity_player.xml
│ │ ├── activity_player2.xml
│ │ ├── content_player.xml
│ │ └── content_player2.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
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── app.png
├── feed_flutter_ge.iml
├── feed_flutter_ge_android.iml
├── flutter_01.log
├── flutter_02.log
├── flutter_03.log
├── flutter_04.log
├── fonts
├── OpenSans-Bold.ttf
├── OpenSans-BoldItalic.ttf
├── OpenSans-ExtraBold.ttf
├── OpenSans-ExtraBoldItalic.ttf
├── OpenSans-Italic.ttf
├── OpenSans-Light.ttf
├── OpenSans-LightItalic.ttf
├── OpenSans-Regular.ttf
├── OpenSans-SemiBold.ttf
└── OpenSans-SemiBoldItalic.ttf
├── image1.jpg
├── image2.jpg
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── 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
│ └── main.m
├── large-ge.png
├── large-ge1.png
├── large-ge@2x.png
├── lib
├── App.dart
├── AppConfig.dart
├── assets
│ └── large-ge.png
├── components
│ ├── BottomNavigation.dart
│ ├── FeedCard.dart
│ ├── Menu.dart
│ ├── MultiContent.dart
│ ├── Playlist.dart
│ ├── RegularCard.dart
│ ├── TempoReal.dart
│ └── VideoCard.dart
├── environments
│ └── production.dart
├── main.dart
└── models
│ └── FeedModel.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .dart_tool/
3 |
4 | .packages
5 | .pub/
6 |
7 | build/
8 |
9 | .flutter-plugins
10 |
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_Packages.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/.idea/libraries/Dart_SDK.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/.idea/libraries/Flutter_Plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/.idea/libraries/Flutter_for_Android.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/.idea/runConfigurations/main_dart.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
123 |
124 |
125 |
126 | printStuff
127 | body
128 | navifa
129 | caiu
130 | getMessage
131 | platform
132 | _scrollController
133 | getmessa
134 | demo
135 | de
136 | onPress
137 | demoFunction
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 | 1534532850587
349 |
350 |
351 | 1534532850587
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 |
594 |
595 |
596 |
597 |
598 |
599 |
600 |
601 |
602 |
603 |
604 |
605 |
606 |
607 |
608 |
609 |
610 |
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 |
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
653 |
654 |
655 |
656 |
657 |
658 |
659 |
660 |
661 |
662 |
663 |
664 |
665 |
666 |
667 |
668 |
669 |
670 |
671 |
672 |
673 |
674 |
675 |
676 |
677 |
678 |
679 |
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
703 |
704 |
705 |
706 |
707 |
708 |
709 |
710 |
711 |
712 |
713 |
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
723 |
--------------------------------------------------------------------------------
/.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: c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
8 | channel: beta
9 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "java.configuration.updateBuildConfiguration": "disabled"
3 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # feed_flutter_ge
2 |
3 |
4 | 
5 |
6 |
7 | A new Flutter project.
8 |
9 | ## Getting Started
10 |
11 | For help getting started with Flutter, view our online
12 | [documentation](https://flutter.io/).
13 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/android/.idea/caches/build_file_checksums.ser:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/.idea/caches/build_file_checksums.ser
--------------------------------------------------------------------------------
/android/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/android/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/android/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/android/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/android/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/android/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | android
4 | Project android created by Buildship.
5 |
6 |
7 |
8 |
9 | org.eclipse.buildship.core.gradleprojectbuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.buildship.core.gradleprojectnature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/android/.settings/org.eclipse.buildship.core.prefs:
--------------------------------------------------------------------------------
1 | connection.project.dir=
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/android/app/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/android/app/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | app
4 | Project app created by Buildship.
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.buildship.core.gradleprojectbuilder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.buildship.core.gradleprojectnature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/android/app/.settings/org.eclipse.buildship.core.prefs:
--------------------------------------------------------------------------------
1 | connection.project.dir=..
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/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 | apply plugin: 'com.android.application'
15 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16 | apply plugin: 'kotlin-android'
17 | apply plugin: 'kotlin-android-extensions'
18 |
19 | ext.support_version = '27.1.1'
20 | ext.play_services_version = '12.0.1'
21 |
22 | ext.player_version = '6.5.0'
23 | repositories {
24 | // maven {
25 | // url 'https://artifactory.video.globo.com/artifactory/libs-release-local'
26 | // credentials {
27 | // username player_artifactory_user
28 | // password player_artifactory_key
29 | // }
30 | // }
31 | // maven { url 'http://dl.bintray.com/npaw/youbora' }
32 | }
33 |
34 | android {
35 | compileSdkVersion 27
36 |
37 | lintOptions {
38 | disable 'InvalidPackage'
39 | }
40 |
41 | defaultConfig {
42 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
43 | applicationId "com.example.feedflutterge"
44 | minSdkVersion 16
45 | targetSdkVersion 27
46 | versionCode 1
47 | versionName "1.0"
48 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
49 | multiDexEnabled true
50 | }
51 |
52 | buildTypes {
53 | release {
54 | // TODO: Add your own signing config for the release build.
55 | // Signing with the debug keys for now, so `flutter run --release` works.
56 | signingConfig signingConfigs.debug
57 | }
58 | }
59 | }
60 |
61 | flutter {
62 | source '../..'
63 | }
64 |
65 | dependencies {
66 | implementation 'com.android.support.constraint:constraint-layout:1.1.3'
67 | implementation 'com.android.support:design:27.1.1'
68 | testImplementation 'junit:junit:4.12'
69 | androidTestImplementation 'com.android.support.test:runner:1.0.1'
70 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
71 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
72 | // compile 'com.globo.video.player:player:6.5.0'
73 | // compile 'com.google.android.exoplayer:exoplayer:2.8.2'
74 | // compile 'com.comscore:android-analytics:5.7.0'
75 | // compile 'com.android.support:recyclerview-v7:27.1.1'
76 | // compile 'com.google.android.gms:play-services-analytics:16.0.5'
77 | // implementation 'com.android.support:multidex:1.0.3'
78 |
79 |
80 | // implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.8.5'
81 | // implementation "com.google.android.gms:play-services-ads:$play_services_version"
82 | // implementation "com.google.android.gms:play-services-location:$play_services_version"
83 | // implementation "com.google.android.gms:play-services-analytics:$play_services_version"
84 | // implementation "com.google.android.gms:play-services-iid:16.0.0"
85 |
86 | // implementation "com.globo.video.player:player:$player_version"
87 | // implementation 'com.google.android.exoplayer:exoplayer:2.8.2'
88 | // implementation "com.comscore:android-analytics:5.7.0"
89 |
90 | }
91 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
13 |
20 |
25 |
32 |
33 |
39 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/android/app/src/main/gen/com/example/feedflutterge/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /*___Generated_by_IDEA___*/
2 |
3 | package com.example.feedflutterge;
4 |
5 | /* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
6 | public final class BuildConfig {
7 | public final static boolean DEBUG = Boolean.parseBoolean(null);
8 | }
--------------------------------------------------------------------------------
/android/app/src/main/gen/com/example/feedflutterge/Manifest.java:
--------------------------------------------------------------------------------
1 | /*___Generated_by_IDEA___*/
2 |
3 | package com.example.feedflutterge;
4 |
5 | /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
6 | public final class Manifest {
7 | }
--------------------------------------------------------------------------------
/android/app/src/main/gen/com/example/feedflutterge/R.java:
--------------------------------------------------------------------------------
1 | /*___Generated_by_IDEA___*/
2 |
3 | package com.example.feedflutterge;
4 |
5 | /* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
6 | public final class R {
7 | }
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/feedflutterge/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.feedflutterge;
2 |
3 | import android.content.Intent;
4 | import android.os.Bundle;
5 | import android.util.Log;
6 |
7 | import io.flutter.app.FlutterActivity;
8 | import io.flutter.plugin.common.MethodCall;
9 | import io.flutter.plugin.common.MethodChannel;
10 | import io.flutter.plugins.GeneratedPluginRegistrant;
11 |
12 | // import com.globo.video.player.Player;
13 |
14 | public class MainActivity extends FlutterActivity {
15 | private static final String CHANNEL = "com.example.feedflutterge";
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | // Player.initialize(this);
21 | GeneratedPluginRegistrant.registerWith(this);
22 |
23 | new MethodChannel(getFlutterView(), CHANNEL).setMethodCallHandler(new MethodChannel.MethodCallHandler() {
24 | @Override
25 | public void onMethodCall(MethodCall methodCall, MethodChannel.Result result) {
26 | Log.d("tag", "MethodCall: " + methodCall.method);
27 | int videoId = methodCall.argument("videoId");
28 | Log.i("tag", "VideoId: " + videoId);
29 | showPlayer(videoId);
30 |
31 | }
32 | });
33 |
34 | }
35 |
36 | public void showPlayer(int videoId) {
37 | // // INFO: function implementation
38 | // Log.i("tag", "Chamando intent de video");
39 | // Intent intent = new Intent(MainActivity.this, PlayerActivity.class);
40 | // intent.putExtra("videoId", videoId);
41 | // startActivity(intent);
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/feedflutterge/PlayerActivity.java:
--------------------------------------------------------------------------------
1 | // package com.example.feedflutterge;
2 |
3 | // import android.app.FragmentTransaction;
4 | // import android.content.Intent;
5 | // import android.content.pm.ActivityInfo;
6 | // import android.os.Bundle;
7 | // import android.support.v7.app.AppCompatActivity;
8 | // import android.support.v7.widget.Toolbar;
9 | // import android.view.OrientationEventListener;
10 | // import android.view.View;
11 | // import android.view.ViewGroup;
12 |
13 | // import com.globo.video.player.Player;
14 | // import com.globo.video.player.base.PlayerMimeType;
15 |
16 | // import java.util.HashMap;
17 |
18 | // import io.clappr.player.base.Callback;
19 | // import io.clappr.player.base.ErrorInfo;
20 | // import io.clappr.player.base.Event;
21 | // import io.clappr.player.base.Options;
22 |
23 |
24 |
25 | // public class PlayerActivity extends AppCompatActivity {
26 |
27 | // protected Player player;
28 |
29 | // protected ViewGroup playerContainer;
30 | // private View decorView;
31 | // private OrientationEventListener orientationListener;
32 |
33 |
34 | // @Override
35 | // protected void onCreate(Bundle savedInstanceState) {
36 | // super.onCreate(savedInstanceState);
37 | // setContentView(R.layout.activity_player2);
38 | // Toolbar toolbar = findViewById(R.id.toolbar);
39 | // setSupportActionBar(toolbar);
40 |
41 |
42 | // configurePlayerOptions();
43 |
44 | // FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
45 | // fragmentTransaction.add(R.id.player_container, player);
46 | // fragmentTransaction.commit();
47 |
48 |
49 | // }
50 |
51 | // private void configurePlayerOptions() {
52 | // Intent intent = getIntent();
53 | // Integer id = intent.getIntExtra("videoId", 0);
54 | // HashMap optionMap = new HashMap<>();
55 | // player = new Player();
56 |
57 | // Options options = new Options(id.toString(), PlayerMimeType.VIDEO_ID.getValue(), optionMap);
58 | // player.configure(options);
59 | // }
60 |
61 |
62 | // private void bindEvents() {
63 | // player.on(Event.REQUEST_FULLSCREEN.getValue(), new Callback() {
64 | // @Override
65 | // public void invoke(Bundle bundle) {
66 | // enterFullscreen();
67 | // }
68 | // });
69 |
70 | // player.on(Event.EXIT_FULLSCREEN.getValue(), new Callback() {
71 | // @Override
72 | // public void invoke(Bundle bundle) {
73 | // exitFullscreen();
74 | // }
75 | // });
76 |
77 | // player.on(Event.ERROR.getValue(), new Callback() {
78 | // @Override
79 | // public void invoke(Bundle bundle) {
80 | // ErrorInfo info = bundle.getParcelable(Event.ERROR.getValue());
81 |
82 | // String title = String.format("Código do erro: %s", Integer.toString(info.getCode()));
83 | // String message = info.getMessage();
84 |
85 | // }
86 | // });
87 | // }
88 |
89 | // protected void enterFullscreen() {
90 | // setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
91 | // }
92 |
93 | // protected void exitFullscreen() {
94 | // setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
95 | // }
96 |
97 | // }
98 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/layout/activity_player.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
20 |
21 |
22 |
23 |
24 |
25 |
32 |
33 |
--------------------------------------------------------------------------------
/android/app/src/main/res/layout/activity_player2.xml:
--------------------------------------------------------------------------------
1 |
2 |
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 |
--------------------------------------------------------------------------------
/android/app/src/main/res/layout/content_player.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/android/app/src/main/res/layout/content_player2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 16dp
3 |
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Player
3 |
4 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
12 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.2.71'
3 |
4 | repositories {
5 | google()
6 | jcenter()
7 | }
8 |
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:3.0.1'
11 | // classpath 'com.google.gms:google-services:3.0.0'
12 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | google()
19 | jcenter()
20 | maven {
21 | url "https://comscore.bintray.com/Analytics"
22 | }
23 | }
24 | }
25 |
26 | rootProject.buildDir = '../build'
27 | subprojects {
28 | project.buildDir = "${rootProject.buildDir}/${project.name}"
29 | }
30 | subprojects {
31 | project.evaluationDependsOn(':app')
32 | }
33 |
34 | task clean(type: Delete) {
35 | delete rootProject.buildDir
36 | }
37 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/app.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/app.png
--------------------------------------------------------------------------------
/feed_flutter_ge.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/feed_flutter_ge_android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/flutter_01.log:
--------------------------------------------------------------------------------
1 | Flutter crash report; please file at https://github.com/flutter/flutter/issues.
2 |
3 | ## command
4 |
5 | flutter build bundle --suppress-analytics --target /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/lib/main.dart --preview-dart-2 --filesystem-scheme org-dartlang-root --depfile /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/snapshot_blob.bin.d --asset-dir /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/flutter_assets
6 |
7 | ## exception
8 |
9 | FileSystemException: FileSystemException: Deletion failed, path = '/Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/flutter_assets' (OS Error: Directory not empty, errno = 66)
10 |
11 | ```
12 | #0 _Directory._deleteSync (dart:io/directory_impl.dart:207)
13 | #1 FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:466)
14 | #2 ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:72)
15 | #3 writeBundle (package:flutter_tools/src/bundle.dart:183)
16 |
17 | #4 assemble (package:flutter_tools/src/bundle.dart:176)
18 |
19 | #5 build (package:flutter_tools/src/bundle.dart:109)
20 |
21 | #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:72)
22 |
23 | #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
24 |
25 | #8 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:279)
26 |
27 | #9 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
28 |
29 | #10 _rootRun (dart:async/zone.dart:1126)
30 | #11 _CustomZone.run (dart:async/zone.dart:1023)
31 | #12 runZoned (dart:async/zone.dart:1501)
32 | #13 AppContext.run (package:flutter_tools/src/base/context.dart:141)
33 |
34 | #14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
35 | #15 CommandRunner.runCommand (package:args/command_runner.dart:194)
36 |
37 | #16 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
38 |
39 | #17 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
40 |
41 | #18 _rootRun (dart:async/zone.dart:1126)
42 | #19 _CustomZone.run (dart:async/zone.dart:1023)
43 | #20 runZoned (dart:async/zone.dart:1501)
44 | #21 AppContext.run (package:flutter_tools/src/base/context.dart:141)
45 |
46 | #22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
47 |
48 | #23 CommandRunner.run. (package:args/command_runner.dart:109)
49 | #24 new Future.sync (dart:async/future.dart:222)
50 | #25 CommandRunner.run (package:args/command_runner.dart:109)
51 | #26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
52 | #27 run. (package:flutter_tools/runner.dart:59)
53 |
54 | #28 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
55 |
56 | #29 _rootRun (dart:async/zone.dart:1126)
57 | #30 _CustomZone.run (dart:async/zone.dart:1023)
58 | #31 runZoned (dart:async/zone.dart:1501)
59 | #32 AppContext.run (package:flutter_tools/src/base/context.dart:141)
60 |
61 | #33 runInContext (package:flutter_tools/src/context_runner.dart:43)
62 |
63 | #34 run (package:flutter_tools/runner.dart:50)
64 | #35 main (package:flutter_tools/executable.dart:49)
65 |
66 | #36 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
67 | #37 _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
68 | #38 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
69 | ```
70 |
71 | ## flutter doctor
72 |
73 | ```
74 | [✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.4 17E202, locale en-BR)
75 | • Flutter version 0.5.1 at /Users/eduardo.shinkawa/flutter
76 | • Framework revision c7ea3ca377 (2 months ago), 2018-05-29 21:07:33 +0200
77 | • Engine revision 1ed25ca7b7
78 | • Dart version 2.0.0-dev.58.0.flutter-f981f09760
79 |
80 | [!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
81 | • Android SDK at /Users/eduardo.shinkawa/Library/Android/sdk
82 | • Android NDK location not configured (optional; useful for native profiling support)
83 | • Platform android-27, build-tools 27.0.3
84 | • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
85 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
86 | ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
87 |
88 | [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
89 | • Xcode at /Applications/Xcode.app/Contents/Developer
90 | • Xcode 9.4.1, Build version 9F2000
91 | • ios-deploy 1.9.2
92 | • CocoaPods version 1.5.3
93 |
94 | [✓] Android Studio (version 3.1)
95 | • Android Studio at /Applications/Android Studio.app/Contents
96 | • Flutter plugin version 26.0.1
97 | • Dart plugin version 173.4700
98 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
99 |
100 | [!] VS Code (version 1.25.1)
101 | • VS Code at /Applications/Visual Studio Code.app/Contents
102 | • Flutter extension not installed; install from
103 | https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
104 |
105 | [✓] Connected devices (1 available)
106 | • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
107 |
108 | ! Doctor found issues in 2 categories.
109 | ```
110 |
--------------------------------------------------------------------------------
/flutter_02.log:
--------------------------------------------------------------------------------
1 | Flutter crash report; please file at https://github.com/flutter/flutter/issues.
2 |
3 | ## command
4 |
5 | flutter --suppress-analytics build bundle --target=/Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/lib/main.dart --snapshot=build/snapshot_blob.bin --depfile=build/snapshot_blob.bin.d --asset-dir=/Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/ios/Flutter/flutter_assets --preview-dart-2
6 |
7 | ## exception
8 |
9 | FileSystemException: FileSystemException: Deletion failed, path = '/Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/ios/Flutter/flutter_assets' (OS Error: No such file or directory, errno = 2)
10 |
11 | ```
12 | #0 _Directory._deleteSync (dart:io/directory_impl.dart:207)
13 | #1 FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:466)
14 | #2 ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:72)
15 | #3 writeBundle (package:flutter_tools/src/bundle.dart:183)
16 |
17 | #4 assemble (package:flutter_tools/src/bundle.dart:176)
18 |
19 | #5 build (package:flutter_tools/src/bundle.dart:109)
20 |
21 | #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:72)
22 |
23 | #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
24 |
25 | #8 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:279)
26 |
27 | #9 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
28 |
29 | #10 _rootRun (dart:async/zone.dart:1126)
30 | #11 _CustomZone.run (dart:async/zone.dart:1023)
31 | #12 runZoned (dart:async/zone.dart:1501)
32 | #13 AppContext.run (package:flutter_tools/src/base/context.dart:141)
33 |
34 | #14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
35 | #15 CommandRunner.runCommand (package:args/command_runner.dart:194)
36 |
37 | #16 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
38 |
39 | #17 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
40 |
41 | #18 _rootRun (dart:async/zone.dart:1126)
42 | #19 _CustomZone.run (dart:async/zone.dart:1023)
43 | #20 runZoned (dart:async/zone.dart:1501)
44 | #21 AppContext.run (package:flutter_tools/src/base/context.dart:141)
45 |
46 | #22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
47 |
48 | #23 CommandRunner.run. (package:args/command_runner.dart:109)
49 | #24 new Future.sync (dart:async/future.dart:222)
50 | #25 CommandRunner.run (package:args/command_runner.dart:109)
51 | #26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
52 | #27 run. (package:flutter_tools/runner.dart:59)
53 |
54 | #28 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
55 |
56 | #29 _rootRun (dart:async/zone.dart:1126)
57 | #30 _CustomZone.run (dart:async/zone.dart:1023)
58 | #31 runZoned (dart:async/zone.dart:1501)
59 | #32 AppContext.run (package:flutter_tools/src/base/context.dart:141)
60 |
61 | #33 runInContext (package:flutter_tools/src/context_runner.dart:43)
62 |
63 | #34 run (package:flutter_tools/runner.dart:50)
64 | #35 main (package:flutter_tools/executable.dart:49)
65 |
66 | #36 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
67 | #37 _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
68 | #38 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
69 | ```
70 |
71 | ## flutter doctor
72 |
73 | ```
74 | [✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.4 17E202, locale en-BR)
75 | • Flutter version 0.5.1 at /Users/eduardo.shinkawa/flutter
76 | • Framework revision c7ea3ca377 (2 months ago), 2018-05-29 21:07:33 +0200
77 | • Engine revision 1ed25ca7b7
78 | • Dart version 2.0.0-dev.58.0.flutter-f981f09760
79 |
80 | [!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
81 | • Android SDK at /Users/eduardo.shinkawa/Library/Android/sdk
82 | • Android NDK location not configured (optional; useful for native profiling support)
83 | • Platform android-27, build-tools 27.0.3
84 | • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
85 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
86 | ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
87 |
88 | [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
89 | • Xcode at /Applications/Xcode.app/Contents/Developer
90 | • Xcode 9.4.1, Build version 9F2000
91 | • ios-deploy 1.9.2
92 | • CocoaPods version 1.5.3
93 |
94 | [✓] Android Studio (version 3.1)
95 | • Android Studio at /Applications/Android Studio.app/Contents
96 | • Flutter plugin version 26.0.1
97 | • Dart plugin version 173.4700
98 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
99 |
100 | [!] VS Code (version 1.25.1)
101 | • VS Code at /Applications/Visual Studio Code.app/Contents
102 | • Flutter extension not installed; install from
103 | https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
104 |
105 | [✓] Connected devices (1 available)
106 | • 289202 - iPhone6s • af2a090b00724841a1b6bff04038c480f94f33de • ios • iOS 11.1.2
107 |
108 | ! Doctor found issues in 2 categories.
109 | ```
110 |
--------------------------------------------------------------------------------
/flutter_03.log:
--------------------------------------------------------------------------------
1 | Flutter crash report; please file at https://github.com/flutter/flutter/issues.
2 |
3 | ## command
4 |
5 | flutter build bundle --suppress-analytics --target /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/lib/main.dart --preview-dart-2 --depfile /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/snapshot_blob.bin.d --asset-dir /Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/flutter_assets
6 |
7 | ## exception
8 |
9 | FileSystemException: FileSystemException: Deletion failed, path = '/Users/eduardo.shinkawa/personalprojs/feed_flutter_ge/build/app/intermediates/flutter/debug/flutter_assets' (OS Error: No such file or directory, errno = 2)
10 |
11 | ```
12 | #0 _Directory._deleteSync (dart:io/directory_impl.dart:207)
13 | #1 FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:466)
14 | #2 ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:72)
15 | #3 writeBundle (package:flutter_tools/src/bundle.dart:183)
16 |
17 | #4 assemble (package:flutter_tools/src/bundle.dart:176)
18 |
19 | #5 build (package:flutter_tools/src/bundle.dart:109)
20 |
21 | #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:72)
22 |
23 | #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
24 |
25 | #8 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:279)
26 |
27 | #9 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
28 |
29 | #10 _rootRun (dart:async/zone.dart:1126)
30 | #11 _CustomZone.run (dart:async/zone.dart:1023)
31 | #12 runZoned (dart:async/zone.dart:1501)
32 | #13 AppContext.run (package:flutter_tools/src/base/context.dart:141)
33 |
34 | #14 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
35 | #15 CommandRunner.runCommand (package:args/command_runner.dart:194)
36 |
37 | #16 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
38 |
39 | #17 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
40 |
41 | #18 _rootRun (dart:async/zone.dart:1126)
42 | #19 _CustomZone.run (dart:async/zone.dart:1023)
43 | #20 runZoned (dart:async/zone.dart:1501)
44 | #21 AppContext.run (package:flutter_tools/src/base/context.dart:141)
45 |
46 | #22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
47 |
48 | #23 CommandRunner.run. (package:args/command_runner.dart:109)
49 | #24 new Future.sync (dart:async/future.dart:222)
50 | #25 CommandRunner.run (package:args/command_runner.dart:109)
51 | #26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
52 | #27 run. (package:flutter_tools/runner.dart:59)
53 |
54 | #28 AppContext.run. (package:flutter_tools/src/base/context.dart:142)
55 |
56 | #29 _rootRun (dart:async/zone.dart:1126)
57 | #30 _CustomZone.run (dart:async/zone.dart:1023)
58 | #31 runZoned (dart:async/zone.dart:1501)
59 | #32 AppContext.run (package:flutter_tools/src/base/context.dart:141)
60 |
61 | #33 runInContext (package:flutter_tools/src/context_runner.dart:43)
62 |
63 | #34 run (package:flutter_tools/runner.dart:50)
64 | #35 main (package:flutter_tools/executable.dart:49)
65 |
66 | #36 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
67 | #37 _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
68 | #38 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
69 | ```
70 |
71 | ## flutter doctor
72 |
73 | ```
74 | [✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.4 17E202, locale en-BR)
75 | • Flutter version 0.5.1 at /Users/eduardo.shinkawa/flutter
76 | • Framework revision c7ea3ca377 (3 months ago), 2018-05-29 21:07:33 +0200
77 | • Engine revision 1ed25ca7b7
78 | • Dart version 2.0.0-dev.58.0.flutter-f981f09760
79 |
80 | [!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
81 | • Android SDK at /Users/eduardo.shinkawa/Library/Android/sdk
82 | • Android NDK location not configured (optional; useful for native profiling support)
83 | • Platform android-27, build-tools 27.0.3
84 | • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
85 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
86 | ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
87 |
88 | [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
89 | • Xcode at /Applications/Xcode.app/Contents/Developer
90 | • Xcode 9.4.1, Build version 9F2000
91 | • ios-deploy 1.9.2
92 | • CocoaPods version 1.5.3
93 |
94 | [✓] Android Studio (version 3.1)
95 | • Android Studio at /Applications/Android Studio.app/Contents
96 | • Flutter plugin version 26.0.1
97 | • Dart plugin version 173.4700
98 | • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
99 |
100 | [!] VS Code (version 1.25.1)
101 | • VS Code at /Applications/Visual Studio Code.app/Contents
102 | • Flutter extension not installed; install from
103 | https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
104 |
105 | [✓] Connected devices (2 available)
106 | • SM G930F • ad0717021c3447424c • android-arm64 • Android 7.0 (API 24)
107 | • iPhone 8 Plus • 9F310ABF-10AE-4524-882D-F0174E566100 • ios • com.apple.CoreSimulator.SimRuntime.iOS-11-2 (simulator)
108 |
109 | ! Doctor found issues in 2 categories.
110 | ```
111 |
--------------------------------------------------------------------------------
/flutter_04.log:
--------------------------------------------------------------------------------
1 | Flutter crash report; please file at https://github.com/flutter/flutter/issues.
2 |
3 | ## command
4 |
5 | flutter run
6 |
7 | ## exception
8 |
9 | ProcessException: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
10 | An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
11 | This app could not be installed at this time.
12 | Failed to load Info.plist from bundle at path /Users/eduardo.shinkawa/Library/Developer/CoreSimulator/Devices/C9F80E04-A4DF-4859-A4A6-4A5DB1301847/data/Library/Caches/com.apple.mobile.installd.staging/temp.4Vtffk/extracted/Payload/Runner.app
13 | Failed to load Info.plist from bundle at path /Users/eduardo.shinkawa/Library/Developer/CoreSimulator/Devices/C9F80E04-A4DF-4859-A4A6-4A5DB1301847/data/Library/Caches/com.apple.mobile.installd.staging/temp.4Vtffk/extracted/Payload/Runner.app
14 | Underlying error (domain=MIInstallerErrorDomain, code=35):
15 | Failed to load Info.plist from bundle at path /Users/eduardo.shinkawa/Library/Developer/CoreSimulator/Devices/C9F80E04-A4DF-4859-A4A6-4A5DB1301847/data/Library/Caches/com.apple.mobile.installd.staging/temp.4Vtffk/extracted/Payload/Runner.app
16 | Command: /usr/bin/xcrun simctl install C9F80E04-A4DF-4859-A4A6-4A5DB1301847 /Users/eduardo.shinkawa/personalprojs/feedFlutterGE/build/ios/iphonesimulator/Runner.app
17 |
18 | ```
19 | #0 runCheckedAsync (package:flutter_tools/src/base/process.dart:251:5)
20 |
21 | #1 SimControl.install (package:flutter_tools/src/ios/simulators.dart:125:16)
22 | #2 IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:396:31)
23 |
24 | #3 IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:308:15)
25 |
26 | #4 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289:54)
27 | #5 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
28 | #6 _rootRunUnary (dart:async/zone.dart:1132:38)
29 | #7 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
30 | #8 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
31 | #9 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
32 | #10 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
33 | #11 Future._complete (dart:async/future_impl.dart:476:7)
34 | #12 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
35 | #13 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
36 | #14 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
37 | #15 getApplicationPackageForPlatform (package:flutter_tools/src/application_package.dart)
38 | #16 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
39 | #17 _rootRunUnary (dart:async/zone.dart:1132:38)
40 | #18 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
41 | #19 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
42 | #20 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
43 | #21 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
44 | #22 Future._complete (dart:async/future_impl.dart:476:7)
45 | #23 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
46 | #24 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
47 | #25 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
48 | #26 FlutterProject.fromDirectory (package:flutter_tools/src/project.dart)
49 | #27 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
50 | #28 _rootRunUnary (dart:async/zone.dart:1132:38)
51 | #29 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
52 | #30 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
53 | #31 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
54 | #32 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
55 | #33 Future._complete (dart:async/future_impl.dart:476:7)
56 | #34 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
57 | #35 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
58 | #36 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
59 | #37 FlutterProject._readManifest (package:flutter_tools/src/project.dart)
60 | #38 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
61 | #39 _rootRunUnary (dart:async/zone.dart:1132:38)
62 | #40 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
63 | #41 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
64 | #42 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
65 | #43 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
66 | #44 Future._complete (dart:async/future_impl.dart:476:7)
67 | #45 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
68 | #46 _rootRunUnary (dart:async/zone.dart:1132:38)
69 | #47 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
70 | #48 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
71 | #49 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
72 | #50 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
73 | #51 Future._complete (dart:async/future_impl.dart:476:7)
74 | #52 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
75 | #53 _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20)
76 | #54 _rootRun (dart:async/zone.dart:1124:13)
77 | #55 _CustomZone.run (dart:async/zone.dart:1021:19)
78 | #56 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
79 | #57 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
80 | #58 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
81 | #59 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
82 | #60 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
83 | ```
84 |
85 | ## flutter doctor
86 |
87 | ```
88 | [32m[✓][39m Flutter (Channel beta, v1.0.0, on Mac OS X
89 | 10.14.2 18C54, locale en-BR)
90 | [32m•[39m Flutter version 1.0.0 at
91 | /Users/eduardo.shinkawa/flutter
92 | [32m•[39m Framework revision 5391447fae (8 weeks ago),
93 | 2018-11-29 19:41:26 -0800
94 | [32m•[39m Engine revision 7375a0f414
95 | [32m•[39m Dart version 2.1.0 (build 2.1.0-dev.9.4
96 | f9ebf21297)
97 |
98 | [33m[!][39m Android toolchain - develop for Android devices
99 | (Android SDK 28.0.3)
100 | [32m•[39m Android SDK at
101 | /Users/eduardo.shinkawa/Library/Android/sdk
102 | [32m•[39m Android NDK location not configured (optional;
103 | useful for native profiling support)
104 | [32m•[39m Platform android-28, build-tools 28.0.3
105 | [32m•[39m ANDROID_HOME =
106 | /Users/eduardo.shinkawa/Library/Android/sdk
107 | [32m•[39m Java binary at: /Applications/Android
108 | Studio.app/Contents/jre/jdk/Contents/Home/bin/
109 | java
110 | [32m•[39m Java version OpenJDK Runtime Environment
111 | (build 1.8.0_152-release-1136-b06)
112 | [33m![39m Some Android licenses not accepted. To
113 | resolve this, run: flutter doctor
114 | --android-licenses
115 |
116 | [33m[!][39m iOS toolchain - develop for iOS devices (Xcode
117 | 10.0)
118 | [32m•[39m Xcode at
119 | /Applications/Xcode.app/Contents/Developer
120 | [32m•[39m Xcode 10.0, Build version 10A255
121 | [31m✗[39m Verify that all connected devices have been
122 | paired with this computer in Xcode.
123 | If all devices have been paired,
124 | libimobiledevice and ideviceinstaller may
125 | require updating.
126 | To update with Brew, run:
127 | brew update
128 | brew uninstall --ignore-dependencies
129 | libimobiledevice
130 | brew uninstall --ignore-dependencies usbmuxd
131 | brew install --HEAD usbmuxd
132 | brew unlink usbmuxd
133 | brew link usbmuxd
134 | brew install --HEAD libimobiledevice
135 | brew install ideviceinstaller
136 | [32m•[39m ios-deploy 1.9.2
137 | [31m✗[39m ios-deploy out of date (1.9.4 is required). To
138 | upgrade with Brew:
139 | brew upgrade ios-deploy
140 | [32m•[39m CocoaPods version 1.5.3
141 |
142 | [32m[✓][39m Android Studio (version 3.2)
143 | [32m•[39m Android Studio at /Applications/Android
144 | Studio.app/Contents
145 | [32m•[39m Flutter plugin version 31.3.3
146 | [32m•[39m Dart plugin version 182.5124
147 | [32m•[39m Java version OpenJDK Runtime Environment
148 | (build 1.8.0_152-release-1136-b06)
149 |
150 | [33m[!][39m IntelliJ IDEA Community Edition (version
151 | 2018.2.1)
152 | [32m•[39m IntelliJ at /Applications/IntelliJ IDEA CE.app
153 | [31m✗[39m Flutter plugin not installed; this adds
154 | Flutter specific functionality.
155 | [32m•[39m Dart plugin version 182.3911.37
156 | [32m•[39m For information about installing plugins, see
157 | https://flutter.io/intellij-setup/#installing-
158 | the-plugins
159 |
160 | [32m[✓][39m VS Code (version 1.30.2)
161 | [32m•[39m VS Code at /Applications/Visual Studio
162 | Code.app/Contents
163 | [32m•[39m Flutter extension version 2.21.1
164 |
165 | [32m[✓][39m Connected device (1 available)
166 | [32m•[39m iPhone XR •
167 | C9F80E04-A4DF-4859-A4A6-4A5DB1301847 • ios •
168 | com.apple.CoreSimulator.SimRuntime.iOS-12-1
169 | (simulator)
170 |
171 | [33m![39m Doctor found issues in 3 categories.
172 | ```
173 |
--------------------------------------------------------------------------------
/fonts/OpenSans-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-Bold.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-BoldItalic.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-ExtraBold.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-ExtraBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-ExtraBoldItalic.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-Italic.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-Light.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-LightItalic.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-Regular.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-SemiBold.ttf
--------------------------------------------------------------------------------
/fonts/OpenSans-SemiBoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/fonts/OpenSans-SemiBoldItalic.ttf
--------------------------------------------------------------------------------
/image1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/image1.jpg
--------------------------------------------------------------------------------
/image2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/image2.jpg
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | .generated/
16 |
17 | *.pbxuser
18 | *.mode1v3
19 | *.mode2v3
20 | *.perspectivev3
21 |
22 | !default.pbxuser
23 | !default.mode1v3
24 | !default.mode2v3
25 | !default.perspectivev3
26 |
27 | xcuserdata
28 |
29 | *.moved-aside
30 |
31 | *.pyc
32 | *sync/
33 | Icon?
34 | .tags*
35 |
36 | /Flutter/app.flx
37 | /Flutter/app.zip
38 | /Flutter/flutter_assets/
39 | /Flutter/App.framework
40 | /Flutter/Flutter.framework
41 | /Flutter/Generated.xcconfig
42 | /ServiceDefinitions.json
43 |
44 | Pods/
45 | .symlinks/
46 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | def parse_KV_file(file, separator='=')
8 | file_abs_path = File.expand_path(file)
9 | if !File.exists? file_abs_path
10 | return [];
11 | end
12 | pods_ary = []
13 | skip_line_start_symbols = ["#", "/"]
14 | File.foreach(file_abs_path) { |line|
15 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16 | plugin = line.split(pattern=separator)
17 | if plugin.length == 2
18 | podname = plugin[0].strip()
19 | path = plugin[1].strip()
20 | podpath = File.expand_path("#{path}", file_abs_path)
21 | pods_ary.push({:name => podname, :path => podpath});
22 | else
23 | puts "Invalid plugin specification: #{line}"
24 | end
25 | }
26 | return pods_ary
27 | end
28 |
29 | target 'Runner' do
30 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
31 | # referring to absolute paths on developers' machines.
32 | system('rm -rf .symlinks')
33 | system('mkdir -p .symlinks/plugins')
34 |
35 | # Flutter Pods
36 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
37 | if generated_xcode_build_settings.empty?
38 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
39 | end
40 | generated_xcode_build_settings.map { |p|
41 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
42 | symlink = File.join('.symlinks', 'flutter')
43 | File.symlink(File.dirname(p[:path]), symlink)
44 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
45 | end
46 | }
47 |
48 | # Plugin Pods
49 | plugin_pods = parse_KV_file('../.flutter-plugins')
50 | plugin_pods.map { |p|
51 | symlink = File.join('.symlinks', 'plugins', p[:name])
52 | File.symlink(p[:path], symlink)
53 | pod p[:name], :path => File.join(symlink, 'ios')
54 | }
55 | end
56 |
57 | post_install do |installer|
58 | installer.pods_project.targets.each do |target|
59 | target.build_configurations.each do |config|
60 | config.build_settings['ENABLE_BITCODE'] = 'NO'
61 | end
62 | end
63 | end
64 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 | - flutter_statusbarcolor (0.0.1):
4 | - Flutter
5 | - path_provider (0.0.1):
6 | - Flutter
7 | - url_launcher (0.0.1):
8 | - Flutter
9 |
10 | DEPENDENCIES:
11 | - Flutter (from `.symlinks/flutter/ios`)
12 | - flutter_statusbarcolor (from `.symlinks/plugins/flutter_statusbarcolor/ios`)
13 | - path_provider (from `.symlinks/plugins/path_provider/ios`)
14 | - url_launcher (from `.symlinks/plugins/url_launcher/ios`)
15 |
16 | EXTERNAL SOURCES:
17 | Flutter:
18 | :path: ".symlinks/flutter/ios"
19 | flutter_statusbarcolor:
20 | :path: ".symlinks/plugins/flutter_statusbarcolor/ios"
21 | path_provider:
22 | :path: ".symlinks/plugins/path_provider/ios"
23 | url_launcher:
24 | :path: ".symlinks/plugins/url_launcher/ios"
25 |
26 | SPEC CHECKSUMS:
27 | Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
28 | flutter_statusbarcolor: 8afb1071ed8c58be929f1e32b36c629771fd2259
29 | path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
30 | url_launcher: 0067ddb8f10d36786672aa0722a21717dba3a298
31 |
32 | PODFILE CHECKSUM: 1e5af4103afd21ca5ead147d7b81d06f494f51a2
33 |
34 | COCOAPODS: 1.7.2
35 |
--------------------------------------------------------------------------------
/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 | 3A6F670380A9EA887D5A97EA /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A789A24A22DC89781E503E82 /* libPods-Runner.a */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
18 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
19 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
20 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
21 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
22 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
23 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXCopyFilesBuildPhase section */
27 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
28 | isa = PBXCopyFilesBuildPhase;
29 | buildActionMask = 2147483647;
30 | dstPath = "";
31 | dstSubfolderSpec = 10;
32 | files = (
33 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
34 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
35 | );
36 | name = "Embed Frameworks";
37 | runOnlyForDeploymentPostprocessing = 0;
38 | };
39 | /* End PBXCopyFilesBuildPhase section */
40 |
41 | /* Begin PBXFileReference section */
42 | 05BAD0003848E4BB1D9FEC90 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
43 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
44 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
45 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
46 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
47 | 4B2B4A37176AAA6A5D81032B /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
48 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
49 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
50 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
51 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
52 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
53 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
54 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
55 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
56 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
57 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
58 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
59 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
60 | A789A24A22DC89781E503E82 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
61 | /* End PBXFileReference section */
62 |
63 | /* Begin PBXFrameworksBuildPhase section */
64 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
65 | isa = PBXFrameworksBuildPhase;
66 | buildActionMask = 2147483647;
67 | files = (
68 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
69 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
70 | 3A6F670380A9EA887D5A97EA /* libPods-Runner.a in Frameworks */,
71 | );
72 | runOnlyForDeploymentPostprocessing = 0;
73 | };
74 | /* End PBXFrameworksBuildPhase section */
75 |
76 | /* Begin PBXGroup section */
77 | 9740EEB11CF90186004384FC /* Flutter */ = {
78 | isa = PBXGroup;
79 | children = (
80 | 3B80C3931E831B6300D905FE /* App.framework */,
81 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
82 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
83 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
84 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
85 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
86 | );
87 | name = Flutter;
88 | sourceTree = "";
89 | };
90 | 97C146E51CF9000F007C117D = {
91 | isa = PBXGroup;
92 | children = (
93 | 9740EEB11CF90186004384FC /* Flutter */,
94 | 97C146F01CF9000F007C117D /* Runner */,
95 | 97C146EF1CF9000F007C117D /* Products */,
96 | CBEF71398C634F83868DCC97 /* Pods */,
97 | EB53EB272F43ECFC645EC418 /* Frameworks */,
98 | );
99 | sourceTree = "";
100 | };
101 | 97C146EF1CF9000F007C117D /* Products */ = {
102 | isa = PBXGroup;
103 | children = (
104 | 97C146EE1CF9000F007C117D /* Runner.app */,
105 | );
106 | name = Products;
107 | sourceTree = "";
108 | };
109 | 97C146F01CF9000F007C117D /* Runner */ = {
110 | isa = PBXGroup;
111 | children = (
112 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
113 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
114 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
115 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
116 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
117 | 97C147021CF9000F007C117D /* Info.plist */,
118 | 97C146F11CF9000F007C117D /* Supporting Files */,
119 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
120 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
121 | );
122 | path = Runner;
123 | sourceTree = "";
124 | };
125 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
126 | isa = PBXGroup;
127 | children = (
128 | 97C146F21CF9000F007C117D /* main.m */,
129 | );
130 | name = "Supporting Files";
131 | sourceTree = "";
132 | };
133 | CBEF71398C634F83868DCC97 /* Pods */ = {
134 | isa = PBXGroup;
135 | children = (
136 | 4B2B4A37176AAA6A5D81032B /* Pods-Runner.debug.xcconfig */,
137 | 05BAD0003848E4BB1D9FEC90 /* Pods-Runner.release.xcconfig */,
138 | );
139 | name = Pods;
140 | sourceTree = "";
141 | };
142 | EB53EB272F43ECFC645EC418 /* Frameworks */ = {
143 | isa = PBXGroup;
144 | children = (
145 | A789A24A22DC89781E503E82 /* libPods-Runner.a */,
146 | );
147 | name = Frameworks;
148 | sourceTree = "";
149 | };
150 | /* End PBXGroup section */
151 |
152 | /* Begin PBXNativeTarget section */
153 | 97C146ED1CF9000F007C117D /* Runner */ = {
154 | isa = PBXNativeTarget;
155 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
156 | buildPhases = (
157 | 16CE724F91379674EF017099 /* [CP] Check Pods Manifest.lock */,
158 | 9740EEB61CF901F6004384FC /* Run Script */,
159 | 97C146EA1CF9000F007C117D /* Sources */,
160 | 97C146EB1CF9000F007C117D /* Frameworks */,
161 | 97C146EC1CF9000F007C117D /* Resources */,
162 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
163 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
164 | BC5542922B1EDC1C219A63EF /* [CP] Embed Pods Frameworks */,
165 | );
166 | buildRules = (
167 | );
168 | dependencies = (
169 | );
170 | name = Runner;
171 | productName = Runner;
172 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
173 | productType = "com.apple.product-type.application";
174 | };
175 | /* End PBXNativeTarget section */
176 |
177 | /* Begin PBXProject section */
178 | 97C146E61CF9000F007C117D /* Project object */ = {
179 | isa = PBXProject;
180 | attributes = {
181 | LastUpgradeCheck = 0910;
182 | ORGANIZATIONNAME = "The Chromium Authors";
183 | TargetAttributes = {
184 | 97C146ED1CF9000F007C117D = {
185 | CreatedOnToolsVersion = 7.3.1;
186 | DevelopmentTeam = 6L28B3SPDX;
187 | };
188 | };
189 | };
190 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
191 | compatibilityVersion = "Xcode 3.2";
192 | developmentRegion = English;
193 | hasScannedForEncodings = 0;
194 | knownRegions = (
195 | en,
196 | Base,
197 | );
198 | mainGroup = 97C146E51CF9000F007C117D;
199 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
200 | projectDirPath = "";
201 | projectRoot = "";
202 | targets = (
203 | 97C146ED1CF9000F007C117D /* Runner */,
204 | );
205 | };
206 | /* End PBXProject section */
207 |
208 | /* Begin PBXResourcesBuildPhase section */
209 | 97C146EC1CF9000F007C117D /* Resources */ = {
210 | isa = PBXResourcesBuildPhase;
211 | buildActionMask = 2147483647;
212 | files = (
213 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
214 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
215 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
216 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
217 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
218 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
219 | );
220 | runOnlyForDeploymentPostprocessing = 0;
221 | };
222 | /* End PBXResourcesBuildPhase section */
223 |
224 | /* Begin PBXShellScriptBuildPhase section */
225 | 16CE724F91379674EF017099 /* [CP] Check Pods Manifest.lock */ = {
226 | isa = PBXShellScriptBuildPhase;
227 | buildActionMask = 2147483647;
228 | files = (
229 | );
230 | inputPaths = (
231 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
232 | "${PODS_ROOT}/Manifest.lock",
233 | );
234 | name = "[CP] Check Pods Manifest.lock";
235 | outputPaths = (
236 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
237 | );
238 | runOnlyForDeploymentPostprocessing = 0;
239 | shellPath = /bin/sh;
240 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
241 | showEnvVarsInLog = 0;
242 | };
243 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
244 | isa = PBXShellScriptBuildPhase;
245 | buildActionMask = 2147483647;
246 | files = (
247 | );
248 | inputPaths = (
249 | );
250 | name = "Thin Binary";
251 | outputPaths = (
252 | );
253 | runOnlyForDeploymentPostprocessing = 0;
254 | shellPath = /bin/sh;
255 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
256 | };
257 | 9740EEB61CF901F6004384FC /* Run Script */ = {
258 | isa = PBXShellScriptBuildPhase;
259 | buildActionMask = 2147483647;
260 | files = (
261 | );
262 | inputPaths = (
263 | );
264 | name = "Run Script";
265 | outputPaths = (
266 | );
267 | runOnlyForDeploymentPostprocessing = 0;
268 | shellPath = /bin/sh;
269 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
270 | };
271 | BC5542922B1EDC1C219A63EF /* [CP] Embed Pods Frameworks */ = {
272 | isa = PBXShellScriptBuildPhase;
273 | buildActionMask = 2147483647;
274 | files = (
275 | );
276 | inputPaths = (
277 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
278 | "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
279 | );
280 | name = "[CP] Embed Pods Frameworks";
281 | outputPaths = (
282 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
283 | );
284 | runOnlyForDeploymentPostprocessing = 0;
285 | shellPath = /bin/sh;
286 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
287 | showEnvVarsInLog = 0;
288 | };
289 | /* End PBXShellScriptBuildPhase section */
290 |
291 | /* Begin PBXSourcesBuildPhase section */
292 | 97C146EA1CF9000F007C117D /* Sources */ = {
293 | isa = PBXSourcesBuildPhase;
294 | buildActionMask = 2147483647;
295 | files = (
296 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
297 | 97C146F31CF9000F007C117D /* main.m in Sources */,
298 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
299 | );
300 | runOnlyForDeploymentPostprocessing = 0;
301 | };
302 | /* End PBXSourcesBuildPhase section */
303 |
304 | /* Begin PBXVariantGroup section */
305 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
306 | isa = PBXVariantGroup;
307 | children = (
308 | 97C146FB1CF9000F007C117D /* Base */,
309 | );
310 | name = Main.storyboard;
311 | sourceTree = "";
312 | };
313 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
314 | isa = PBXVariantGroup;
315 | children = (
316 | 97C147001CF9000F007C117D /* Base */,
317 | );
318 | name = LaunchScreen.storyboard;
319 | sourceTree = "";
320 | };
321 | /* End PBXVariantGroup section */
322 |
323 | /* Begin XCBuildConfiguration section */
324 | 97C147031CF9000F007C117D /* Debug */ = {
325 | isa = XCBuildConfiguration;
326 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
327 | buildSettings = {
328 | ALWAYS_SEARCH_USER_PATHS = NO;
329 | CLANG_ANALYZER_NONNULL = YES;
330 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
331 | CLANG_CXX_LIBRARY = "libc++";
332 | CLANG_ENABLE_MODULES = YES;
333 | CLANG_ENABLE_OBJC_ARC = YES;
334 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
335 | CLANG_WARN_BOOL_CONVERSION = YES;
336 | CLANG_WARN_COMMA = YES;
337 | CLANG_WARN_CONSTANT_CONVERSION = YES;
338 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
339 | CLANG_WARN_EMPTY_BODY = YES;
340 | CLANG_WARN_ENUM_CONVERSION = YES;
341 | CLANG_WARN_INFINITE_RECURSION = YES;
342 | CLANG_WARN_INT_CONVERSION = YES;
343 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
344 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
345 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
346 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
347 | CLANG_WARN_STRICT_PROTOTYPES = YES;
348 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
349 | CLANG_WARN_UNREACHABLE_CODE = YES;
350 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
351 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
352 | COPY_PHASE_STRIP = NO;
353 | DEBUG_INFORMATION_FORMAT = dwarf;
354 | ENABLE_STRICT_OBJC_MSGSEND = YES;
355 | ENABLE_TESTABILITY = YES;
356 | GCC_C_LANGUAGE_STANDARD = gnu99;
357 | GCC_DYNAMIC_NO_PIC = NO;
358 | GCC_NO_COMMON_BLOCKS = YES;
359 | GCC_OPTIMIZATION_LEVEL = 0;
360 | GCC_PREPROCESSOR_DEFINITIONS = (
361 | "DEBUG=1",
362 | "$(inherited)",
363 | );
364 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
365 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
366 | GCC_WARN_UNDECLARED_SELECTOR = YES;
367 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
368 | GCC_WARN_UNUSED_FUNCTION = YES;
369 | GCC_WARN_UNUSED_VARIABLE = YES;
370 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
371 | MTL_ENABLE_DEBUG_INFO = YES;
372 | ONLY_ACTIVE_ARCH = YES;
373 | SDKROOT = iphoneos;
374 | TARGETED_DEVICE_FAMILY = "1,2";
375 | };
376 | name = Debug;
377 | };
378 | 97C147041CF9000F007C117D /* Release */ = {
379 | isa = XCBuildConfiguration;
380 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
381 | buildSettings = {
382 | ALWAYS_SEARCH_USER_PATHS = NO;
383 | CLANG_ANALYZER_NONNULL = YES;
384 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
385 | CLANG_CXX_LIBRARY = "libc++";
386 | CLANG_ENABLE_MODULES = YES;
387 | CLANG_ENABLE_OBJC_ARC = YES;
388 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
389 | CLANG_WARN_BOOL_CONVERSION = YES;
390 | CLANG_WARN_COMMA = YES;
391 | CLANG_WARN_CONSTANT_CONVERSION = YES;
392 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
393 | CLANG_WARN_EMPTY_BODY = YES;
394 | CLANG_WARN_ENUM_CONVERSION = YES;
395 | CLANG_WARN_INFINITE_RECURSION = YES;
396 | CLANG_WARN_INT_CONVERSION = YES;
397 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
398 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
399 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
400 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
401 | CLANG_WARN_STRICT_PROTOTYPES = YES;
402 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
403 | CLANG_WARN_UNREACHABLE_CODE = YES;
404 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
405 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
406 | COPY_PHASE_STRIP = NO;
407 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
408 | ENABLE_NS_ASSERTIONS = NO;
409 | ENABLE_STRICT_OBJC_MSGSEND = YES;
410 | GCC_C_LANGUAGE_STANDARD = gnu99;
411 | GCC_NO_COMMON_BLOCKS = YES;
412 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
413 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
414 | GCC_WARN_UNDECLARED_SELECTOR = YES;
415 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
416 | GCC_WARN_UNUSED_FUNCTION = YES;
417 | GCC_WARN_UNUSED_VARIABLE = YES;
418 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
419 | MTL_ENABLE_DEBUG_INFO = NO;
420 | SDKROOT = iphoneos;
421 | TARGETED_DEVICE_FAMILY = "1,2";
422 | VALIDATE_PRODUCT = YES;
423 | };
424 | name = Release;
425 | };
426 | 97C147061CF9000F007C117D /* Debug */ = {
427 | isa = XCBuildConfiguration;
428 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
429 | buildSettings = {
430 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
431 | CURRENT_PROJECT_VERSION = 1;
432 | DEVELOPMENT_TEAM = 6L28B3SPDX;
433 | ENABLE_BITCODE = NO;
434 | FRAMEWORK_SEARCH_PATHS = (
435 | "$(inherited)",
436 | "$(PROJECT_DIR)/Flutter",
437 | );
438 | INFOPLIST_FILE = Runner/Info.plist;
439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
440 | LIBRARY_SEARCH_PATHS = (
441 | "$(inherited)",
442 | "$(PROJECT_DIR)/Flutter",
443 | );
444 | PRODUCT_BUNDLE_IDENTIFIER = com.example.feedFlutterGe;
445 | PRODUCT_NAME = "$(TARGET_NAME)";
446 | VERSIONING_SYSTEM = "apple-generic";
447 | };
448 | name = Debug;
449 | };
450 | 97C147071CF9000F007C117D /* Release */ = {
451 | isa = XCBuildConfiguration;
452 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
453 | buildSettings = {
454 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
455 | CURRENT_PROJECT_VERSION = 1;
456 | DEVELOPMENT_TEAM = 6L28B3SPDX;
457 | ENABLE_BITCODE = NO;
458 | FRAMEWORK_SEARCH_PATHS = (
459 | "$(inherited)",
460 | "$(PROJECT_DIR)/Flutter",
461 | );
462 | INFOPLIST_FILE = Runner/Info.plist;
463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
464 | LIBRARY_SEARCH_PATHS = (
465 | "$(inherited)",
466 | "$(PROJECT_DIR)/Flutter",
467 | );
468 | PRODUCT_BUNDLE_IDENTIFIER = com.example.feedFlutterGe;
469 | PRODUCT_NAME = "$(TARGET_NAME)";
470 | VERSIONING_SYSTEM = "apple-generic";
471 | };
472 | name = Release;
473 | };
474 | /* End XCBuildConfiguration section */
475 |
476 | /* Begin XCConfigurationList section */
477 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
478 | isa = XCConfigurationList;
479 | buildConfigurations = (
480 | 97C147031CF9000F007C117D /* Debug */,
481 | 97C147041CF9000F007C117D /* Release */,
482 | );
483 | defaultConfigurationIsVisible = 0;
484 | defaultConfigurationName = Release;
485 | };
486 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
487 | isa = XCConfigurationList;
488 | buildConfigurations = (
489 | 97C147061CF9000F007C117D /* Debug */,
490 | 97C147071CF9000F007C117D /* Release */,
491 | );
492 | defaultConfigurationIsVisible = 0;
493 | defaultConfigurationName = Release;
494 | };
495 | /* End XCConfigurationList section */
496 | };
497 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
498 | }
499 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
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 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildSystemType
6 | Original
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application
7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
8 | [GeneratedPluginRegistrant registerWithRegistry:self];
9 | // Override point for customization after application launch.
10 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
11 | }
12 |
13 | @end
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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/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 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | Flutter GE
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
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/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char* argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/large-ge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/large-ge.png
--------------------------------------------------------------------------------
/large-ge1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/large-ge1.png
--------------------------------------------------------------------------------
/large-ge@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/large-ge@2x.png
--------------------------------------------------------------------------------
/lib/App.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:convert';
3 |
4 | import 'package:flutter/material.dart';
5 | import 'package:flutter/services.dart';
6 | import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart';
7 | import 'package:http/http.dart' as http;
8 |
9 | import 'components/BottomNavigation.dart';
10 | import 'components/FeedCard.dart';
11 | import 'components/Menu.dart';
12 | import 'components/MultiContent.dart';
13 |
14 | class App extends StatefulWidget {
15 | final String apiEndpoint;
16 | App({this.apiEndpoint});
17 |
18 | @override
19 | State createState() {
20 | return AppState();
21 | }
22 | }
23 |
24 | class AppState extends State {
25 | static const platform = const MethodChannel('com.example.feedflutterge');
26 |
27 | bool isLoading = false;
28 | var feedList = [];
29 |
30 | Future showPlayer(data) async {
31 | var videoId = data['content']['video']['id'];
32 | await platform.invokeMethod('showPlayer', {"videoId": videoId});
33 | }
34 |
35 | navigate(context, multicontentData) {
36 | Navigator.push(
37 | context,
38 | MaterialPageRoute(
39 | builder: (context) => MultiContent(data: multicontentData)),
40 | );
41 | }
42 |
43 | changeStatusColor(Color color) async {
44 | try {
45 | await FlutterStatusbarcolor.setStatusBarColor(color);
46 | } on PlatformException catch (e) {
47 | print(e);
48 | }
49 | }
50 |
51 | Future fetchFeed() async {
52 | isLoading = true;
53 | var response = await http.get(widget.apiEndpoint);
54 | var result = json.decode(response.body);
55 | var feedItems = result['items'];
56 | setState(() {
57 | isLoading = false;
58 | this.feedList = feedItems;
59 | });
60 | }
61 |
62 | @override
63 | void initState() {
64 | super.initState();
65 | this.fetchFeed();
66 | this.changeStatusColor(Color(0xFF3b9c00));
67 | }
68 |
69 | @override
70 | Widget build(BuildContext context) {
71 | return MaterialApp(
72 | theme: ThemeData(fontFamily: 'OpenSans'),
73 | home: Scaffold(
74 | drawer: Menu(),
75 | bottomNavigationBar: BottomNavigation(),
76 | body: RefreshIndicator(
77 | color: Colors.green,
78 | child: CustomScrollView(
79 | slivers: [
80 | SliverAppBar(
81 | expandedHeight: 44.0,
82 | floating: true,
83 | pinned: false,
84 | backgroundColor: Colors.white,
85 | iconTheme: IconThemeData(color: Colors.blueGrey),
86 | elevation: 11.0,
87 | title: Image.asset(
88 | 'large-ge.png',
89 | height: 34.0,
90 | ),
91 | centerTitle: true,
92 | actions: [
93 | Icon(Icons.search),
94 | Padding(
95 | padding: EdgeInsets.all(8.0),
96 | ),
97 | ],
98 | ),
99 | SliverList(
100 | delegate: SliverChildBuilderDelegate(
101 | (context, index) => FeedCard(
102 | index: index,
103 | onPressPlayer: () => showPlayer(this.feedList[index]),
104 | onPress: () =>
105 | navigate(context, this.feedList[index]),
106 | data: this.feedList[index],
107 | ),
108 | childCount: this.feedList.length),
109 | )
110 | ],
111 | ),
112 | onRefresh: fetchFeed,
113 | ),
114 | ),
115 | debugShowCheckedModeBanner: false,
116 | );
117 | }
118 | }
119 |
--------------------------------------------------------------------------------
/lib/AppConfig.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:meta/meta.dart';
3 |
4 | class AppConfig extends InheritedWidget {
5 | AppConfig({
6 | @required this.apiEndpoint,
7 | @required this.host,
8 | @required Widget child,
9 | }) : super(child: child);
10 |
11 | final String apiEndpoint;
12 | final String host;
13 |
14 | static AppConfig of(BuildContext context) {
15 | return context.inheritFromWidgetOfExactType(AppConfig);
16 | }
17 |
18 | @override
19 | bool updateShouldNotify(InheritedWidget oldWidget) => false;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/assets/large-ge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/lib/assets/large-ge.png
--------------------------------------------------------------------------------
/lib/components/BottomNavigation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class BottomNavigation extends StatelessWidget {
4 | @override
5 | Widget build(BuildContext context) {
6 | return (BottomNavigationBar(
7 | type: BottomNavigationBarType.fixed,
8 | currentIndex: 0,
9 | items: [
10 | BottomNavigationBarItem(
11 | icon: new Icon(Icons.home),
12 | title: new Text(
13 | 'início',
14 | style: TextStyle(
15 | color: Colors.black54,
16 | ),
17 | ),
18 | ),
19 | BottomNavigationBarItem(
20 | icon: new Icon(Icons.crop_square),
21 | title: new Text(
22 | 'meu time',
23 | style: TextStyle(
24 | color: Colors.black54,
25 | ),
26 | ),
27 | ),
28 | BottomNavigationBarItem(
29 | icon: Icon(Icons.today),
30 | title: Text(
31 | 'agenda',
32 | style: TextStyle(
33 | color: Colors.black54,
34 | ),
35 | )),
36 | BottomNavigationBarItem(
37 | icon: Icon(Icons.format_list_numbered),
38 | title: Text(
39 | 'tabelas',
40 | style: TextStyle(
41 | color: Colors.black54,
42 | ),
43 | )),
44 | ],
45 | ));
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/lib/components/FeedCard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import './RegularCard.dart';
4 | import './TempoReal.dart';
5 | import './VideoCard.dart';
6 |
7 | class FeedCard extends StatelessWidget {
8 | FeedCard(
9 | {@required this.index,
10 | @required this.onPressPlayer,
11 | @required this.onPress,
12 | @required this.data});
13 |
14 | final index;
15 | final Function onPressPlayer;
16 | final Function onPress;
17 | final data;
18 |
19 | @override
20 | Widget build(BuildContext context) {
21 | var regularCard = RegularCard(
22 | index: index,
23 | onPress: onPress,
24 | data: data,
25 | );
26 |
27 | var tempoRealCard = TempoRealCard(
28 | index: index,
29 | onPress: () {},
30 | data: data,
31 | );
32 |
33 | var videoCard = VideoCard(
34 | index: index,
35 | onPress: onPressPlayer,
36 | data: data,
37 | );
38 |
39 | if (data['type'] == 'eventos-esportivos' && data['match'] != null) {
40 | return tempoRealCard;
41 | }
42 |
43 | if (data['type'] == 'video') {
44 | return videoCard;
45 | }
46 |
47 | return regularCard;
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/lib/components/Menu.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Menu extends StatelessWidget {
4 | Widget menuItem(String menuTitle) {
5 | return ListTile(
6 | contentPadding: EdgeInsets.symmetric(horizontal: 24.0),
7 | title: Text(menuTitle,
8 | style: TextStyle(
9 | fontSize: 21.0,
10 | fontWeight: FontWeight.w100,
11 | )),
12 | onTap: () {},
13 | );
14 | }
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return Drawer(
19 | child: ListView(
20 | children: [
21 | Container(
22 | height: 90.0,
23 | width: 390.0,
24 | margin: EdgeInsets.only(bottom: 5.0),
25 | child: DrawerHeader(
26 | child: Text('Drawer Header'),
27 | decoration: BoxDecoration(
28 | color: Colors.white,
29 | border: Border(
30 | bottom: BorderSide(width: 1.0, color: Colors.black12))),
31 | ),
32 | ),
33 | menuItem('brasileirão série a'),
34 | menuItem('time'),
35 | menuItem('tabelas'),
36 | menuItem('futebol internacional'),
37 | menuItem('agenda'),
38 | menuItem('vai e vem do mercado'),
39 | menuItem('cartola FC'),
40 | menuItem('mais esportes'),
41 | menuItem('eu atleta'),
42 | menuItem('combate'),
43 | menuItem('sportv'),
44 | Padding(
45 | padding: EdgeInsets.symmetric(horizontal: 24.0),
46 | child: Divider(
47 | color: Colors.black45,
48 | ))
49 | ],
50 | ),
51 | );
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/lib/components/MultiContent.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:convert';
3 |
4 | import 'package:Flutter_GE/AppConfig.dart';
5 | import 'package:flutter/material.dart';
6 | import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart';
7 | import 'package:http/http.dart' as http;
8 |
9 | class MultiContent extends StatefulWidget {
10 | MultiContent({@required this.data});
11 | final data;
12 |
13 | @override
14 | MultiContentState createState() => new MultiContentState();
15 | }
16 |
17 | class MultiContentState extends State {
18 | @override
19 | var content = {};
20 | String url;
21 | String baseRawUrl;
22 |
23 | Future fetchFeed(url) async {
24 | var response = await http.get(url);
25 | var result = json.decode(response.body);
26 | var content = result;
27 | setState(() {
28 | this.content = content;
29 | });
30 | print(content);
31 | }
32 |
33 | changeStatusColor(Color color) async {
34 | await FlutterStatusbarcolor.setStatusBarColor(color);
35 | }
36 |
37 | @override
38 | void initState() {
39 | super.initState();
40 | this.changeStatusColor(Color(0xFF3b9c00));
41 | var pageUrl = baseRawUrl + widget.data['content']['url'];
42 | this.fetchFeed(pageUrl);
43 | }
44 |
45 | listOfBlocks() {
46 | var blocks = widget.data['resource']['bodyData']['blocks'];
47 | List widgets = blocks.map((item) => Text(item)).toList();
48 | return widgets;
49 | }
50 |
51 | @override
52 | Widget build(BuildContext context) {
53 | url = AppConfig.of(context).apiEndpoint;
54 | baseRawUrl = AppConfig.of(context).host;
55 |
56 | return MaterialApp(
57 | theme: ThemeData(fontFamily: 'OpenSans'),
58 | home: Scaffold(
59 | body: RefreshIndicator(
60 | color: Colors.green,
61 | child: CustomScrollView(
62 | slivers: [
63 | SliverAppBar(
64 | expandedHeight: 44.0,
65 | floating: true,
66 | pinned: false,
67 | backgroundColor: Colors.white,
68 | iconTheme: IconThemeData(color: Colors.blueGrey),
69 | elevation: 11.0,
70 | leading: IconButton(
71 | icon: Icon(Icons.keyboard_arrow_left, size: 35.0),
72 | onPressed: () {
73 | Navigator.pop(context, true);
74 | }),
75 | title: Text(content['header']['editoria']['label'],
76 | style: TextStyle(
77 | fontFamily: 'OpenSans',
78 | fontSize: 18.0,
79 | fontWeight: FontWeight.w400,
80 | letterSpacing: -0.5,
81 | height: 0.9,
82 | color: Colors.black87,
83 | )),
84 | centerTitle: true,
85 | actions: [
86 | Icon(Icons.share),
87 | Padding(
88 | padding: EdgeInsets.all(8.0),
89 | ),
90 | ],
91 | ),
92 | SliverList(
93 | delegate: SliverChildListDelegate(
94 | [
95 | Container(
96 | child: Row(
97 | children: [
98 | Container(
99 | padding: EdgeInsets.symmetric(
100 | vertical: 20.0, horizontal: 28.0),
101 | child: Text(
102 | content['resource']['title'],
103 | style: TextStyle(
104 | fontFamily: 'OpenSans',
105 | fontSize: 30.0,
106 | fontWeight: FontWeight.bold,
107 | letterSpacing: -1.8,
108 | height: 0.9),
109 | ),
110 | ),
111 | Container(
112 | padding: EdgeInsets.symmetric(
113 | vertical: 5.0, horizontal: 28.0),
114 | child: Text(
115 | content['resource']['subtitle'],
116 | style: TextStyle(
117 | fontFamily: 'OpenSans',
118 | fontSize: 18.0,
119 | fontWeight: FontWeight.w400,
120 | letterSpacing: -1.0,
121 | height: 0.9),
122 | ),
123 | ),
124 | ListView.builder(
125 | itemCount: content['resource']['bodyData']['blocks']
126 | .length,
127 | itemBuilder: (context, index) {
128 | return ListTile(
129 | title: Text(content['resource']['bodyData']
130 | ['blocks'][index]['text']),
131 | );
132 | },
133 | ),
134 | ],
135 | ),
136 | ),
137 | ],
138 | ),
139 | )
140 | ],
141 | ),
142 | onRefresh: () {},
143 | ),
144 | ),
145 | debugShowCheckedModeBanner: false,
146 | );
147 | }
148 | }
149 |
--------------------------------------------------------------------------------
/lib/components/Playlist.dart:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eshinkawa/flutterGE/d17d28287c2a12fdc779bc497f6bd964f251f6e8/lib/components/Playlist.dart
--------------------------------------------------------------------------------
/lib/components/RegularCard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class RegularCard extends StatelessWidget {
4 | RegularCard(
5 | {@required this.index, @required this.onPress, @required this.data});
6 |
7 | final index;
8 | final Function onPress;
9 | final data;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | var postDate = DateTime.parse(data['created']);
14 | var today = DateTime.now();
15 | Duration difference = today.difference(postDate);
16 | var diff = difference.inHours.toString();
17 | var borderTopFirstItem = index == 0 ? 1.3 : 13.0;
18 |
19 | return GestureDetector(
20 | onTap: onPress,
21 | child: Container(
22 | decoration: BoxDecoration(
23 | border: Border(
24 | top:
25 | BorderSide(color: Colors.black12, width: borderTopFirstItem)),
26 | ),
27 | child:
28 | Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
29 | Container(
30 | margin: data['content']['chapeu']['label'].length > 0
31 | ? const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0)
32 | : null,
33 | child: Text(
34 | data['content']['chapeu']['label'],
35 | style: TextStyle(
36 | fontSize: 15.3,
37 | color: Color(0xFF000000),
38 | fontWeight: FontWeight.w600,
39 | ),
40 | ),
41 | ),
42 | Container(
43 | margin: const EdgeInsets.fromLTRB(24.0, 5.0, 24.0, 10.0),
44 | child: Text(
45 | data['content']['title'],
46 | style: TextStyle(
47 | letterSpacing: -1.0,
48 | fontSize: 20.0,
49 | color: Color(0xFF3b9c00),
50 | fontWeight: FontWeight.w600,
51 | ),
52 | ),
53 | ),
54 | Container(
55 | margin: const EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 16.0),
56 | child: Text(
57 | data['content']['summary'],
58 | style: TextStyle(
59 | fontSize: 15.0,
60 | color: Color(0xFF555555),
61 | letterSpacing: -0.8,
62 | ),
63 | ),
64 | ),
65 | Image.network(data['content']['image']['sizes']['M']['url'],
66 | fit: BoxFit.cover),
67 | Container(
68 | margin: const EdgeInsets.fromLTRB(24.0, 12.0, 24.0, 12.0),
69 | child: Text(
70 | 'Há $diff horas — Em ${data['content']['section']}',
71 | style: TextStyle(fontSize: 11.0, color: Color(0xFF555555)),
72 | ),
73 | ),
74 | ]),
75 | ),
76 | );
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/lib/components/TempoReal.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class TempoRealCard extends StatelessWidget {
4 | TempoRealCard(
5 | {@required this.index, @required this.onPress, @required this.data});
6 |
7 | final index;
8 | final Function onPress;
9 | final data;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | var postDate = DateTime.parse(data['created']);
14 | var today = DateTime.now();
15 | Duration difference = today.difference(postDate);
16 | var diff = difference.inHours.toString();
17 | var borderTopFirstItem = index == 0 ? 0.0 : 13.0;
18 |
19 | return Container(
20 | decoration: BoxDecoration(
21 | border: Border(
22 | top: BorderSide(color: Colors.black12, width: borderTopFirstItem)),
23 | ),
24 | child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
25 | Container(
26 | margin: EdgeInsets.fromLTRB(
27 | data['match']['status'] == 'Em Andamento' ? 24.0 : 0.0,
28 | data['match']['status'] == 'Em Andamento' ? 24.0 : 0.0,
29 | data['match']['status'] == 'Em Andamento' ? 244.0 : 0.0,
30 | 0.0),
31 | child: data['match']['status'] == 'Em Andamento'
32 | ? Container(
33 | child: Text("Tempo Real",
34 | style: TextStyle(
35 | color: Colors.white, fontWeight: FontWeight.w800)),
36 | decoration: BoxDecoration(
37 | borderRadius: BorderRadius.all(Radius.circular(4.0)),
38 | color: Colors.green),
39 | padding: EdgeInsets.all(4.1),
40 | )
41 | : Container(
42 | margin: data['content']['chapeu']['label'].length > 0
43 | ? const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0)
44 | : null,
45 | child: Text(
46 | data['content']['chapeu']['label'],
47 | style: TextStyle(
48 | fontSize: 15.3,
49 | color: Color(0xFF000000),
50 | fontWeight: FontWeight.w600,
51 | ),
52 | ),
53 | ),
54 | ),
55 | Container(
56 | margin: EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 0.0),
57 | child: Row(
58 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
59 | children: [
60 | Row(
61 | mainAxisAlignment: MainAxisAlignment.center,
62 | children: [
63 | Padding(
64 | padding: const EdgeInsets.fromLTRB(0.0, 0.0, 12.0, 0.0),
65 | child: Text(
66 | data['match'] == null
67 | ? ''
68 | : data['match']['homeTeam']['shortName'],
69 | style: TextStyle(fontSize: 16.0, color: Colors.black45),
70 | ),
71 | ),
72 | Image.network(
73 | data['match'] == null
74 | ? ''
75 | : (data['match']['homeTeam']['crest']),
76 | height: 34.0,
77 | ),
78 | ],
79 | ),
80 | Row(
81 | mainAxisAlignment: MainAxisAlignment.spaceAround,
82 | children: [
83 | Padding(
84 | padding: const EdgeInsets.fromLTRB(0.0, 0.0, 8.0, 0.0),
85 | child: Text(
86 | data['match'] == null
87 | ? ''
88 | : data['match']['homeTeam']['score'].toString(),
89 | style: TextStyle(
90 | fontSize: 23.0,
91 | color: Colors.black,
92 | fontWeight: FontWeight.w800),
93 | ),
94 | ),
95 | Padding(
96 | padding: const EdgeInsets.symmetric(horizontal: 3.0),
97 | child: Text(
98 | 'x',
99 | style: TextStyle(fontSize: 15.0, color: Colors.black45),
100 | ),
101 | ),
102 | Padding(
103 | padding: const EdgeInsets.symmetric(horizontal: 5.0),
104 | child: Text(
105 | data['match'] == null
106 | ? ''
107 | : data['match']['awayTeam']['score'].toString(),
108 | style: TextStyle(
109 | fontSize: 23.0,
110 | color: Colors.black,
111 | fontWeight: FontWeight.w800),
112 | ),
113 | ),
114 | ],
115 | ),
116 | Row(
117 | mainAxisAlignment: MainAxisAlignment.spaceAround,
118 | children: [
119 | Image.network(
120 | data['match'] == null
121 | ? ''
122 | : (data['match']['awayTeam']['crest']),
123 | height: 34.0,
124 | ),
125 | Padding(
126 | padding: const EdgeInsets.fromLTRB(9.0, 0.0, 0.0, 0.0),
127 | child: Text(
128 | data['match'] == null
129 | ? ''
130 | : data['match']['awayTeam']['shortName'],
131 | style: TextStyle(fontSize: 16.0, color: Colors.black45),
132 | ),
133 | ),
134 | ],
135 | ),
136 | ],
137 | ),
138 | ),
139 | Container(
140 | margin: EdgeInsets.fromLTRB(24.0, 6.0, 24.0, 0.0),
141 | child: Divider(
142 | color: Colors.black26,
143 | )),
144 | Container(
145 | margin: data['match']['status'] == 'Em Andamento'
146 | ? null
147 | : EdgeInsets.fromLTRB(24.0, 16.0, 24.0, 6.0),
148 | child: data['match']['status'] == 'Em Andamento'
149 | ? null
150 | : Text(
151 | data['content']['title'],
152 | style: TextStyle(
153 | letterSpacing: -1.0,
154 | fontSize: 20.0,
155 | color: Color(0xFF3b9c00),
156 | fontWeight: FontWeight.w600,
157 | ),
158 | ),
159 | ),
160 | Container(
161 | margin: data['match']['status'] == 'Em Andamento'
162 | ? const EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 16.0)
163 | : null,
164 | child: data['match']['status'] == 'Em Andamento'
165 | ? Text(
166 | '${data['match']['highlights'][0]['time']}" - ${data['match']['highlights'][0]['half']} ${data['match']['highlights'][0]['title']}',
167 | style: TextStyle(
168 | fontSize: 13.0,
169 | color: Color(0xFF555555),
170 | letterSpacing: -0.8,
171 | ),
172 | )
173 | : null,
174 | ),
175 | Container(
176 | margin: const EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 16.0),
177 | child: Text(
178 | data['match']['highlights'][0]['text'],
179 | overflow: TextOverflow.ellipsis,
180 | maxLines: 2,
181 | style: TextStyle(
182 | fontSize: 15.0,
183 | color: Color(0xFF555555),
184 | letterSpacing: -0.8,
185 | ),
186 | ),
187 | ),
188 | Image.network(data['content']['image']['sizes']['M']['url'],
189 | fit: BoxFit.cover),
190 | Container(
191 | margin: EdgeInsets.fromLTRB(24.0, 12.0, 24.0, 12.0),
192 | child: Text(
193 | data['match']['status'] == 'Em Andamento'
194 | ? '${data['match']['spectators'].toString()} assistindo'
195 | : 'Há $diff horas — Em ${data['content']['section']}',
196 | style: TextStyle(fontSize: 11.0, color: Color(0xFF555555)),
197 | ),
198 | ),
199 | ]),
200 | );
201 | }
202 | }
203 |
--------------------------------------------------------------------------------
/lib/components/VideoCard.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class VideoCard extends StatelessWidget {
4 | VideoCard(
5 | {@required this.index, @required this.onPress, @required this.data});
6 |
7 | final index;
8 | final Function onPress;
9 | final data;
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | var postDate = DateTime.parse(data['created']);
14 | var today = DateTime.now();
15 | Duration difference = today.difference(postDate);
16 | var diff = difference.inHours.toString();
17 | var borderTopFirstItem = index == 0 ? 0.0 : 13.0;
18 |
19 | return GestureDetector(
20 | onTap: onPress,
21 | child: Container(
22 | decoration: BoxDecoration(
23 | border: Border(
24 | top: BorderSide(
25 | color: Colors.black12, width: borderTopFirstItem)),
26 | ),
27 | child:
28 | Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
29 | Container(
30 | margin: const EdgeInsets.fromLTRB(24.0, 24.0, 24.0, 10.0),
31 | child: Text(
32 | data['content']['title'],
33 | style: TextStyle(
34 | letterSpacing: -1.0,
35 | fontSize: 20.0,
36 | color: Color(0xFF3b9c00),
37 | fontWeight: FontWeight.w600,
38 | ),
39 | ),
40 | ),
41 | Container(
42 | constraints: BoxConstraints.expand(
43 | height: 200.0,
44 | ),
45 | padding: EdgeInsets.only(left: 16.0, bottom: 8.0, right: 16.0),
46 | decoration: BoxDecoration(
47 | image: DecorationImage(
48 | image: NetworkImage(
49 | data['content']['image']['sizes']['M']['url']),
50 | fit: BoxFit.cover,
51 | ),
52 | ),
53 | child: Stack(
54 | children: [
55 | Positioned(
56 | right: 130.0,
57 | bottom: 55.0,
58 | child: Icon(
59 | Icons.play_arrow,
60 | color: Colors.white,
61 | size: 80.0,
62 | ),
63 | ),
64 | ],
65 | )),
66 | Container(
67 | margin: const EdgeInsets.fromLTRB(24.0, 12.0, 24.0, 12.0),
68 | child: Text(
69 | 'Há $diff horas — Em ${data['content']['section']}',
70 | style: TextStyle(fontSize: 11.0, color: Color(0xFF555555)),
71 | ),
72 | ),
73 | ]),
74 | ));
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/lib/environments/production.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import '../App.dart';
4 | import '../AppConfig.dart';
5 |
6 | class Production extends StatelessWidget {
7 | @override
8 | build(BuildContext context) {
9 | String apiEndpoint =
10 | "http://falkor-cda.bastian.globo.com/feeds/93a4eb4b-8a93-4c09-b080-4ba92a01d142/posts/ssi";
11 | String host = 'http://globoesporte.globo.com/globo/raw/';
12 |
13 | return AppConfig(
14 | apiEndpoint: apiEndpoint,
15 | host: host,
16 | child: App(apiEndpoint: apiEndpoint));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:Flutter_GE/environments/production.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | void main() => runApp(Production());
5 |
--------------------------------------------------------------------------------
/lib/models/FeedModel.dart:
--------------------------------------------------------------------------------
1 | class FeedModel {
2 | int id;
3 | String imageUrl;
4 | String section;
5 | String summary;
6 | String title;
7 |
8 | FeedModel(this.id, this.imageUrl, this.section, this.summary, this.title);
9 |
10 | FeedModel.fromJson(Map parsedJson) {
11 | id = parsedJson['id'];
12 | imageUrl = parsedJson['imageUrl'];
13 | section = parsedJson['section'];
14 | summary = parsedJson['summary'];
15 | title = parsedJson['title'];
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile
3 | packages:
4 | async:
5 | dependency: transitive
6 | description:
7 | name: async
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.1.0"
11 | boolean_selector:
12 | dependency: transitive
13 | description:
14 | name: boolean_selector
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.0.4"
18 | charcode:
19 | dependency: transitive
20 | description:
21 | name: charcode
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "1.1.2"
25 | collection:
26 | dependency: transitive
27 | description:
28 | name: collection
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.14.11"
32 | convert:
33 | dependency: transitive
34 | description:
35 | name: convert
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "2.1.1"
39 | crypto:
40 | dependency: transitive
41 | description:
42 | name: crypto
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "2.0.6"
46 | cupertino_icons:
47 | dependency: "direct main"
48 | description:
49 | name: cupertino_icons
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.1.2"
53 | flutter:
54 | dependency: "direct main"
55 | description: flutter
56 | source: sdk
57 | version: "0.0.0"
58 | flutter_statusbarcolor:
59 | dependency: "direct main"
60 | description:
61 | name: flutter_statusbarcolor
62 | url: "https://pub.dartlang.org"
63 | source: hosted
64 | version: "0.1.1"
65 | flutter_test:
66 | dependency: "direct dev"
67 | description: flutter
68 | source: sdk
69 | version: "0.0.0"
70 | graphql_flutter:
71 | dependency: "direct main"
72 | description:
73 | name: graphql_flutter
74 | url: "https://pub.dartlang.org"
75 | source: hosted
76 | version: "0.9.5"
77 | http:
78 | dependency: "direct main"
79 | description:
80 | name: http
81 | url: "https://pub.dartlang.org"
82 | source: hosted
83 | version: "0.12.0"
84 | http_parser:
85 | dependency: transitive
86 | description:
87 | name: http_parser
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "3.1.3"
91 | matcher:
92 | dependency: transitive
93 | description:
94 | name: matcher
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.12.5"
98 | meta:
99 | dependency: transitive
100 | description:
101 | name: meta
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "1.1.6"
105 | path:
106 | dependency: transitive
107 | description:
108 | name: path
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "1.6.2"
112 | path_provider:
113 | dependency: transitive
114 | description:
115 | name: path_provider
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "0.4.1"
119 | pedantic:
120 | dependency: transitive
121 | description:
122 | name: pedantic
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "1.5.0"
126 | pull_to_refresh:
127 | dependency: "direct main"
128 | description:
129 | name: pull_to_refresh
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "1.1.6"
133 | quiver:
134 | dependency: transitive
135 | description:
136 | name: quiver
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "2.0.2"
140 | sky_engine:
141 | dependency: transitive
142 | description: flutter
143 | source: sdk
144 | version: "0.0.99"
145 | source_span:
146 | dependency: transitive
147 | description:
148 | name: source_span
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.5.5"
152 | stack_trace:
153 | dependency: transitive
154 | description:
155 | name: stack_trace
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "1.9.3"
159 | stream_channel:
160 | dependency: transitive
161 | description:
162 | name: stream_channel
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "2.0.0"
166 | string_scanner:
167 | dependency: transitive
168 | description:
169 | name: string_scanner
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "1.0.4"
173 | term_glyph:
174 | dependency: transitive
175 | description:
176 | name: term_glyph
177 | url: "https://pub.dartlang.org"
178 | source: hosted
179 | version: "1.1.0"
180 | test_api:
181 | dependency: transitive
182 | description:
183 | name: test_api
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "0.2.4"
187 | typed_data:
188 | dependency: transitive
189 | description:
190 | name: typed_data
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "1.1.6"
194 | url_launcher:
195 | dependency: "direct main"
196 | description:
197 | name: url_launcher
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "3.0.3"
201 | uuid:
202 | dependency: transitive
203 | description:
204 | name: uuid
205 | url: "https://pub.dartlang.org"
206 | source: hosted
207 | version: "1.0.3"
208 | vector_math:
209 | dependency: transitive
210 | description:
211 | name: vector_math
212 | url: "https://pub.dartlang.org"
213 | source: hosted
214 | version: "2.0.8"
215 | sdks:
216 | dart: ">=2.2.0 <3.0.0"
217 | flutter: ">=0.1.4 <2.0.0"
218 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: Flutter_GE
2 | description: APP do Globo Esporte desenvolvido com Flutter.
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 | graphql_flutter: ^0.9.5
8 |
9 | # The following adds the Cupertino Icons font to your application.
10 | # Use with the CupertinoIcons class for iOS style icons.
11 | cupertino_icons: ^0.1.2
12 | http: "^0.12.0"
13 | url_launcher: ^3.0.2
14 | pull_to_refresh: ^1.1.5
15 | flutter_statusbarcolor: any
16 |
17 | dev_dependencies:
18 | flutter_test:
19 | sdk: flutter
20 |
21 |
22 | # For information on the generic Dart part of this file, see the
23 | # following page: https://www.dartlang.org/tools/pub/pubspec
24 |
25 | # The following section is specific to Flutter.
26 | flutter:
27 |
28 | # The following line ensures that the Material Icons font is
29 | # included with your application, so that you can use the icons in
30 | # the material Icons class.
31 | uses-material-design: true
32 | assets:
33 | - large-ge.png
34 | - image1.jpg
35 | - image2.jpg
36 | fonts:
37 | - family: OpenSans
38 | fonts:
39 | - asset: fonts/OpenSans-Light.ttf
40 | - asset: fonts/OpenSans-Regular.ttf
41 | - asset: fonts/OpenSans-Bold.ttf
42 |
43 |
44 | # To add assets to your application, add an assets section, like this:
45 | # assets:
46 | # - images/a_dot_burr.jpeg
47 | # - images/a_dot_ham.jpeg
48 |
49 | # An image asset can refer to one or more resolution-specific "variants", see
50 | # https://flutter.io/assets-and-images/#resolution-aware.
51 |
52 | # For details regarding adding assets from package dependencies, see
53 | # https://flutter.io/assets-and-images/#from-packages
54 |
55 | # To add custom fonts to your application, add a fonts section here,
56 | # in this "flutter" section. Each entry in this list should have a
57 | # "family" key with the font family name, and a "fonts" key with a
58 | # list giving the asset and other descriptors for the font. For
59 | # example:
60 | # fonts:
61 | # - family: Schyler
62 | # fonts:
63 | # - asset: fonts/Schyler-Regular.ttf
64 | # - asset: fonts/Schyler-Italic.ttf
65 | # style: italic
66 | # - family: Trajan Pro
67 | # fonts:
68 | # - asset: fonts/TrajanPro.ttf
69 | # - asset: fonts/TrajanPro_Bold.ttf
70 | # weight: 700
71 | #
72 | # For details regarding fonts from package dependencies,
73 | # see https://flutter.io/custom-fonts/#from-packages
74 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | //import 'package:flutter_test/flutter_test.dart';
8 |
9 | void main() {
10 | // testWidgets('Counter increments smoke test', (WidgetTester tester) async {
11 | // // Build our app and trigger a frame.
12 | //// await tester.pumpWidget(new MyApp());
13 | ////
14 | //// // Verify that our counter starts at 0.
15 | //// expect(find.text('0'), findsOneWidget);
16 | //// expect(find.text('1'), findsNothing);
17 | ////
18 | //// // Tap the '+' icon and trigger a frame.
19 | //// await tester.tap(find.byIcon(Icons.add));
20 | //// await tester.pump();
21 | ////
22 | //// // Verify that our counter has incremented.
23 | //// expect(find.text('0'), findsNothing);
24 | //// expect(find.text('1'), findsOneWidget);
25 | // });
26 | }
27 |
--------------------------------------------------------------------------------