├── .gitignore
├── LICENSE
├── README.md
├── android
├── .project
├── .settings
│ └── org.eclipse.buildship.core.prefs
├── app
│ ├── .classpath
│ ├── .project
│ ├── .settings
│ │ └── org.eclipse.buildship.core.prefs
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── playgroundflutter
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── demo.flr
├── fonts
│ ├── gotham
│ │ ├── GothamBold.ttf
│ │ ├── GothamLight.ttf
│ │ ├── GothamMedium.ttf
│ │ └── GothamThin.otf
│ ├── icofont
│ │ └── icofont.ttf
│ ├── montserrat
│ │ ├── Montserrat-Bold.ttf
│ │ ├── Montserrat-Medium.ttf
│ │ └── Montserrat-Regular.ttf
│ ├── roboto
│ │ ├── Roboto-Bold.ttf
│ │ ├── Roboto-Medium.ttf
│ │ └── Roboto-Regular.ttf
│ └── rubik
│ │ ├── Rubik-Black.ttf
│ │ ├── Rubik-BlackItalic.ttf
│ │ ├── Rubik-Bold.ttf
│ │ ├── Rubik-BoldItalic.ttf
│ │ ├── Rubik-Italic.ttf
│ │ ├── Rubik-Light.ttf
│ │ ├── Rubik-LightItalic.ttf
│ │ ├── Rubik-Medium.ttf
│ │ ├── Rubik-MediumItalic.ttf
│ │ ├── Rubik-Regular.ttf
│ │ └── SIL Open Font License.txt
├── images
│ ├── ar-glasses.png
│ ├── cactus.png
│ ├── gas.png
│ ├── gas2.png
│ ├── img1.png
│ ├── img2.png
│ ├── img3.png
│ ├── img4.png
│ ├── img5.png
│ ├── img6.png
│ ├── leaves.png
│ ├── map.png
│ ├── myAvatar.png
│ ├── ng1.jpg
│ ├── ng2.jpg
│ ├── ng3.jpg
│ └── splash-full-sml.jpg
└── videos
│ └── SampleVideo_1280x720_1mb.mp4
├── ios
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── 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
├── lib
├── bloc
│ └── theme.bloc.dart
├── components
│ ├── FlipBoxBar
│ │ ├── flip_box.dart
│ │ └── flip_box_bar.dart
│ └── ProgressButton
│ │ └── progress-button.dart
├── configs
│ ├── ioc.dart
│ ├── routes.dart
│ └── themes.dart
├── constants
│ ├── database.dart
│ └── navigation.dart
├── data
│ ├── calls_data.dart
│ ├── chats_data.dart
│ ├── furniture_data.dart
│ ├── game-organizer-data.dart
│ ├── hotels_data.dart
│ ├── icons.dart
│ ├── real_estate_data.dart
│ ├── sidemenu.dart
│ └── trending.dart
├── environment.dart
├── environment
│ └── environment.dart
├── home.dart
├── main.dart
├── models
│ ├── baseball.model.dart
│ ├── baseball.model.g.dart
│ ├── call_model.dart
│ ├── chat_model.dart
│ ├── furniture_model.dart
│ ├── game_organizer_model.dart
│ ├── menu_item.model.dart
│ ├── quant_hotels.model.dart
│ ├── rates.model.dart
│ ├── real_estate_model.dart
│ ├── stackoverflow.model.dart
│ └── stackoverflow_response.model.dart
├── pages
│ ├── code_examples
│ │ ├── auth_google
│ │ │ └── auth_google.dart
│ │ ├── download_and_shared
│ │ │ ├── download_and_share.dart
│ │ │ └── progress_bar.dart
│ │ ├── firebase_crud
│ │ │ └── firebase_crud.dart
│ │ ├── mapbox
│ │ │ └── mapbox.dart
│ │ ├── navigation-bars
│ │ │ ├── 3d_bottom_navigation_bar.dart
│ │ │ └── bottom_with_float_button.dart
│ │ ├── pdf_and_csv
│ │ │ ├── csv.dart
│ │ │ ├── pdf.dart
│ │ │ ├── pdf_viewer.dart
│ │ │ └── view_csv_data.dart
│ │ ├── progress-button
│ │ │ └── progress-button.dart
│ │ ├── redux
│ │ │ ├── preview_question.dart
│ │ │ ├── question_item.dart
│ │ │ ├── redux.viewmodel.dart
│ │ │ └── redux_flutter.dart
│ │ ├── screenshots
│ │ │ ├── preview.dart
│ │ │ └── screenshots.dart
│ │ ├── sqlite
│ │ │ └── sqlite.dart
│ │ ├── touchid
│ │ │ └── touchid.dart
│ │ └── webview
│ │ │ └── webview.dart
│ └── templates
│ │ ├── calculator-check-list-clone
│ │ ├── calculator-check-list.dart
│ │ ├── calculator_bloc.dart
│ │ └── tab-indicator.dart
│ │ ├── chat.dart
│ │ ├── crypto-blockchain-wallet-clone
│ │ └── crypto-blockchain-wallet.dart
│ │ ├── daycare-clone
│ │ └── daycare-home.dart
│ │ ├── furniture-clone
│ │ ├── furniture-category-home.dart
│ │ ├── furniture-category-item.dart
│ │ ├── furniture-content-section.dart
│ │ └── furniture-home.dart
│ │ ├── game-organizer-clone
│ │ ├── game-organizer-detail.dart
│ │ ├── game-organizer-helper.dart
│ │ ├── game-organizer-home.dart
│ │ ├── game-organizer-item.dart
│ │ └── line-painter.dart
│ │ ├── greenery-clone
│ │ ├── greenery-details.dart
│ │ └── greenery-home.dart
│ │ ├── hospital-dashboard-clone
│ │ ├── account.card.dart
│ │ ├── appointment.card.dart
│ │ ├── chart-painter.dart
│ │ ├── current-data-chart-painter..dart
│ │ └── hospital-dashboard-home.dart
│ │ ├── network-of-gas-stations-clone
│ │ ├── animated-container.dart
│ │ ├── network-bottom-navigate.dart
│ │ ├── network-gas-home.dart
│ │ ├── network-of-gas-stations-home.dart
│ │ └── network-slide-item.dart
│ │ ├── news-app-concept-clone
│ │ ├── bottom-bar.dart
│ │ ├── categories-navigator.dart
│ │ ├── news-app-concept-details.dart
│ │ └── news-app-concept-home.dart
│ │ ├── profile-one.dart
│ │ ├── quant-hotels-booking-clone
│ │ └── quant-hotels-booking-clone.dart
│ │ ├── rahul-sliver-profile-demo
│ │ ├── rahul-profile-detail-panel.dart
│ │ └── rahul-sliver-profile.dart
│ │ ├── real-estate-clone
│ │ ├── components
│ │ │ ├── real-estate-active-tab.dart
│ │ │ └── real-estate-bottom-bar.dart
│ │ ├── real-estate-home-details.dart
│ │ └── real-estate-home.dart
│ │ ├── smart-home-clone
│ │ ├── bottom-bar.dart
│ │ ├── curve-clipper.dart
│ │ └── smart-home-home.dart
│ │ ├── smart-plant-clone
│ │ ├── chart-painter.dart
│ │ └── smart-plant-home.dart
│ │ ├── stayfit-health-clone
│ │ ├── progress_bar.dart
│ │ └── stayfit-health-home.dart
│ │ ├── trending.dart
│ │ └── whatsapp-clone
│ │ ├── pages
│ │ ├── call_details.dart
│ │ ├── calls_sceen.dart
│ │ ├── camera_sceen.dart
│ │ ├── chats_sceen.dart
│ │ └── status_sceen.dart
│ │ └── whatsapp_home.dart
├── plugins
│ └── camera_manager.dart
├── services
│ ├── auth.service.dart
│ ├── database.service.dart
│ ├── firebase_basebal_team.service.dart
│ ├── notification.service.dart
│ ├── sqlite_basebal_team.service.dart
│ ├── stack_overflow.service.dart
│ └── web.client.dart
├── shared
│ ├── utils
│ │ └── touchid.util.dart
│ └── widgets
│ │ └── crud_demo_list_item.widget.dart
└── store
│ ├── actions
│ └── stack_overflow.action.dart
│ ├── middlewares
│ └── stack_overflow.middleware.dart
│ ├── reducers
│ ├── reducer.dart
│ └── stack_overflow.reducer.dart
│ ├── selectors
│ └── stack_overflow.selector.dart
│ ├── state
│ ├── app.state.dart
│ └── stack_overflow.state.dart
│ └── store.dart
├── pubspec.yaml
├── screenshots
├── ss1.png
├── ss10.gif
├── ss10.png
├── ss11.gif
├── ss11.png
├── ss12.gif
├── ss12.png
├── ss13.png
├── ss14.png
├── ss15.png
├── ss16.png
├── ss17.png
├── ss18.png
├── ss19.png
├── ss2.png
├── ss20.png
├── ss21.png
├── ss22.png
├── ss23.png
├── ss24.png
├── ss3.gif
├── ss3.png
├── ss4.png
├── ss5.gif
├── ss5.png
├── ss6.gif
├── ss6.png
├── ss7.gif
├── ss7.png
├── ss8.gif
├── ss8.png
├── ss9.gif
└── ss9.png
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.lock
4 | *.log
5 | *.pyc
6 | *.swp
7 | .DS_Store
8 | .atom/
9 | .buildlog/
10 | .history
11 | .svn/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # Visual Studio Code related
20 | .vscode/
21 |
22 | # Flutter/Dart/Pub related
23 | **/doc/api/
24 | .dart_tool/
25 | .flutter-plugins
26 | .packages
27 | .pub-cache/
28 | .pub/
29 | build/
30 |
31 | # Android related
32 | **/android/**/gradle-wrapper.jar
33 | **/android/.gradle
34 | **/android/captures/
35 | **/android/gradlew
36 | **/android/gradlew.bat
37 | **/android/local.properties
38 | **/android/**/GeneratedPluginRegistrant.java
39 |
40 | # iOS/XCode related
41 | **/ios/**/*.mode1v3
42 | **/ios/**/*.mode2v3
43 | **/ios/**/*.moved-aside
44 | **/ios/**/*.pbxuser
45 | **/ios/**/*.perspectivev3
46 | **/ios/**/*sync/
47 | **/ios/**/.sconsign.dblite
48 | **/ios/**/.tags*
49 | **/ios/**/.vagrant/
50 | **/ios/**/DerivedData/
51 | **/ios/**/Icon?
52 | **/ios/**/Pods/
53 | **/ios/**/.symlinks/
54 | **/ios/**/profile
55 | **/ios/**/xcuserdata
56 | **/ios/.generated/
57 | **/ios/Flutter/App.framework
58 | **/ios/Flutter/Flutter.framework
59 | **/ios/Flutter/Generated.xcconfig
60 | **/ios/Flutter/app.flx
61 | **/ios/Flutter/app.zip
62 | **/ios/Flutter/flutter_assets/
63 | **/ios/ServiceDefinitions.json
64 | **/ios/Runner/GeneratedPluginRegistrant.*
65 |
66 | # Exceptions to above rules.
67 | !**/ios/**/default.mode1v3
68 | !**/ios/**/default.mode2v3
69 | !**/ios/**/default.pbxuser
70 | !**/ios/**/default.perspectivev3
71 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
72 | ios/Flutter/flutter_export_environment.sh
73 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Javier
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/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 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
26 |
27 | android {
28 | compileSdkVersion 28
29 |
30 | lintOptions {
31 | disable 'InvalidPackage'
32 | }
33 |
34 | defaultConfig {
35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
36 | applicationId "com.example.playgroundflutter"
37 | minSdkVersion 21
38 | targetSdkVersion 28
39 | versionCode flutterVersionCode.toInteger()
40 | versionName flutterVersionName
41 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | testImplementation 'junit:junit:4.12'
59 | androidTestImplementation 'androidx.test:runner:1.1.1'
60 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
61 | implementation 'com.google.firebase:firebase-core:16.0.9'
62 | }
63 |
64 | apply plugin: 'com.google.gms.google-services'
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "170634458887",
4 | "firebase_url": "https://playground-flutter-fd5ca.firebaseio.com",
5 | "project_id": "playground-flutter-fd5ca",
6 | "storage_bucket": "playground-flutter-fd5ca.appspot.com"
7 | },
8 | "client": [
9 | {
10 | "client_info": {
11 | "mobilesdk_app_id": "1:170634458887:android:e5ffd269b3f69000",
12 | "android_client_info": {
13 | "package_name": "com.example.playgroundflutter"
14 | }
15 | },
16 | "oauth_client": [
17 | {
18 | "client_id": "170634458887-v7cpqgltrfbe47poqaung1t9m8lt509t.apps.googleusercontent.com",
19 | "client_type": 1,
20 | "android_info": {
21 | "package_name": "com.example.playgroundflutter",
22 | "certificate_hash": "5d1c4448310ac2cf701384e34564cef9da2b5954"
23 | }
24 | },
25 | {
26 | "client_id": "170634458887-omkd6qp8p6mbururji6b1mhr5m0edmgm.apps.googleusercontent.com",
27 | "client_type": 3
28 | }
29 | ],
30 | "api_key": [
31 | {
32 | "current_key": "AIzaSyBDFHag05ZHFL4q3snWyzynWh2GEWGR7o4"
33 | }
34 | ],
35 | "services": {
36 | "appinvite_service": {
37 | "other_platform_oauth_client": [
38 | {
39 | "client_id": "170634458887-omkd6qp8p6mbururji6b1mhr5m0edmgm.apps.googleusercontent.com",
40 | "client_type": 3
41 | }
42 | ]
43 | }
44 | }
45 | }
46 | ],
47 | "configuration_version": "1"
48 | }
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
11 |
12 |
13 |
18 |
22 |
23 |
30 |
34 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/example/playgroundflutter/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.playgroundflutter;
2 |
3 | import android.os.Bundle;
4 | import io.flutter.app.FlutterFragmentActivity;
5 | import io.flutter.plugins.GeneratedPluginRegistrant;
6 |
7 | public class MainActivity extends FlutterFragmentActivity {
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | GeneratedPluginRegistrant.registerWith(this);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.3.2'
9 | classpath 'com.google.gms:google-services:4.2.0'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | google()
16 | jcenter()
17 | }
18 | }
19 |
20 | rootProject.buildDir = '../build'
21 | subprojects {
22 | project.buildDir = "${rootProject.buildDir}/${project.name}"
23 | }
24 | subprojects {
25 | project.evaluationDependsOn(':app')
26 | }
27 |
28 | task clean(type: Delete) {
29 | delete rootProject.buildDir
30 | }
31 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/assets/demo.flr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/demo.flr
--------------------------------------------------------------------------------
/assets/fonts/gotham/GothamBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/gotham/GothamBold.ttf
--------------------------------------------------------------------------------
/assets/fonts/gotham/GothamLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/gotham/GothamLight.ttf
--------------------------------------------------------------------------------
/assets/fonts/gotham/GothamMedium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/gotham/GothamMedium.ttf
--------------------------------------------------------------------------------
/assets/fonts/gotham/GothamThin.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/gotham/GothamThin.otf
--------------------------------------------------------------------------------
/assets/fonts/icofont/icofont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/icofont/icofont.ttf
--------------------------------------------------------------------------------
/assets/fonts/montserrat/Montserrat-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/montserrat/Montserrat-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/montserrat/Montserrat-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/montserrat/Montserrat-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/montserrat/Montserrat-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/montserrat/Montserrat-Regular.ttf
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/roboto/Roboto-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/roboto/Roboto-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/roboto/Roboto-Regular.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Black.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-BlackItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-BlackItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Bold.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-BoldItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Italic.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Light.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-LightItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Medium.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-MediumItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-MediumItalic.ttf
--------------------------------------------------------------------------------
/assets/fonts/rubik/Rubik-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/fonts/rubik/Rubik-Regular.ttf
--------------------------------------------------------------------------------
/assets/images/ar-glasses.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/ar-glasses.png
--------------------------------------------------------------------------------
/assets/images/cactus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/cactus.png
--------------------------------------------------------------------------------
/assets/images/gas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/gas.png
--------------------------------------------------------------------------------
/assets/images/gas2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/gas2.png
--------------------------------------------------------------------------------
/assets/images/img1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img1.png
--------------------------------------------------------------------------------
/assets/images/img2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img2.png
--------------------------------------------------------------------------------
/assets/images/img3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img3.png
--------------------------------------------------------------------------------
/assets/images/img4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img4.png
--------------------------------------------------------------------------------
/assets/images/img5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img5.png
--------------------------------------------------------------------------------
/assets/images/img6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/img6.png
--------------------------------------------------------------------------------
/assets/images/leaves.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/leaves.png
--------------------------------------------------------------------------------
/assets/images/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/map.png
--------------------------------------------------------------------------------
/assets/images/myAvatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/myAvatar.png
--------------------------------------------------------------------------------
/assets/images/ng1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/ng1.jpg
--------------------------------------------------------------------------------
/assets/images/ng2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/ng2.jpg
--------------------------------------------------------------------------------
/assets/images/ng3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/ng3.jpg
--------------------------------------------------------------------------------
/assets/images/splash-full-sml.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/images/splash-full-sml.jpg
--------------------------------------------------------------------------------
/assets/videos/SampleVideo_1280x720_1mb.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/assets/videos/SampleVideo_1280x720_1mb.mp4
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/javico2609/flutter-challenges/837d694fccc93df6cc58127500015029e84b9581/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 | playground_flutter
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/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 |
--------------------------------------------------------------------------------
/lib/bloc/theme.bloc.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:playground_flutter/configs/themes.dart';
4 |
5 | class ThemeBloc {
6 | final StreamController _themeController = StreamController();
7 | get changeTheme => _themeController.sink.add;
8 | get themeEnabled => _themeController.stream;
9 | }
10 |
11 | final themeBloc = ThemeBloc();
12 |
--------------------------------------------------------------------------------
/lib/components/FlipBoxBar/flip_box.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'dart:math';
3 |
4 | /// FlipBox constructs a Box consisting of two planes which can be controlled using a given Animation Controller.
5 | class FlipBox extends StatefulWidget {
6 | /// The widget on the top side of the box. (Here, "top" refers to position in Stack).
7 | final Widget bottomChild;
8 |
9 | /// The widget in front of the user initially.
10 | final Widget topChild;
11 |
12 | /// The height of the box (Carries the BottomNavigationBar height).
13 | final double height;
14 |
15 | /// The animation controller to control the flip animation.
16 | final AnimationController controller;
17 |
18 | /// Callback for when the box is selected (Not when the box is reversed).
19 | final VoidCallback onTapped;
20 |
21 | FlipBox({
22 | this.bottomChild,
23 | this.topChild,
24 | this.height = 80.0,
25 | this.controller,
26 | this.onTapped,
27 | });
28 |
29 | @override
30 | _FlipBoxState createState() => _FlipBoxState();
31 | }
32 |
33 | class _FlipBoxState extends State with SingleTickerProviderStateMixin {
34 | /// Tween for going from 0 to pi/2 radian and vice versa.
35 | Animation animation;
36 |
37 | /// Controller for controlling the Box.
38 | AnimationController controller;
39 |
40 | @override
41 | void initState() {
42 | super.initState();
43 | if (widget.controller == null) {
44 | controller = AnimationController(
45 | vsync: this, duration: Duration(milliseconds: 2000));
46 | } else {
47 | controller = widget.controller;
48 | }
49 | animation = Tween(begin: 0.0, end: pi / 2).animate(
50 | CurvedAnimation(parent: controller, curve: Curves.elasticInOut),
51 | );
52 |
53 | controller.addListener(() {
54 | setState(() {});
55 | });
56 | }
57 |
58 | @override
59 | Widget build(BuildContext context) {
60 | return Container(
61 | height: widget.height,
62 | width: double.infinity,
63 | child: Stack(
64 | children: [
65 | Transform(
66 | alignment: Alignment.center,
67 | transform: Matrix4.identity()
68 | ..setEntry(3, 2, 0.001)
69 | ..translate(0.0, -(cos(animation.value) * (widget.height / 2)),
70 | ((-widget.height / 2) * sin(animation.value)))
71 | ..rotateX(-(pi / 2) + animation.value),
72 | child: Container(
73 | child: Center(child: widget.bottomChild),
74 | ),
75 | ),
76 | GestureDetector(
77 | onTap: () {
78 | widget.onTapped();
79 | controller.forward();
80 | },
81 | child: animation.value < (85 * pi / 180)
82 | ? Transform(
83 | alignment: Alignment.center,
84 | transform: Matrix4.identity()
85 | ..setEntry(3, 2, 0.001)
86 | ..translate(
87 | 0.0,
88 | (widget.height / 2) * sin(animation.value),
89 | -((widget.height / 2) * cos(animation.value)),
90 | )
91 | ..rotateX(animation.value),
92 | child: Container(
93 | child: Center(child: widget.topChild),
94 | ),
95 | )
96 | : Container(),
97 | ),
98 | ],
99 | ),
100 | );
101 | }
102 | }
103 |
--------------------------------------------------------------------------------
/lib/configs/ioc.dart:
--------------------------------------------------------------------------------
1 | import 'package:get_it/get_it.dart';
2 | import 'package:playground_flutter/services/firebase_basebal_team.service.dart';
3 | import 'package:playground_flutter/services/sqlite_basebal_team.service.dart';
4 | import 'package:playground_flutter/services/database.service.dart';
5 | import 'package:playground_flutter/services/stack_overflow.service.dart';
6 | import 'package:playground_flutter/services/web.client.dart';
7 | import 'package:playground_flutter/shared/utils/touchid.util.dart';
8 |
9 | final GetIt ioc = GetIt.instance;
10 |
11 | class Ioc {
12 | static setupIocDependency() {
13 | ioc.registerSingleton(new WebClient());
14 | ioc.registerSingleton(new StackOverflowService());
15 | ioc.registerSingleton(new SqliteDatabaseService());
16 | ioc.registerSingleton(new SqliteBaseballService());
17 | ioc.registerSingleton(new FirebaseBaseballService());
18 | ioc.registerSingleton(new TouchIdUtil());
19 | }
20 |
21 | static T get() {
22 | return ioc.get();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/lib/configs/themes.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | enum Themes {
4 | light,
5 | dark,
6 | whapsapp,
7 | gameOrganizer,
8 | smartHome,
9 | networkGas,
10 | sliverProfile,
11 | stayfit,
12 | calculator
13 | }
14 |
15 | ThemeData getThemeByType(Themes type) {
16 | switch (type) {
17 | case Themes.dark:
18 | return ThemeData(
19 | brightness: Brightness.light,
20 | );
21 | case Themes.whapsapp:
22 | return ThemeData(
23 | primaryColor: new Color(0xff075E54),
24 | accentColor: new Color(0xff25D366),
25 | fontFamily: 'Rubik',
26 | );
27 | case Themes.smartHome:
28 | return ThemeData(
29 | brightness: Brightness.light,
30 | backgroundColor: Color(0xfff7f8f9),
31 | fontFamily: 'Rubik',
32 | cardColor: Colors.white,
33 | accentColor: Color(0xffff1e39),
34 | //textTheme: TextTheme(),
35 | );
36 | case Themes.gameOrganizer:
37 | return ThemeData(
38 | brightness: Brightness.light,
39 | appBarTheme: AppBarTheme(
40 | color: new Color(0xff00b965),
41 | ),
42 | accentColor: new Color(0xff00b965),
43 | backgroundColor: Color(0xfff7f8f9),
44 | fontFamily: 'Rubik',
45 | cardColor: Colors.white,
46 | //textTheme: TextTheme(),
47 | );
48 | case Themes.networkGas:
49 | {
50 | return ThemeData(
51 | brightness: Brightness.light,
52 | fontFamily: 'Roboto',
53 | );
54 | }
55 | case Themes.sliverProfile:
56 | {
57 | return ThemeData(
58 | brightness: Brightness.light,
59 | textTheme: TextTheme(
60 | title: TextStyle(
61 | color: Colors.black,
62 | )),
63 | fontFamily: 'Roboto',
64 | );
65 | }
66 | case Themes.stayfit:
67 | {
68 | return ThemeData(
69 | brightness: Brightness.light,
70 | fontFamily: 'Gotham',
71 | );
72 | }
73 | case Themes.calculator:
74 | return ThemeData(
75 | brightness: Brightness.dark,
76 | fontFamily: 'Roboto',
77 | backgroundColor: Color(0xff464c51),
78 | textTheme: TextTheme(
79 | body1: TextStyle(
80 | letterSpacing: 1.3,
81 | ),
82 | ),
83 | );
84 | default:
85 | return ThemeData(
86 | brightness: Brightness.light,
87 | fontFamily: 'Rubik',
88 | );
89 | }
90 | }
91 |
92 | const Color _kKeyUmbraOpacity = Color(0x33000000); // alpha = 0.2
93 | const Color _kKeyPenumbraOpacity = Color(0x24000000); // alpha = 0.14
94 | const Color _kAmbientShadowOpacity = Color(0x1F000000); // alpha = 0.12
95 |
96 | List shadow1 = [
97 | BoxShadow(
98 | offset: Offset(0.0, 0.3),
99 | blurRadius: 0.3,
100 | spreadRadius: -0.3,
101 | color: _kKeyUmbraOpacity.withOpacity(0.5),
102 | ),
103 | BoxShadow(
104 | offset: Offset(0.0, 0.3),
105 | blurRadius: 0.3,
106 | spreadRadius: 0.0,
107 | color: _kKeyPenumbraOpacity.withOpacity(0.5),
108 | ),
109 | BoxShadow(
110 | offset: Offset(0.0, 0.3),
111 | blurRadius: 0.3,
112 | spreadRadius: 0.0,
113 | color: _kAmbientShadowOpacity.withOpacity(0.5),
114 | ),
115 | ];
116 |
--------------------------------------------------------------------------------
/lib/constants/database.dart:
--------------------------------------------------------------------------------
1 | class DatabaseContants {
2 | static const String TEAMS_TABLE_NAME = "baseball_teams";
3 | }
4 |
--------------------------------------------------------------------------------
/lib/constants/navigation.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class NavigationConstrants {
4 | static final navKey = new GlobalKey();
5 |
6 | // Notification routes
7 | static const String NOTIFICATION_SUCCESS = "notification-success-route";
8 | static const String NOTIFICATION_ERROR = "notification-error-route";
9 | static const String NOTIFICATION_INFO = "notification-info-route";
10 |
11 | // Pages routes
12 | static const String BottomBarWithFloatButton = "/BottomBarWithFloatButton";
13 | static const String ThreeDimenssionBottomNavigationBar = "/ThreeDimenssionBottomNavigationBar";
14 | static const String Trending = "/Trending";
15 | static const String ProfileOne = "/ProfileOne";
16 | static const String WhatsApp = "/WhatsApp";
17 | static const String Greenery = "/Greenery";
18 | static const String ProgressButton = "/ProgressButton";
19 | static const String Daycare = "/Daycare";
20 | static const String RealEstate = "/RealEstate";
21 | static const String SmartPlant = "/SmartPlant";
22 | static const String HospitalDashboard = "/HospitalDashboard";
23 | static const String NewsAppConcept = "/NewsAppConcept";
24 | static const String Furniture = "/Furniture";
25 | static const String GameOrganizer = "/GameOrganizer";
26 | static const String SmartHome = "/SmartHome";
27 | static const String GoogleAuth = "/GoogleAuth";
28 | static const String WebviewFlutter = "/WebviewFlutter";
29 | static const String ReduxFlutter = "/ReduxFlutter";
30 | static const String ReduxViewQuestion = "/redux-view-question";
31 | static const String CryptoBlockchainWallet = "/CryptoBlockchainWallet";
32 | static const String NetworkGasStationHome = "/NetworkGasStation";
33 | static const String MapBoxDemo = "/MapBoxDemo";
34 | static const String SqliteDemo = "/SqliteDemo";
35 | static const String FirebaseDemo = "/FirebaseDemo";
36 | static const String PdfGeneratorDemo = "/PdfGeneratorDemo";
37 | static const String CsvGeneratorDemo = "/CsvGeneratorDemo";
38 | static const String RahulSliverProfile = "/RahulSliverProfile";
39 | static const String TouchIdDemo = "/TouchIdDemo";
40 | static const String DownloadAndShareDemo = "/DownloadAndShareDemo";
41 | static const String ScreenshotDemo = "/ScreenshotDemo";
42 | static const String CalculatorChecklistHome = "/CalculatorChecklist";
43 | static const String StayfitHealthHome = "/StayfitHealth";
44 | static const String QuantHotelsBookingPage = "/QuantHotelsBookingPage";
45 | }
46 |
--------------------------------------------------------------------------------
/lib/data/calls_data.dart:
--------------------------------------------------------------------------------
1 |
2 |
3 | import 'package:playground_flutter/models/call_model.dart';
4 |
5 | final List calls = [
6 | new CallModel(
7 | name: 'Javier González',
8 | time: "12:30 PM",
9 | type: CallType.Call,
10 | avatar:
11 | "http://www.usanetwork.com/sites/usanetwork/files/styles/629x720/public/suits_cast_harvey.jpg?itok=fpTOeeBb",
12 | ),
13 | new CallModel(
14 | name: 'Daynelis Cruz',
15 | time: "12:32 PM",
16 | type: CallType.Call,
17 | avatar:
18 | "https://heavyeditorial.files.wordpress.com/2017/07/jessica-johnson-5.jpg?w=531&quality=65&strip=all&h=531",
19 | ),
20 | new CallModel(
21 | name: 'Javier González',
22 | time: "12:35 PM",
23 | type: CallType.Video,
24 | avatar:
25 | "http://www.usanetwork.com/sites/usanetwork/files/styles/629x720/public/suits_cast_harvey.jpg?itok=fpTOeeBb",
26 | ),
27 | new CallModel(
28 | name: 'Daynelis Cruz',
29 | time: "12:36 PM",
30 | type: CallType.Call,
31 | avatar:
32 | "https://heavyeditorial.files.wordpress.com/2017/07/jessica-johnson-5.jpg?w=531&quality=65&strip=all&h=531",
33 | ),
34 | ];
35 |
--------------------------------------------------------------------------------
/lib/data/chats_data.dart:
--------------------------------------------------------------------------------
1 |
2 | import 'package:playground_flutter/models/chat_model.dart';
3 |
4 | final List chats = [
5 | new ChatModel(
6 | name: 'Javier González',
7 | message:
8 | "Mima estoy en el Shopping, quieres que compre algo para la cena ?",
9 | time: "12:30 PM",
10 | avatar:
11 | "http://www.usanetwork.com/sites/usanetwork/files/styles/629x720/public/suits_cast_harvey.jpg?itok=fpTOeeBb",
12 | ),
13 | new ChatModel(
14 | name: 'Daynelis Cruz',
15 | message: "Revisa si hay tomates frescos en el mercado",
16 | time: "12:32 PM",
17 | avatar:
18 | "https://heavyeditorial.files.wordpress.com/2017/07/jessica-johnson-5.jpg?w=531&quality=65&strip=all&h=531",
19 | ),
20 | new ChatModel(
21 | name: 'Javier González',
22 | message: "OK, algo más ?",
23 | time: "12:35 PM",
24 | avatar:
25 | "http://www.usanetwork.com/sites/usanetwork/files/styles/629x720/public/suits_cast_harvey.jpg?itok=fpTOeeBb",
26 | ),
27 | new ChatModel(
28 | name: 'Daynelis Cruz',
29 | message: "No, solo eso necesito",
30 | time: "12:36 PM",
31 | avatar:
32 | "https://heavyeditorial.files.wordpress.com/2017/07/jessica-johnson-5.jpg?w=531&quality=65&strip=all&h=531",
33 | ),
34 | ];
35 |
--------------------------------------------------------------------------------
/lib/data/furniture_data.dart:
--------------------------------------------------------------------------------
1 | import 'package:playground_flutter/models/furniture_model.dart';
2 |
3 | List furnitureResult = [
4 | new FurnitureModel(
5 | img:
6 | 'https://ae01.alicdn.com/kf/HTB1bxKJJpXXXXcaXXXXq6xXFXXXF/Free-Shipping-DIY-House-Decoration-Wooden-Background-TV-Wall-Shelf-for-Living-Room-3D-Wooden-Wall.jpg_640x640.jpg',
7 | description: '088 Alisha Hill Apt. 345',
8 | name: 'Family House',
9 | priceOff: '800',
10 | price: '1000',
11 | ),
12 | new FurnitureModel(
13 | img:
14 | 'http://www.banana-film.com/wp-content/uploads/2018/06/country-kitchen-fresh-country-kitchen-chandelier-ideas-home-design-of-country-kitchen.jpg',
15 | description: '088 Alisha Hill Apt. 345',
16 | name: 'Family House',
17 | priceOff: '2000',
18 | price: '3500',
19 | ),
20 | new FurnitureModel(
21 | img:
22 | 'http://roetsjordanbrewery.com/wp-content/uploads/2018/09/traditional-kitchen-cabinet-ideas-grey-fitted-kitchens-traditional-open-kitchen-designs.jpg',
23 | description: '088 Alisha Hill Apt. 345',
24 | name: 'Family House',
25 | priceOff: '1000',
26 | price: '3200',
27 | ),
28 | ];
29 |
--------------------------------------------------------------------------------
/lib/data/game-organizer-data.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:playground_flutter/data/icons.dart';
3 | import 'package:playground_flutter/models/game_organizer_model.dart';
4 |
5 | final List organizerTodayData = [
6 | new GameOrganizerModelModel(
7 | name: 'Tennis',
8 | city: 'New York',
9 | country: 'USA',
10 | date: 'April 1, 2019',
11 | hour: '12:30',
12 | playersWithMaybe: 4,
13 | playersWithNo: 2,
14 | playersWithYes: 8,
15 | color: Color(0xfffcb35f),
16 | icon: tennis,
17 | ),
18 | ];
19 |
20 | final List organizerOtherData = [
21 | new GameOrganizerModelModel(
22 | name: 'Golf',
23 | city: 'New York',
24 | country: 'USA',
25 | date: 'April 1, 2019',
26 | hour: '12:30',
27 | playersWithMaybe: 4,
28 | playersWithNo: 2,
29 | playersWithYes: 8,
30 | color: Color(0xff7872f8),
31 | icon: golf_field,
32 | ),
33 | new GameOrganizerModelModel(
34 | name: 'Football',
35 | city: 'New York',
36 | country: 'USA',
37 | date: 'April 1, 2019',
38 | hour: '12:30',
39 | playersWithMaybe: 4,
40 | playersWithNo: 2,
41 | playersWithYes: 8,
42 | color: Color(0xff2a8cee),
43 | icon: football,
44 | ),
45 | new GameOrganizerModelModel(
46 | name: 'Football A.',
47 | city: 'New York',
48 | country: 'USA',
49 | date: 'April 1, 2019',
50 | hour: '12:30',
51 | playersWithMaybe: 4,
52 | playersWithNo: 2,
53 | playersWithYes: 8,
54 | color: Colors.redAccent,
55 | icon: football_american,
56 | ),
57 | new GameOrganizerModelModel(
58 | name: 'Baseball',
59 | city: 'New York',
60 | country: 'USA',
61 | date: 'April 1, 2019',
62 | hour: '12:30',
63 | playersWithMaybe: 4,
64 | playersWithNo: 2,
65 | playersWithYes: 8,
66 | color: Color(0xff00b966),
67 | icon: baseball,
68 | )
69 | ];
70 |
--------------------------------------------------------------------------------
/lib/data/hotels_data.dart:
--------------------------------------------------------------------------------
1 | import 'package:playground_flutter/models/quant_hotels.model.dart';
2 |
3 | final List hotels = [
4 | new QuantHotelModel(
5 | img:
6 | "https://x.cdrst.com/foto/hotel-sf/14aff/granderesp/hotel-mandarin-oriental-paris-habitacion-875d86d.jpg",
7 | name: "Mandarin Oriental",
8 | price: 80,
9 | reviews: 4,
10 | ),
11 | new QuantHotelModel(
12 | img:
13 | "http://cdmxtravel.com/assets/cache/26505e0494662534f633586941b77d0c/discover-3598-1-spa-hotel-jw-marriott-mexico-city_848x476_adaptiveResize.jpg",
14 | name: "JW Mariott Hotel",
15 | price: 75,
16 | reviews: 3.8,
17 | )
18 | ];
19 |
--------------------------------------------------------------------------------
/lib/data/icons.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | const baseball = IconData(0xed8e, fontFamily: 'Iconfont');
4 | const badminton = IconData(0xed8d, fontFamily: 'Iconfont');
5 | const basketball = IconData(0xed91, fontFamily: 'Iconfont');
6 | const canoe = IconData(0xed98, fontFamily: 'Iconfont');
7 | const football_american = IconData(0xed9f, fontFamily: 'Iconfont');
8 | const football = IconData(0xeda0, fontFamily: 'Iconfont');
9 | const golf_field = IconData(0xeda7, fontFamily: 'Iconfont');
10 | const volleyball = IconData(0xedda, fontFamily: 'Iconfont');
11 | const tennis = IconData(0xedd4, fontFamily: 'Iconfont');
12 | const history = IconData(0xef46, fontFamily: 'Iconfont');
13 | const users = IconData(0xed08, fontFamily: 'Iconfont');
14 |
--------------------------------------------------------------------------------
/lib/data/real_estate_data.dart:
--------------------------------------------------------------------------------
1 | import 'package:playground_flutter/models/real_estate_model.dart';
2 |
3 | List realEstatesResult = [
4 | new RealEstateModel(
5 | img: 'https://rew-feed-images.global.ssl.fastly.net/creb/_cloud_media/listing/detached/c4241465-3-o.jpg',
6 | address: '088 Alisha Hill Apt. 345',
7 | name: 'Family House',
8 | priceOff: '33%'
9 | ),
10 | new RealEstateModel(
11 | img: 'http://www.grandviewriverhouse.com/box/sm/inspiring-european-cottage-style-house-plans-on-interior-decor_bathroom-inspiration.jpg',
12 | address: '55 Alisha Hill Apt. 345',
13 | name: 'ArtHouse',
14 | priceOff: '50%'
15 | ),
16 | new RealEstateModel(
17 | img: 'https://www.ryanhomes.com/rh-community-gallery-NewAspectRatio/969616de-2e2c-4229-8941-05dcfc63f3b5/db/969616de-2e2c-4229-8941-05dcfc63f3b5.jpg',
18 | address: '088 Alisha Hill Apt. 345',
19 | name: 'Family House',
20 | priceOff: '15%'
21 | ),
22 | ];
--------------------------------------------------------------------------------
/lib/data/trending.dart:
--------------------------------------------------------------------------------
1 | class Product {
2 | String title;
3 | String image;
4 |
5 | Product(this.title, this.image);
6 | }
7 |
8 | class TrendingModel {
9 | String title;
10 | List items;
11 |
12 | TrendingModel(this.title, this.items);
13 | }
14 |
15 | List trending = [
16 | new TrendingModel("Popular Trending Tec", [
17 | new Product("Play Station",
18 | "https://www.howtogeek.com/wp-content/uploads/2016/01/steam-and-xbox-controllers.jpg"),
19 | new Product("XBox",
20 | "https://www.howtogeek.com/wp-content/uploads/2016/01/steam-and-xbox-controllers.jpg"),
21 | new Product("Electronics",
22 | "http://images4.fanpop.com/image/photos/21600000/Electronics-hd-wallpaper-21627626-1920-1200.jpg"),
23 | ]),
24 | new TrendingModel("Popular Trending Travel", [
25 | new Product("Moscu",
26 | "https://cms.hostelworld.com/hwblog/wp-content/uploads/sites/2/2017/08/girlgoneabroad-1170x805.jpg"),
27 | new Product("Varadero", "http://www.aphamok.com/images/travel.jpg"),
28 | new Product("Cancun",
29 | "https://thenationalwealthcenterreview.com/wp-content/uploads/2015/06/travel.jpg"),
30 | ]),
31 | ];
32 |
--------------------------------------------------------------------------------
/lib/environment.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:playground_flutter/configs/ioc.dart';
4 | import 'package:playground_flutter/services/database.service.dart';
5 | import 'package:playground_flutter/store/store.dart';
6 |
7 | class Environment {
8 | static setup() async {
9 | // Make sure that the binary messenger binding are properly initialiazed
10 | WidgetsFlutterBinding.ensureInitialized();
11 |
12 | // lock orientation position
13 | SystemChrome.setPreferredOrientations([
14 | DeviceOrientation.portraitDown,
15 | DeviceOrientation.portraitUp,
16 | ]);
17 |
18 | // transparent status bar
19 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
20 | statusBarColor: Colors.transparent,
21 | statusBarIconBrightness: Brightness.light,
22 | ));
23 |
24 | Ioc.setupIocDependency();
25 | await Ioc.get().initDatabase();
26 |
27 | return await createStore();
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/lib/environment/environment.dart:
--------------------------------------------------------------------------------
1 | class Environment {
2 | static String api = 'https://api.stackexchange.com/2.2/questions';
3 | static String tokenKey = '@token';
4 | }
5 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_redux/flutter_redux.dart';
3 | import 'package:playground_flutter/bloc/theme.bloc.dart';
4 | import 'package:playground_flutter/configs/routes.dart';
5 | import 'package:playground_flutter/configs/themes.dart';
6 | import 'package:playground_flutter/constants/navigation.dart';
7 | import 'package:playground_flutter/environment.dart';
8 | import 'package:playground_flutter/store/state/app.state.dart';
9 | import 'package:redux/redux.dart';
10 |
11 | void main() async {
12 | final Store store = await Environment.setup();
13 |
14 | return runApp(MyApp(store));
15 | }
16 |
17 | class MyApp extends StatelessWidget {
18 | final Store store;
19 |
20 | MyApp(this.store);
21 |
22 | @override
23 | Widget build(BuildContext context) {
24 | return StoreProvider(
25 | store: store,
26 | child: StreamBuilder