├── .gitignore
├── .metadata
├── README.md
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flutter_gaming_ui
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── demo.gif
├── fonts
└── Fryo.ttf
├── images
├── 00012.jpg
├── ahkohd.png
├── apex-1.jpg
├── apex-2.jpg
├── apex-3.jpg
├── apex-4.jpg
├── apex-5.jpg
├── apex-channel.jpg
├── apex-poster.jpg
├── bg.jpg
├── cod-channel.jpeg
├── cod-poster.jpg
├── d.jpg
├── fortnite-channel.png
├── fortnite-poster.jpg
├── juega.jpg
├── ninja.jpg
├── overwatch-channel.jpg
├── overwatch-poster.jpg
├── pubg-channel.jpg
├── pubg-poster.jpg
└── will.jpg
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── flutter_export_environment.sh
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── main.dart
├── screens
│ ├── GameDetails.dart
│ └── GameHome.dart
└── shared
│ ├── fryo_icons.dart
│ └── styles.dart
├── pubspec.lock
├── pubspec.yaml
├── screenshots
├── 1.png
├── 2.png
├── 3.png
└── 4.png
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # Visual Studio Code related
19 | .vscode/
20 |
21 | # Flutter/Dart/Pub related
22 | **/doc/api/
23 | .dart_tool/
24 | .flutter-plugins
25 | .packages
26 | .pub-cache/
27 | .pub/
28 | /build/
29 |
30 | # Android related
31 | **/android/**/gradle-wrapper.jar
32 | **/android/.gradle
33 | **/android/captures/
34 | **/android/gradlew
35 | **/android/gradlew.bat
36 | **/android/local.properties
37 | **/android/**/GeneratedPluginRegistrant.java
38 |
39 | # iOS/XCode related
40 | **/ios/**/*.mode1v3
41 | **/ios/**/*.mode2v3
42 | **/ios/**/*.moved-aside
43 | **/ios/**/*.pbxuser
44 | **/ios/**/*.perspectivev3
45 | **/ios/**/*sync/
46 | **/ios/**/.sconsign.dblite
47 | **/ios/**/.tags*
48 | **/ios/**/.vagrant/
49 | **/ios/**/DerivedData/
50 | **/ios/**/Icon?
51 | **/ios/**/Pods/
52 | **/ios/**/.symlinks/
53 | **/ios/**/profile
54 | **/ios/**/xcuserdata
55 | **/ios/.generated/
56 | **/ios/Flutter/App.framework
57 | **/ios/Flutter/Flutter.framework
58 | **/ios/Flutter/Generated.xcconfig
59 | **/ios/Flutter/app.flx
60 | **/ios/Flutter/app.zip
61 | **/ios/Flutter/flutter_assets/
62 | **/ios/ServiceDefinitions.json
63 | **/ios/Runner/GeneratedPluginRegistrant.*
64 |
65 | # Exceptions to above rules.
66 | !**/ios/**/default.mode1v3
67 | !**/ios/**/default.mode2v3
68 | !**/ios/**/default.pbxuser
69 | !**/ios/**/default.perspectivev3
70 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
71 |
--------------------------------------------------------------------------------
/.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: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🍔😋 Flutter Gaming UI - A Flutter Game Streaming App Template [](http://makeapullrequest.com)
2 |
3 | A Flutter UI template of a Game Streaming App I found on Dribble.
4 |
5 | Design screens are on [Dribble.](https://dribbble.com/shots/6139248-Game-Streaming-App)
6 |
7 | > **Disclaimer:** I am not in anyway in affiliate with the designer of the screens. I just love the UI and decided to do it in Flutter😽
8 |
9 |
10 |
11 | Don't forget to star⭐ the repo if you like what you see. 😉
12 |
13 | # 🎥 Demo
14 |
15 |
16 |
17 | # 📸 Screenshots
18 |
19 | The screenshots below are taken on a android emulator.
20 |
21 | | 1 | 2 |
22 | | ------------------------------------------- | ----------------------------------------- |
23 | |
|
|
24 |
25 | | 3 | 4 |
26 | | ----------------------------------------- | ----------------------------------------- |
27 | |
|
|
28 |
29 | # ✨ Requirements
30 |
31 | - Any Operating System (ie. MacOS X, Linux, Windows)
32 | - Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc)
33 | - A little knowledge of Dart and Flutter
34 | - Some fingers to code 😂
35 |
36 | # ☕️ Donate
37 |
38 |
39 |
40 | # Getting Started
41 |
42 | This project is a starting point for a Flutter application.
43 |
44 | A few resources to get you started if this is your first Flutter project:
45 |
46 | - [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
47 | - [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook)
48 |
49 | For help getting started with Flutter, view our
50 | [online documentation](https://flutter.io/docs), which offers tutorials,
51 | samples, guidance on mobile development, and a full API reference.
52 |
53 | # LICENSE
54 |
55 | [MIT](./LICENSE.md)
56 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "com.example.flutter_gaming_ui"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'androidx.test:runner:1.1.1'
66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
67 | }
68 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
12 |
19 |
20 |
21 |
22 |
23 |
24 |
26 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/flutter_gaming_ui/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_gaming_ui
2 |
3 | import androidx.annotation.NonNull;
4 | import io.flutter.embedding.android.FlutterActivity
5 | import io.flutter.embedding.engine.FlutterEngine
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10 | GeneratedPluginRegistrant.registerWith(flutterEngine);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/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-5.6.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 |
--------------------------------------------------------------------------------
/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/demo.gif
--------------------------------------------------------------------------------
/fonts/Fryo.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/fonts/Fryo.ttf
--------------------------------------------------------------------------------
/images/00012.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/00012.jpg
--------------------------------------------------------------------------------
/images/ahkohd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/ahkohd.png
--------------------------------------------------------------------------------
/images/apex-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-1.jpg
--------------------------------------------------------------------------------
/images/apex-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-2.jpg
--------------------------------------------------------------------------------
/images/apex-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-3.jpg
--------------------------------------------------------------------------------
/images/apex-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-4.jpg
--------------------------------------------------------------------------------
/images/apex-5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-5.jpg
--------------------------------------------------------------------------------
/images/apex-channel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-channel.jpg
--------------------------------------------------------------------------------
/images/apex-poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/apex-poster.jpg
--------------------------------------------------------------------------------
/images/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/bg.jpg
--------------------------------------------------------------------------------
/images/cod-channel.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/cod-channel.jpeg
--------------------------------------------------------------------------------
/images/cod-poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/cod-poster.jpg
--------------------------------------------------------------------------------
/images/d.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/d.jpg
--------------------------------------------------------------------------------
/images/fortnite-channel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/fortnite-channel.png
--------------------------------------------------------------------------------
/images/fortnite-poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/fortnite-poster.jpg
--------------------------------------------------------------------------------
/images/juega.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/juega.jpg
--------------------------------------------------------------------------------
/images/ninja.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/ninja.jpg
--------------------------------------------------------------------------------
/images/overwatch-channel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/overwatch-channel.jpg
--------------------------------------------------------------------------------
/images/overwatch-poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/overwatch-poster.jpg
--------------------------------------------------------------------------------
/images/pubg-channel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/pubg-channel.jpg
--------------------------------------------------------------------------------
/images/pubg-poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/pubg-poster.jpg
--------------------------------------------------------------------------------
/images/will.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/images/will.jpg
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
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/Flutter/flutter_export_environment.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # This is a generated file; do not edit or check into version control.
3 | export "FLUTTER_ROOT=/Users/victor/development/flutter"
4 | export "FLUTTER_APPLICATION_PATH=/Users/victor/Documents/dev-lab/flutter_gaming_ui"
5 | export "FLUTTER_TARGET=lib/main.dart"
6 | export "FLUTTER_BUILD_DIR=build"
7 | export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8 | export "FLUTTER_FRAMEWORK_DIR=/Users/victor/development/flutter/bin/cache/artifacts/engine/ios"
9 | export "FLUTTER_BUILD_NAME=1.0.0"
10 | export "FLUTTER_BUILD_NUMBER=1"
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
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 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
18 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
19 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXCopyFilesBuildPhase section */
23 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
24 | isa = PBXCopyFilesBuildPhase;
25 | buildActionMask = 2147483647;
26 | dstPath = "";
27 | dstSubfolderSpec = 10;
28 | files = (
29 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
30 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
31 | );
32 | name = "Embed Frameworks";
33 | runOnlyForDeploymentPostprocessing = 0;
34 | };
35 | /* End PBXCopyFilesBuildPhase section */
36 |
37 | /* Begin PBXFileReference section */
38 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
39 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
40 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
41 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
42 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
43 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
44 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
45 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
46 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
47 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
48 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
49 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
50 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
51 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
52 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
53 | /* End PBXFileReference section */
54 |
55 | /* Begin PBXFrameworksBuildPhase section */
56 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
57 | isa = PBXFrameworksBuildPhase;
58 | buildActionMask = 2147483647;
59 | files = (
60 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
61 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
62 | );
63 | runOnlyForDeploymentPostprocessing = 0;
64 | };
65 | /* End PBXFrameworksBuildPhase section */
66 |
67 | /* Begin PBXGroup section */
68 | 9740EEB11CF90186004384FC /* Flutter */ = {
69 | isa = PBXGroup;
70 | children = (
71 | 3B80C3931E831B6300D905FE /* App.framework */,
72 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
73 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
74 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
75 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
76 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
77 | );
78 | name = Flutter;
79 | sourceTree = "";
80 | };
81 | 97C146E51CF9000F007C117D = {
82 | isa = PBXGroup;
83 | children = (
84 | 9740EEB11CF90186004384FC /* Flutter */,
85 | 97C146F01CF9000F007C117D /* Runner */,
86 | 97C146EF1CF9000F007C117D /* Products */,
87 | );
88 | sourceTree = "";
89 | };
90 | 97C146EF1CF9000F007C117D /* Products */ = {
91 | isa = PBXGroup;
92 | children = (
93 | 97C146EE1CF9000F007C117D /* Runner.app */,
94 | );
95 | name = Products;
96 | sourceTree = "";
97 | };
98 | 97C146F01CF9000F007C117D /* Runner */ = {
99 | isa = PBXGroup;
100 | children = (
101 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
102 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
103 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
104 | 97C147021CF9000F007C117D /* Info.plist */,
105 | 97C146F11CF9000F007C117D /* Supporting Files */,
106 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
107 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
108 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
109 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
110 | );
111 | path = Runner;
112 | sourceTree = "";
113 | };
114 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
115 | isa = PBXGroup;
116 | children = (
117 | );
118 | name = "Supporting Files";
119 | sourceTree = "";
120 | };
121 | /* End PBXGroup section */
122 |
123 | /* Begin PBXNativeTarget section */
124 | 97C146ED1CF9000F007C117D /* Runner */ = {
125 | isa = PBXNativeTarget;
126 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
127 | buildPhases = (
128 | 9740EEB61CF901F6004384FC /* Run Script */,
129 | 97C146EA1CF9000F007C117D /* Sources */,
130 | 97C146EB1CF9000F007C117D /* Frameworks */,
131 | 97C146EC1CF9000F007C117D /* Resources */,
132 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
133 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
134 | );
135 | buildRules = (
136 | );
137 | dependencies = (
138 | );
139 | name = Runner;
140 | productName = Runner;
141 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
142 | productType = "com.apple.product-type.application";
143 | };
144 | /* End PBXNativeTarget section */
145 |
146 | /* Begin PBXProject section */
147 | 97C146E61CF9000F007C117D /* Project object */ = {
148 | isa = PBXProject;
149 | attributes = {
150 | LastUpgradeCheck = 1020;
151 | ORGANIZATIONNAME = "The Chromium Authors";
152 | TargetAttributes = {
153 | 97C146ED1CF9000F007C117D = {
154 | CreatedOnToolsVersion = 7.3.1;
155 | LastSwiftMigration = 1100;
156 | };
157 | };
158 | };
159 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
160 | compatibilityVersion = "Xcode 3.2";
161 | developmentRegion = en;
162 | hasScannedForEncodings = 0;
163 | knownRegions = (
164 | en,
165 | Base,
166 | );
167 | mainGroup = 97C146E51CF9000F007C117D;
168 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
169 | projectDirPath = "";
170 | projectRoot = "";
171 | targets = (
172 | 97C146ED1CF9000F007C117D /* Runner */,
173 | );
174 | };
175 | /* End PBXProject section */
176 |
177 | /* Begin PBXResourcesBuildPhase section */
178 | 97C146EC1CF9000F007C117D /* Resources */ = {
179 | isa = PBXResourcesBuildPhase;
180 | buildActionMask = 2147483647;
181 | files = (
182 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
183 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
184 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
185 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
186 | );
187 | runOnlyForDeploymentPostprocessing = 0;
188 | };
189 | /* End PBXResourcesBuildPhase section */
190 |
191 | /* Begin PBXShellScriptBuildPhase section */
192 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
193 | isa = PBXShellScriptBuildPhase;
194 | buildActionMask = 2147483647;
195 | files = (
196 | );
197 | inputPaths = (
198 | );
199 | name = "Thin Binary";
200 | outputPaths = (
201 | );
202 | runOnlyForDeploymentPostprocessing = 0;
203 | shellPath = /bin/sh;
204 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
205 | };
206 | 9740EEB61CF901F6004384FC /* Run Script */ = {
207 | isa = PBXShellScriptBuildPhase;
208 | buildActionMask = 2147483647;
209 | files = (
210 | );
211 | inputPaths = (
212 | );
213 | name = "Run Script";
214 | outputPaths = (
215 | );
216 | runOnlyForDeploymentPostprocessing = 0;
217 | shellPath = /bin/sh;
218 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
219 | };
220 | /* End PBXShellScriptBuildPhase section */
221 |
222 | /* Begin PBXSourcesBuildPhase section */
223 | 97C146EA1CF9000F007C117D /* Sources */ = {
224 | isa = PBXSourcesBuildPhase;
225 | buildActionMask = 2147483647;
226 | files = (
227 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
228 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
229 | );
230 | runOnlyForDeploymentPostprocessing = 0;
231 | };
232 | /* End PBXSourcesBuildPhase section */
233 |
234 | /* Begin PBXVariantGroup section */
235 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
236 | isa = PBXVariantGroup;
237 | children = (
238 | 97C146FB1CF9000F007C117D /* Base */,
239 | );
240 | name = Main.storyboard;
241 | sourceTree = "";
242 | };
243 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
244 | isa = PBXVariantGroup;
245 | children = (
246 | 97C147001CF9000F007C117D /* Base */,
247 | );
248 | name = LaunchScreen.storyboard;
249 | sourceTree = "";
250 | };
251 | /* End PBXVariantGroup section */
252 |
253 | /* Begin XCBuildConfiguration section */
254 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
255 | isa = XCBuildConfiguration;
256 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
257 | buildSettings = {
258 | ALWAYS_SEARCH_USER_PATHS = NO;
259 | CLANG_ANALYZER_NONNULL = YES;
260 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
261 | CLANG_CXX_LIBRARY = "libc++";
262 | CLANG_ENABLE_MODULES = YES;
263 | CLANG_ENABLE_OBJC_ARC = YES;
264 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
265 | CLANG_WARN_BOOL_CONVERSION = YES;
266 | CLANG_WARN_COMMA = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
269 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
270 | CLANG_WARN_EMPTY_BODY = YES;
271 | CLANG_WARN_ENUM_CONVERSION = YES;
272 | CLANG_WARN_INFINITE_RECURSION = YES;
273 | CLANG_WARN_INT_CONVERSION = YES;
274 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
275 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
276 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
277 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
278 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
279 | CLANG_WARN_STRICT_PROTOTYPES = YES;
280 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
281 | CLANG_WARN_UNREACHABLE_CODE = YES;
282 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
283 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
284 | COPY_PHASE_STRIP = NO;
285 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
286 | ENABLE_NS_ASSERTIONS = NO;
287 | ENABLE_STRICT_OBJC_MSGSEND = YES;
288 | GCC_C_LANGUAGE_STANDARD = gnu99;
289 | GCC_NO_COMMON_BLOCKS = YES;
290 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
291 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
292 | GCC_WARN_UNDECLARED_SELECTOR = YES;
293 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
294 | GCC_WARN_UNUSED_FUNCTION = YES;
295 | GCC_WARN_UNUSED_VARIABLE = YES;
296 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
297 | MTL_ENABLE_DEBUG_INFO = NO;
298 | SDKROOT = iphoneos;
299 | SUPPORTED_PLATFORMS = iphoneos;
300 | TARGETED_DEVICE_FAMILY = "1,2";
301 | VALIDATE_PRODUCT = YES;
302 | };
303 | name = Profile;
304 | };
305 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
306 | isa = XCBuildConfiguration;
307 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
308 | buildSettings = {
309 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
310 | CLANG_ENABLE_MODULES = YES;
311 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
312 | ENABLE_BITCODE = NO;
313 | FRAMEWORK_SEARCH_PATHS = (
314 | "$(inherited)",
315 | "$(PROJECT_DIR)/Flutter",
316 | );
317 | INFOPLIST_FILE = Runner/Info.plist;
318 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
319 | LIBRARY_SEARCH_PATHS = (
320 | "$(inherited)",
321 | "$(PROJECT_DIR)/Flutter",
322 | );
323 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGamingUi;
324 | PRODUCT_NAME = "$(TARGET_NAME)";
325 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
326 | SWIFT_VERSION = 5.0;
327 | VERSIONING_SYSTEM = "apple-generic";
328 | };
329 | name = Profile;
330 | };
331 | 97C147031CF9000F007C117D /* Debug */ = {
332 | isa = XCBuildConfiguration;
333 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
334 | buildSettings = {
335 | ALWAYS_SEARCH_USER_PATHS = NO;
336 | CLANG_ANALYZER_NONNULL = YES;
337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
338 | CLANG_CXX_LIBRARY = "libc++";
339 | CLANG_ENABLE_MODULES = YES;
340 | CLANG_ENABLE_OBJC_ARC = YES;
341 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
342 | CLANG_WARN_BOOL_CONVERSION = YES;
343 | CLANG_WARN_COMMA = YES;
344 | CLANG_WARN_CONSTANT_CONVERSION = YES;
345 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347 | CLANG_WARN_EMPTY_BODY = YES;
348 | CLANG_WARN_ENUM_CONVERSION = YES;
349 | CLANG_WARN_INFINITE_RECURSION = YES;
350 | CLANG_WARN_INT_CONVERSION = YES;
351 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
352 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
353 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
354 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
355 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
356 | CLANG_WARN_STRICT_PROTOTYPES = YES;
357 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
358 | CLANG_WARN_UNREACHABLE_CODE = YES;
359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
361 | COPY_PHASE_STRIP = NO;
362 | DEBUG_INFORMATION_FORMAT = dwarf;
363 | ENABLE_STRICT_OBJC_MSGSEND = YES;
364 | ENABLE_TESTABILITY = YES;
365 | GCC_C_LANGUAGE_STANDARD = gnu99;
366 | GCC_DYNAMIC_NO_PIC = NO;
367 | GCC_NO_COMMON_BLOCKS = YES;
368 | GCC_OPTIMIZATION_LEVEL = 0;
369 | GCC_PREPROCESSOR_DEFINITIONS = (
370 | "DEBUG=1",
371 | "$(inherited)",
372 | );
373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
375 | GCC_WARN_UNDECLARED_SELECTOR = YES;
376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
377 | GCC_WARN_UNUSED_FUNCTION = YES;
378 | GCC_WARN_UNUSED_VARIABLE = YES;
379 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
380 | MTL_ENABLE_DEBUG_INFO = YES;
381 | ONLY_ACTIVE_ARCH = YES;
382 | SDKROOT = iphoneos;
383 | TARGETED_DEVICE_FAMILY = "1,2";
384 | };
385 | name = Debug;
386 | };
387 | 97C147041CF9000F007C117D /* Release */ = {
388 | isa = XCBuildConfiguration;
389 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
390 | buildSettings = {
391 | ALWAYS_SEARCH_USER_PATHS = NO;
392 | CLANG_ANALYZER_NONNULL = YES;
393 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
394 | CLANG_CXX_LIBRARY = "libc++";
395 | CLANG_ENABLE_MODULES = YES;
396 | CLANG_ENABLE_OBJC_ARC = YES;
397 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
398 | CLANG_WARN_BOOL_CONVERSION = YES;
399 | CLANG_WARN_COMMA = YES;
400 | CLANG_WARN_CONSTANT_CONVERSION = YES;
401 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
403 | CLANG_WARN_EMPTY_BODY = YES;
404 | CLANG_WARN_ENUM_CONVERSION = YES;
405 | CLANG_WARN_INFINITE_RECURSION = YES;
406 | CLANG_WARN_INT_CONVERSION = YES;
407 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
408 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
409 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
410 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
411 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
412 | CLANG_WARN_STRICT_PROTOTYPES = YES;
413 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
414 | CLANG_WARN_UNREACHABLE_CODE = YES;
415 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
417 | COPY_PHASE_STRIP = NO;
418 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
419 | ENABLE_NS_ASSERTIONS = NO;
420 | ENABLE_STRICT_OBJC_MSGSEND = YES;
421 | GCC_C_LANGUAGE_STANDARD = gnu99;
422 | GCC_NO_COMMON_BLOCKS = YES;
423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
425 | GCC_WARN_UNDECLARED_SELECTOR = YES;
426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
427 | GCC_WARN_UNUSED_FUNCTION = YES;
428 | GCC_WARN_UNUSED_VARIABLE = YES;
429 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
430 | MTL_ENABLE_DEBUG_INFO = NO;
431 | SDKROOT = iphoneos;
432 | SUPPORTED_PLATFORMS = iphoneos;
433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
434 | TARGETED_DEVICE_FAMILY = "1,2";
435 | VALIDATE_PRODUCT = YES;
436 | };
437 | name = Release;
438 | };
439 | 97C147061CF9000F007C117D /* Debug */ = {
440 | isa = XCBuildConfiguration;
441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
442 | buildSettings = {
443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
444 | CLANG_ENABLE_MODULES = YES;
445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
446 | ENABLE_BITCODE = NO;
447 | FRAMEWORK_SEARCH_PATHS = (
448 | "$(inherited)",
449 | "$(PROJECT_DIR)/Flutter",
450 | );
451 | INFOPLIST_FILE = Runner/Info.plist;
452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
453 | LIBRARY_SEARCH_PATHS = (
454 | "$(inherited)",
455 | "$(PROJECT_DIR)/Flutter",
456 | );
457 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGamingUi;
458 | PRODUCT_NAME = "$(TARGET_NAME)";
459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
461 | SWIFT_VERSION = 5.0;
462 | VERSIONING_SYSTEM = "apple-generic";
463 | };
464 | name = Debug;
465 | };
466 | 97C147071CF9000F007C117D /* Release */ = {
467 | isa = XCBuildConfiguration;
468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
469 | buildSettings = {
470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471 | CLANG_ENABLE_MODULES = YES;
472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
473 | ENABLE_BITCODE = NO;
474 | FRAMEWORK_SEARCH_PATHS = (
475 | "$(inherited)",
476 | "$(PROJECT_DIR)/Flutter",
477 | );
478 | INFOPLIST_FILE = Runner/Info.plist;
479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
480 | LIBRARY_SEARCH_PATHS = (
481 | "$(inherited)",
482 | "$(PROJECT_DIR)/Flutter",
483 | );
484 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterGamingUi;
485 | PRODUCT_NAME = "$(TARGET_NAME)";
486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
487 | SWIFT_VERSION = 5.0;
488 | VERSIONING_SYSTEM = "apple-generic";
489 | };
490 | name = Release;
491 | };
492 | /* End XCBuildConfiguration section */
493 |
494 | /* Begin XCConfigurationList section */
495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
496 | isa = XCConfigurationList;
497 | buildConfigurations = (
498 | 97C147031CF9000F007C117D /* Debug */,
499 | 97C147041CF9000F007C117D /* Release */,
500 | 249021D3217E4FDB00AE95B9 /* Profile */,
501 | );
502 | defaultConfigurationIsVisible = 0;
503 | defaultConfigurationName = Release;
504 | };
505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
506 | isa = XCConfigurationList;
507 | buildConfigurations = (
508 | 97C147061CF9000F007C117D /* Debug */,
509 | 97C147071CF9000F007C117D /* Release */,
510 | 249021D4217E4FDB00AE95B9 /* Profile */,
511 | );
512 | defaultConfigurationIsVisible = 0;
513 | defaultConfigurationName = Release;
514 | };
515 | /* End XCConfigurationList section */
516 | };
517 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
518 | }
519 |
--------------------------------------------------------------------------------
/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 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/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/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_gaming_ui
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter/services.dart';
3 | import 'package:gamesapp/screens/GameDetails.dart';
4 | import 'package:gamesapp/screens/GameHome.dart';
5 |
6 | void main() => runApp(MyApp());
7 |
8 | class MyApp extends StatelessWidget {
9 | // This widget is the root of your application.
10 | @override
11 | Widget build(BuildContext context) {
12 | SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
13 | statusBarColor: Colors.transparent,
14 | statusBarBrightness: Brightness.dark));
15 |
16 | return MaterialApp(
17 | title: 'Games App',
18 | theme: ThemeData(
19 | primarySwatch: Colors.blue,
20 | ),
21 | home: GamesHome(),
22 | routes: {
23 | '/gameHome': (BuildContext context) => GamesHome(),
24 | '/gameDetails': (BuildContext context) => GameDetails(
25 | poster: "images/apex-poster.jpg",
26 | gameTitle: "Apex Legends",
27 | )
28 | },
29 | );
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/lib/screens/GameDetails.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 |
4 | class GameDetails extends StatelessWidget {
5 | String poster, gameTitle;
6 |
7 | GameDetails({
8 | @required this.poster,
9 | @required this.gameTitle,
10 | });
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return SafeArea(
15 | child: Material(
16 | child: CustomScrollView(
17 | slivers: [
18 | SliverPersistentHeader(
19 | delegate: GameDetailsSliverAppBar(
20 | expandedHeight: 400,
21 | title: this.gameTitle,
22 | imagePath: this.poster,
23 | content:
24 | gameDetailsSliverContent(context, 400, this.gameTitle)),
25 | pinned: true,
26 | ),
27 | body(context),
28 | ],
29 | ),
30 | ),
31 | );
32 | }
33 |
34 | Widget body(BuildContext context) {
35 | return new SliverPadding(
36 | padding: new EdgeInsets.all(0),
37 | sliver: new SliverList(
38 | delegate: new SliverChildListDelegate([
39 | Container(
40 | padding: EdgeInsets.only(top: 60),
41 | color: Color(0xff010023),
42 | child: Column(
43 | children: [
44 | section(" Live", "Channels", context),
45 | Wrap(
46 | children: [
47 | Container(
48 | margin: EdgeInsets.only(top: 20),
49 | child: Column(
50 | children: [
51 | videoItem(
52 | context: context,
53 | title: "Season 4 Trailer",
54 | views: "53.8k",
55 | poster: "images/apex-5.jpg",
56 | author: "Victor Aremu",
57 | avatar: "images/ahkohd.png"),
58 | videoItem(
59 | context: context,
60 | title: "Blood Hunt and Void Charm",
61 | views: "25.6k",
62 | poster: "images/apex-4.jpg",
63 | author: "David Adeleke",
64 | avatar: "images/d.jpg"),
65 | videoItem(
66 | context: context,
67 | title: "The Best Champs In Apex Legends",
68 | views: "20.8k",
69 | poster: "images/apex-3.jpg",
70 | author: "Ninja",
71 | avatar: "images/ninja.jpg"),
72 | videoItem(
73 | context: context,
74 | title: "Wining Apex Legends World Cup",
75 | views: "13.2k",
76 | poster: "images/apex-2.jpg",
77 | author: "Juega",
78 | avatar: "images/juega.jpg"),
79 | videoItem(
80 | context: context,
81 | title: "Hijacked squads enroute to El Chapo",
82 | views: "8.3k",
83 | poster: "images/apex-1.jpg",
84 | author: "Victor Aremu",
85 | avatar: "images/ahkohd.png"),
86 | videoItem(
87 | context: context,
88 | title: "Fortnite Shoot out 45 kills",
89 | views: "7.6k",
90 | poster: "images/fortnite-channel.png",
91 | author: "Ninja",
92 | avatar: "images/ninja.jpg"),
93 | videoItem(
94 | context: context,
95 | title: "Apex Season 3 Finale",
96 | views: "6.3k",
97 | poster: "images/apex-channel.jpg",
98 | author: "David Adeleke",
99 | avatar: "images/d.jpg")
100 | ],
101 | ))
102 | ],
103 | )
104 | ],
105 | ),
106 | )
107 | ]),
108 | ),
109 | );
110 | }
111 |
112 | Widget videoItem(
113 | {BuildContext context,
114 | String title,
115 | String views,
116 | String avatar,
117 | String poster,
118 | String author}) {
119 | return Container(
120 | padding: EdgeInsets.symmetric(horizontal: 30, vertical: 15),
121 | child: Row(
122 | children: [
123 | Container(
124 | height: 95,
125 | width: MediaQuery.of(context).size.width / 2.6,
126 | child: Stack(children: [
127 | Align(
128 | alignment: Alignment.topLeft,
129 | child: Container(
130 | decoration: BoxDecoration(
131 | borderRadius: BorderRadius.circular(5),
132 | image: DecorationImage(
133 | fit: BoxFit.cover, image: AssetImage(poster))),
134 | )),
135 | Align(
136 | alignment: Alignment.topLeft,
137 | child: SizedBox.expand(
138 | child: Container(
139 | decoration: BoxDecoration(
140 | gradient: RadialGradient(radius: 1.1, stops: [
141 | 0,
142 | 4
143 | ], colors: [
144 | Colors.transparent,
145 | Colors.black.withAlpha(180)
146 | ])),
147 | ),
148 | ),
149 | ),
150 | Positioned(
151 | bottom: 10,
152 | left: 0,
153 | child: Container(
154 | margin: EdgeInsets.only(left: 10, top: 3),
155 | child: Row(
156 | children: [
157 | Container(
158 | width: 8,
159 | height: 8,
160 | decoration: BoxDecoration(
161 | color: Colors.redAccent,
162 | borderRadius: BorderRadius.circular(50)),
163 | ),
164 | Container(
165 | margin: EdgeInsets.only(left: 5),
166 | child: Text(
167 | "Live",
168 | style:
169 | TextStyle(color: Colors.white, fontSize: 12),
170 | ),
171 | )
172 | ],
173 | ),
174 | ))
175 | ]),
176 | ),
177 | Container(
178 | width: MediaQuery.of(context).size.width / 2.15,
179 | padding: EdgeInsets.only(left: 15),
180 | child: Column(
181 | crossAxisAlignment: CrossAxisAlignment.start,
182 | children: [
183 | Container(
184 | child: Text(
185 | title,
186 | overflow: TextOverflow.ellipsis,
187 | style: TextStyle(
188 | color: Colors.white,
189 | fontWeight: FontWeight.bold,
190 | fontSize: 18),
191 | )),
192 | Container(
193 | margin: EdgeInsets.only(top: 10),
194 | child: Row(
195 | children: [
196 | Icon(
197 | MaterialCommunityIcons.eye,
198 | color: Color(0xff5c6495),
199 | size: 18,
200 | ),
201 | Container(
202 | margin: EdgeInsets.only(left: 10),
203 | child: Text(
204 | "${views} viewers",
205 | style: TextStyle(
206 | color: Color(0xffbdc8ff), fontSize: 14),
207 | ),
208 | )
209 | ],
210 | ),
211 | ),
212 | Container(
213 | margin: EdgeInsets.only(top: 10),
214 | child: Row(
215 | children: [
216 | Container(
217 | width: 28,
218 | height: 28,
219 | margin: EdgeInsets.only(right: 10),
220 | decoration: BoxDecoration(
221 | borderRadius: BorderRadius.circular(200),
222 | image: DecorationImage(
223 | fit: BoxFit.cover,
224 | image: AssetImage(avatar))),
225 | ),
226 | Text(author,
227 | style:
228 | TextStyle(color: Colors.white, fontSize: 12))
229 | ],
230 | ))
231 | ],
232 | ),
233 | )
234 | ],
235 | ));
236 | }
237 |
238 | Widget gameDetailsSliverContent(
239 | BuildContext context, double sliverBarExpandedHeight, String title) {
240 | return Wrap(children: [
241 | Container(
242 | height: sliverBarExpandedHeight,
243 | child: Stack(
244 | overflow: Overflow.clip,
245 | children: [
246 | Container(
247 | width: MediaQuery.of(context).size.width,
248 | decoration: BoxDecoration(
249 | gradient: LinearGradient(
250 | begin: Alignment.topCenter,
251 | end: Alignment.bottomCenter,
252 | stops: [
253 | 0,
254 | .85
255 | ],
256 | colors: [
257 | Colors.transparent,
258 | Color(0xff010013).withAlpha(220)
259 | ])),
260 | ),
261 | Align(
262 | alignment: Alignment.bottomLeft,
263 | child: Container(
264 | padding: EdgeInsets.symmetric(horizontal: 20),
265 | child: Column(
266 | mainAxisAlignment: MainAxisAlignment.start,
267 | crossAxisAlignment: CrossAxisAlignment.start,
268 | children: [
269 | Row(
270 | children: [
271 | label("FPS"),
272 | label("Shooter"),
273 | ],
274 | ),
275 | Container(
276 | margin: EdgeInsets.only(top: 10, bottom: 12),
277 | child: Text(title,
278 | style: TextStyle(
279 | fontSize: 38,
280 | color: Colors.white,
281 | fontWeight: FontWeight.bold)),
282 | ),
283 | Row(
284 | children: [
285 | Container(
286 | child: Row(
287 | children: [
288 | Icon(
289 | Icons.person,
290 | size: 16,
291 | color: Color(0xff7788c3),
292 | ),
293 | Text(
294 | " 10.7 M Followers",
295 | style: TextStyle(color: Color(0xff7788c3)),
296 | )
297 | ],
298 | )),
299 | Container(
300 | margin: EdgeInsets.only(left: 15),
301 | child: Row(
302 | children: [
303 | Icon(
304 | MaterialCommunityIcons.eye,
305 | size: 16,
306 | color: Color(0xff7788c3),
307 | ),
308 | Text(
309 | " 237.5k Viewers",
310 | style:
311 | TextStyle(color: Color(0xff7788c3)),
312 | )
313 | ],
314 | ))
315 | ],
316 | ),
317 | Container(
318 | margin: EdgeInsets.only(top: 25),
319 | child: Row(
320 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
321 | children: [
322 | InkWell(
323 | onTap: () {
324 | print("tapped following...");
325 | },
326 | child: Container(
327 | padding: EdgeInsets.symmetric(
328 | horizontal: 30, vertical: 10),
329 | decoration: BoxDecoration(
330 | borderRadius: BorderRadius.circular(5),
331 | color: Color(0xff3644ff)),
332 | child: Center(
333 | child: Text(
334 | "Following",
335 | style: TextStyle(
336 | color: Colors.white,
337 | fontWeight: FontWeight.bold),
338 | ))),
339 | ),
340 | Icon(Icons.more_vert,
341 | size: 30, color: Color(0xff4265ff))
342 | ],
343 | ),
344 | )
345 | ],
346 | ),
347 | height: 200,
348 | width: MediaQuery.of(context).size.width,
349 | ))
350 | ],
351 | ))
352 | ]);
353 | }
354 |
355 | Widget section(String name1, String name2, BuildContext context) {
356 | return Row(
357 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
358 | crossAxisAlignment: CrossAxisAlignment.center,
359 | children: [
360 | Row(
361 | children: [
362 | Text(name1, style: TextStyle(color: Colors.white, fontSize: 20)),
363 | Text(' ' + name2,
364 | style: TextStyle(
365 | color: Colors.white,
366 | fontSize: 20,
367 | fontWeight: FontWeight.bold)),
368 | ],
369 | ),
370 | Container(
371 | color: Color.fromRGBO(255, 255, 255, .3),
372 | height: 1.5,
373 | margin: EdgeInsets.only(top: 5, left: 10),
374 | width: MediaQuery.of(context).size.width / 2.2,
375 | )
376 | ],
377 | );
378 | }
379 |
380 | Widget label(String label) {
381 | return Container(
382 | height: 20,
383 | margin: EdgeInsets.only(right: 15),
384 | padding: EdgeInsets.symmetric(horizontal: 10),
385 | child: Center(
386 | child: Text(label,
387 | style:
388 | TextStyle(fontWeight: FontWeight.w600, color: Colors.white)),
389 | ),
390 | decoration: BoxDecoration(
391 | borderRadius: BorderRadius.circular(20),
392 | border: Border.all(
393 | width: 1, color: Colors.white, style: BorderStyle.solid)));
394 | }
395 | }
396 |
397 | class GameDetailsSliverAppBar extends SliverPersistentHeaderDelegate {
398 | final double expandedHeight;
399 | final String title;
400 | final String imagePath;
401 | final Widget content;
402 |
403 | @override
404 | double get maxExtent => expandedHeight;
405 |
406 | @override
407 | double get minExtent => kToolbarHeight;
408 |
409 | @override
410 | bool shouldRebuild(SliverPersistentHeaderDelegate oldDelegate) => true;
411 |
412 | GameDetailsSliverAppBar({
413 | @required this.expandedHeight,
414 | @required this.title,
415 | @required this.imagePath,
416 | @required this.content,
417 | });
418 | @override
419 | Widget build(
420 | BuildContext context, double shrinkOffset, bool overlapsContent) {
421 | return Stack(fit: StackFit.expand, overflow: Overflow.clip, children: [
422 | Image.asset(
423 | imagePath,
424 | fit: BoxFit.cover,
425 | ),
426 | Positioned(
427 | child: Opacity(
428 | opacity: (1 - shrinkOffset / expandedHeight),
429 | child: this.content)),
430 | Center(
431 | child: Opacity(
432 | opacity: shrinkOffset / expandedHeight,
433 | child: Container(
434 | height: shrinkOffset * expandedHeight,
435 | width: MediaQuery.of(context).size.width,
436 | decoration: BoxDecoration(
437 | color: Color(0xff010013).withAlpha(200),
438 | border: Border(
439 | bottom: BorderSide(
440 | width: 1, color: Colors.black.withAlpha(200)))),
441 | child: Row(
442 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
443 | children: [
444 | GestureDetector(
445 | onTap: () {
446 | print("popped page");
447 | Navigator.of(context).pop();
448 | },
449 | child: Container(
450 | margin: EdgeInsets.only(left: 10),
451 | child: Icon(Icons.arrow_back, color: Colors.white),
452 | ),
453 | ),
454 | Text(
455 | this.title,
456 | style: TextStyle(
457 | color: Colors.white,
458 | fontWeight: FontWeight.w700,
459 | fontSize: 23,
460 | ),
461 | ),
462 | Container(
463 | margin: EdgeInsets.only(right: 10),
464 | child: Icon(Icons.search, color: Colors.white),
465 | ),
466 | ],
467 | )),
468 | ))
469 | ]);
470 | }
471 | }
472 |
--------------------------------------------------------------------------------
/lib/screens/GameHome.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_icons/flutter_icons.dart';
3 | import 'package:gamesapp/screens/GameDetails.dart';
4 | import '../shared/styles.dart';
5 | import '../shared/fryo_icons.dart';
6 |
7 | class GamesHome extends StatelessWidget {
8 | @override
9 | Widget build(BuildContext context) {
10 | return Scaffold(
11 | body: Container(
12 | child: Container(
13 | color: Color.fromRGBO(0, 0, 34, .4),
14 | child: ListView(
15 | children: [
16 | topBar(),
17 | Container(
18 | padding: EdgeInsets.only(left: 20, right: 20, top: 10),
19 | child: Text('Explore the world of games', style: taglineStyle),
20 | ),
21 | searchbar(context),
22 | wall(context)
23 | ],
24 | ),
25 | ),
26 | width: MediaQuery.of(context).size.width,
27 | height: MediaQuery.of(context).size.height,
28 | decoration: BoxDecoration(
29 | image: DecorationImage(
30 | image: AssetImage('images/fortnite-channel.png'),
31 | alignment: Alignment.center,
32 | colorFilter: ColorFilter.srgbToLinearGamma(),
33 | fit: BoxFit.cover)),
34 | ),
35 | );
36 | }
37 |
38 | topBar() {
39 | return Container(
40 | height: 60,
41 | padding: EdgeInsets.symmetric(horizontal: 10),
42 | child: Row(
43 | crossAxisAlignment: CrossAxisAlignment.center,
44 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
45 | children: [
46 | IconButton(
47 | onPressed: () => {},
48 | padding: EdgeInsets.all(0),
49 | icon: Icon(Fryo.text_align_left, color: Colors.white),
50 | iconSize: 28,
51 | ),
52 | avatarHead()
53 | ],
54 | ),
55 | );
56 | }
57 |
58 | avatarHead() {
59 | return Container(
60 | width: 45,
61 | height: 45,
62 | padding: EdgeInsets.all(4),
63 | margin: EdgeInsets.only(top: 3, right: 10),
64 | child: Container(
65 | decoration: BoxDecoration(
66 | borderRadius: BorderRadius.circular(50),
67 | image: DecorationImage(image: AssetImage('images/ahkohd.png'))),
68 | ),
69 | decoration: BoxDecoration(
70 | border: Border.all(width: 2, color: Color.fromRGBO(59, 92, 255, 1)),
71 | borderRadius: BorderRadius.circular(50)),
72 | );
73 | }
74 |
75 | searchbar(context) {
76 | return Container(
77 | padding: EdgeInsets.only(top: 10, left: 10),
78 | child: Row(
79 | children: [
80 | IconButton(
81 | onPressed: () => {},
82 | padding: EdgeInsets.only(top: 10),
83 | icon: Icon(Icons.search, color: Color(0xff96a8e0), size: 30),
84 | ),
85 | Container(
86 | child: TextField(
87 | decoration: InputDecoration(
88 | hintText: 'Search for the game',
89 | hintStyle: TextStyle(
90 | color: Color(0xff96a8e0),
91 | ),
92 | focusedBorder: UnderlineInputBorder(
93 | borderSide: BorderSide(color: Color(0xff96a8e0), width: 2)),
94 | contentPadding: EdgeInsets.symmetric(horizontal: 0, vertical: 10),
95 | enabledBorder: UnderlineInputBorder(
96 | borderSide: BorderSide(color: Color(0xff96a8e0), width: 2)),
97 | )),
98 | // padding: EdgeInsets.only(bottom: 10),
99 | width: MediaQuery.of(context).size.width / 1.32,
100 | )
101 | ],
102 | ),
103 | );
104 | }
105 |
106 | wall(context) {
107 | return Container(
108 | height: 700,
109 | margin: EdgeInsets.only(top: 25),
110 | padding: EdgeInsets.only(left: 15, top: 30),
111 | child: Column(
112 | children: [
113 | section('Popular', 'Categories', context),
114 | popularGamesList(context),
115 | section('Popular', 'Live channels', context),
116 | popularYoutubeChannelList(),
117 | ],
118 | ),
119 | decoration: BoxDecoration(
120 | color: Color(0xff4b55ff),
121 | borderRadius: BorderRadius.only(topRight: Radius.circular(50))),
122 | );
123 | }
124 |
125 | section(String name1, String name2, BuildContext context) {
126 | return Row(
127 | mainAxisAlignment: MainAxisAlignment.spaceBetween,
128 | crossAxisAlignment: CrossAxisAlignment.center,
129 | children: [
130 | Row(
131 | children: [
132 | Text(name1, style: TextStyle(color: Colors.white, fontSize: 20)),
133 | Text(' ' + name2,
134 | style: TextStyle(
135 | color: Colors.white,
136 | fontSize: 20,
137 | fontWeight: FontWeight.bold)),
138 | ],
139 | ),
140 | Container(
141 | color: Color.fromRGBO(255, 255, 255, .3),
142 | height: 1.5,
143 | margin: EdgeInsets.only(top: 5, left: 10),
144 | width: MediaQuery.of(context).size.width / 2.2,
145 | )
146 | ],
147 | );
148 | }
149 |
150 | popularGamesList(BuildContext context) {
151 | return Container(
152 | child: Column(children: [
153 | SizedBox(
154 | height: 300,
155 | child: ListView(
156 | scrollDirection: Axis.horizontal,
157 | shrinkWrap: true,
158 | children: [
159 | gameItem(context, 250, 170, "Apex Legends", "257.3k viewers",
160 | "images/apex-poster.jpg"),
161 | gameItem(context, 250, 170, "Fortnite", "115.4k viewers",
162 | "images/fortnite-poster.jpg"),
163 | gameItem(context, 250, 170, "Overwatch", "80.7k viewers",
164 | "images/overwatch-poster.jpg"),
165 | gameItem(context, 250, 170, "PUBG", "20.8k viewers",
166 | "images/pubg-poster.jpg"),
167 | gameItem(context, 250, 170, "Call Of Duty Mobile",
168 | "10.2k viewers", "images/cod-poster.jpg"),
169 | ],
170 | ),
171 | )
172 | ]),
173 | );
174 | }
175 |
176 | popularYoutubeChannelList() {
177 | return Container(
178 | child: Column(children: [
179 | SizedBox(
180 | height: 320,
181 | child: ListView(
182 | scrollDirection: Axis.horizontal,
183 | shrinkWrap: true,
184 | children: [
185 | channelItem(
186 | 260,
187 | 300,
188 | "Victor Aremu",
189 | "257.3k viewers",
190 | "images/fortnite-channel.png",
191 | "Padoro Weekly Tournament",
192 | "Fortnite",
193 | "images/ahkohd.png"),
194 | channelItem(
195 | 260,
196 | 300,
197 | "David Adeleke",
198 | "115.4k viewers",
199 | "images/apex-channel.jpg",
200 | "Season 3",
201 | "Apex Legends",
202 | "images/d.jpg"),
203 | channelItem(
204 | 260,
205 | 300,
206 | "Will Smith",
207 | "80.7k viewers",
208 | "images/overwatch-channel.jpg",
209 | "El Chapo Event",
210 | "Overwatch",
211 | "images/will.jpg"),
212 | channelItem(
213 | 260,
214 | 300,
215 | "JuegaGerman",
216 | "20.8k viewers",
217 | "images/pubg-channel.jpg",
218 | "Enragel Zoombie Fallout",
219 | "PUBG",
220 | "images/juega.jpg"),
221 | channelItem(
222 | 260,
223 | 300,
224 | "Ninja",
225 | "10.2k viewers",
226 | "images/cod-channel.jpeg",
227 | "For Your Self Event",
228 | "COD Mobile",
229 | "images/ninja.jpg"),
230 | ],
231 | ),
232 | )
233 | ]),
234 | );
235 | }
236 |
237 | gameItem(BuildContext context, double height, double width, String gameTitle,
238 | String views, String poster) {
239 | return GestureDetector(
240 | onTap: () {
241 | Navigator.push(
242 | context,
243 | MaterialPageRoute(
244 | builder: (context) => GameDetails(
245 | poster: poster,
246 | gameTitle: gameTitle,
247 | )),
248 | );
249 | },
250 | child: Container(
251 | height: height,
252 | width: width,
253 | margin: EdgeInsets.only(right: 20, bottom: 25, top: 25),
254 | child: Column(
255 | mainAxisAlignment: MainAxisAlignment.start,
256 | crossAxisAlignment: CrossAxisAlignment.start,
257 | children: [
258 | Container(
259 | width: width,
260 | height: height - (height / 4.5),
261 | decoration: BoxDecoration(
262 | borderRadius: BorderRadius.only(
263 | topLeft: Radius.circular(10),
264 | topRight: Radius.circular(10)),
265 | image: DecorationImage(
266 | image: AssetImage(poster),
267 | alignment: Alignment.center,
268 | fit: BoxFit.cover))),
269 | Container(
270 | margin: EdgeInsets.only(top: 8, left: 10),
271 | child: Text(
272 | gameTitle,
273 | style: TextStyle(
274 | color: Colors.white,
275 | fontWeight: FontWeight.w500,
276 | fontSize: 16),
277 | ),
278 | ),
279 | Container(
280 | margin: EdgeInsets.only(left: 10, top: 3),
281 | child: Row(
282 | children: [
283 | Icon(
284 | MaterialCommunityIcons.eye,
285 | color: Colors.white,
286 | size: 15,
287 | ),
288 | Container(
289 | margin: EdgeInsets.only(left: 5),
290 | child: Text(
291 | views,
292 | style:
293 | TextStyle(color: Color(0xffbdc8ff), fontSize: 12),
294 | ),
295 | )
296 | ],
297 | ),
298 | )
299 | ],
300 | ),
301 | decoration: BoxDecoration(
302 | color: Color(0xff516aff),
303 | borderRadius: BorderRadius.circular(10),
304 | boxShadow: [
305 | BoxShadow(
306 | offset: Offset(0, 0),
307 | blurRadius: 30,
308 | spreadRadius: 5,
309 | color: Color.fromRGBO(0, 0, 0, .05))
310 | ]),
311 | ));
312 | }
313 |
314 | channelItem(double height, double width, String channelName, String views,
315 | String poster, String desc, String gametitle, String profilePic) {
316 | return Container(
317 | height: height,
318 | width: width,
319 | margin: EdgeInsets.only(right: 20, bottom: 25, top: 25),
320 | child: Column(
321 | mainAxisAlignment: MainAxisAlignment.start,
322 | crossAxisAlignment: CrossAxisAlignment.start,
323 | children: [
324 | Stack(
325 | children: [
326 | Container(
327 | width: width,
328 | height: height - (height / 4.5),
329 | decoration: BoxDecoration(
330 | borderRadius: BorderRadius.only(
331 | topLeft: Radius.circular(10),
332 | topRight: Radius.circular(10)),
333 | image: DecorationImage(
334 | image: AssetImage(poster),
335 | alignment: Alignment.center,
336 | fit: BoxFit.cover))),
337 | Positioned(
338 | bottom: 10,
339 | left: 0,
340 | child: Container(
341 | padding: EdgeInsets.symmetric(horizontal: 5, vertical: 2),
342 | decoration: BoxDecoration(
343 | color: Colors.black.withAlpha(80),
344 | borderRadius: BorderRadius.circular(50),
345 | ),
346 | margin: EdgeInsets.only(left: 10, top: 1),
347 | child: Row(
348 | children: [
349 | Container(
350 | width: 8,
351 | height: 8,
352 | decoration: BoxDecoration(
353 | borderRadius: BorderRadius.circular(10),
354 | color: Colors.orange),
355 | ),
356 | Container(
357 | margin: EdgeInsets.only(left: 5),
358 | child: Text(
359 | views,
360 | style: TextStyle(color: Colors.white, fontSize: 12),
361 | ),
362 | )
363 | ],
364 | ),
365 | ),
366 | )
367 | ],
368 | ),
369 | Row(
370 | crossAxisAlignment: CrossAxisAlignment.center,
371 | children: [
372 | avatarHead2(profilePic),
373 | Column(
374 | mainAxisAlignment: MainAxisAlignment.start,
375 | crossAxisAlignment: CrossAxisAlignment.start,
376 | children: [
377 | Container(
378 | margin: EdgeInsets.only(top: 10, left: 10),
379 | child: Text(
380 | channelName,
381 | style: TextStyle(
382 | color: Colors.white,
383 | fontWeight: FontWeight.w500,
384 | fontSize: 14),
385 | ),
386 | ),
387 | Container(
388 | margin: EdgeInsets.only(top: 1, left: 10),
389 | child: Text(
390 | desc,
391 | style: TextStyle(
392 | color: Color.fromRGBO(255, 255, 255, .9),
393 | fontSize: 12),
394 | ),
395 | ),
396 | Container(
397 | margin: EdgeInsets.only(left: 10, top: 1),
398 | child: Row(
399 | children: [
400 | Container(
401 | width: 8,
402 | height: 8,
403 | decoration: BoxDecoration(
404 | borderRadius: BorderRadius.circular(10),
405 | color: Colors.white.withAlpha(100)),
406 | ),
407 | Container(
408 | margin: EdgeInsets.only(left: 5),
409 | child: Text(
410 | gametitle,
411 | style: TextStyle(
412 | color: Color(0xffbdc8ff), fontSize: 12),
413 | ),
414 | )
415 | ],
416 | ),
417 | )
418 | ],
419 | )
420 | ],
421 | )
422 | ],
423 | ),
424 | decoration: BoxDecoration(
425 | color: Color(0xff516aff),
426 | borderRadius: BorderRadius.circular(10),
427 | boxShadow: [
428 | BoxShadow(
429 | offset: Offset(0, 0),
430 | blurRadius: 30,
431 | spreadRadius: 5,
432 | color: Color.fromRGBO(0, 0, 0, .05))
433 | ]),
434 | );
435 | }
436 |
437 | avatarHead2(String imgPath) {
438 | return Container(
439 | height: 40,
440 | width: 40,
441 | margin: EdgeInsets.only(left: 10, right: 5, top: 5),
442 | decoration: BoxDecoration(
443 | borderRadius: BorderRadius.circular(50),
444 | image:
445 | DecorationImage(image: AssetImage(imgPath), fit: BoxFit.cover)),
446 | );
447 | }
448 | }
449 |
--------------------------------------------------------------------------------
/lib/shared/fryo_icons.dart:
--------------------------------------------------------------------------------
1 | /// Flutter icons Fryo
2 | /// Copyright (C) 2019 by original authors @ fluttericon.com, fontello.com
3 | /// This font was generated by FlutterIcon.com, which is derived from Fontello.
4 | ///
5 | /// To use this font, place it in your fonts/ directory and include the
6 | /// following in your pubspec.yaml
7 | ///
8 | /// flutter:
9 | /// fonts:
10 | /// - family: Fryo
11 | /// fonts:
12 | /// - asset: fonts/Fryo.ttf
13 | ///
14 | ///
15 | /// * Linecons, Copyright (C) 2013 by Designmodo
16 | /// Author: Designmodo for Smashing Magazine
17 | /// License: CC BY ()
18 | /// Homepage: http://designmodo.com/linecons-free/
19 | /// * Linearicons Free, Copyright (C) Linearicons.com
20 | /// Author: Perxis
21 | /// License: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)
22 | /// Homepage: https://linearicons.com
23 | ///
24 | import 'package:flutter/widgets.dart';
25 |
26 | class Fryo {
27 | Fryo._();
28 |
29 | static const _kFontFam = 'Fryo';
30 |
31 | static const IconData music = const IconData(0xe800, fontFamily: _kFontFam);
32 | static const IconData search = const IconData(0xe801, fontFamily: _kFontFam);
33 | static const IconData magic_wand = const IconData(0xe802, fontFamily: _kFontFam);
34 | static const IconData mail = const IconData(0xe803, fontFamily: _kFontFam);
35 | static const IconData heart = const IconData(0xe804, fontFamily: _kFontFam);
36 | static const IconData star = const IconData(0xe805, fontFamily: _kFontFam);
37 | static const IconData user = const IconData(0xe806, fontFamily: _kFontFam);
38 | static const IconData videocam = const IconData(0xe807, fontFamily: _kFontFam);
39 | static const IconData camera = const IconData(0xe808, fontFamily: _kFontFam);
40 | static const IconData photo = const IconData(0xe809, fontFamily: _kFontFam);
41 | static const IconData attach = const IconData(0xe80a, fontFamily: _kFontFam);
42 | static const IconData lock = const IconData(0xe80b, fontFamily: _kFontFam);
43 | static const IconData eye = const IconData(0xe80c, fontFamily: _kFontFam);
44 | static const IconData tag = const IconData(0xe80d, fontFamily: _kFontFam);
45 | static const IconData thumbs_up = const IconData(0xe80e, fontFamily: _kFontFam);
46 | static const IconData pencil_1 = const IconData(0xe80f, fontFamily: _kFontFam);
47 | static const IconData comment = const IconData(0xe810, fontFamily: _kFontFam);
48 | static const IconData location = const IconData(0xe811, fontFamily: _kFontFam);
49 | static const IconData cup = const IconData(0xe812, fontFamily: _kFontFam);
50 | static const IconData trash = const IconData(0xe813, fontFamily: _kFontFam);
51 | static const IconData doc = const IconData(0xe814, fontFamily: _kFontFam);
52 | static const IconData note = const IconData(0xe815, fontFamily: _kFontFam);
53 | static const IconData cog = const IconData(0xe816, fontFamily: _kFontFam);
54 | static const IconData params = const IconData(0xe817, fontFamily: _kFontFam);
55 | static const IconData calendar = const IconData(0xe818, fontFamily: _kFontFam);
56 | static const IconData sound = const IconData(0xe819, fontFamily: _kFontFam);
57 | static const IconData clock = const IconData(0xe81a, fontFamily: _kFontFam);
58 | static const IconData lightbulb = const IconData(0xe81b, fontFamily: _kFontFam);
59 | static const IconData tv = const IconData(0xe81c, fontFamily: _kFontFam);
60 | static const IconData desktop = const IconData(0xe81d, fontFamily: _kFontFam);
61 | static const IconData mobile = const IconData(0xe81e, fontFamily: _kFontFam);
62 | static const IconData cd = const IconData(0xe81f, fontFamily: _kFontFam);
63 | static const IconData inbox = const IconData(0xe820, fontFamily: _kFontFam);
64 | static const IconData globe = const IconData(0xe821, fontFamily: _kFontFam);
65 | static const IconData cloud = const IconData(0xe822, fontFamily: _kFontFam);
66 | static const IconData paper_plane = const IconData(0xe823, fontFamily: _kFontFam);
67 | static const IconData fire = const IconData(0xe824, fontFamily: _kFontFam);
68 | static const IconData graduation_cap = const IconData(0xe825, fontFamily: _kFontFam);
69 | static const IconData megaphone = const IconData(0xe826, fontFamily: _kFontFam);
70 | static const IconData database = const IconData(0xe827, fontFamily: _kFontFam);
71 | static const IconData key = const IconData(0xe828, fontFamily: _kFontFam);
72 | static const IconData beaker = const IconData(0xe829, fontFamily: _kFontFam);
73 | static const IconData truck = const IconData(0xe82a, fontFamily: _kFontFam);
74 | static const IconData money = const IconData(0xe82b, fontFamily: _kFontFam);
75 | static const IconData food = const IconData(0xe82c, fontFamily: _kFontFam);
76 | static const IconData shop = const IconData(0xe82d, fontFamily: _kFontFam);
77 | static const IconData diamond_1 = const IconData(0xe82e, fontFamily: _kFontFam);
78 | static const IconData t_shirt = const IconData(0xe82f, fontFamily: _kFontFam);
79 | static const IconData wallet = const IconData(0xe830, fontFamily: _kFontFam);
80 | static const IconData home = const IconData(0xe831, fontFamily: _kFontFam);
81 | static const IconData apartment = const IconData(0xe832, fontFamily: _kFontFam);
82 | static const IconData drop = const IconData(0xe833, fontFamily: _kFontFam);
83 | static const IconData lighter = const IconData(0xe834, fontFamily: _kFontFam);
84 | static const IconData poop = const IconData(0xe835, fontFamily: _kFontFam);
85 | static const IconData sun = const IconData(0xe836, fontFamily: _kFontFam);
86 | static const IconData moon = const IconData(0xe837, fontFamily: _kFontFam);
87 | static const IconData cloud_1 = const IconData(0xe838, fontFamily: _kFontFam);
88 | static const IconData cloud_upload = const IconData(0xe839, fontFamily: _kFontFam);
89 | static const IconData cloud_download = const IconData(0xe83a, fontFamily: _kFontFam);
90 | static const IconData cloud_sync = const IconData(0xe83b, fontFamily: _kFontFam);
91 | static const IconData cloud_check = const IconData(0xe83c, fontFamily: _kFontFam);
92 | static const IconData database_1 = const IconData(0xe83d, fontFamily: _kFontFam);
93 | static const IconData lock_1 = const IconData(0xe83e, fontFamily: _kFontFam);
94 | static const IconData cog_1 = const IconData(0xe83f, fontFamily: _kFontFam);
95 | static const IconData trash_1 = const IconData(0xe840, fontFamily: _kFontFam);
96 | static const IconData dice = const IconData(0xe841, fontFamily: _kFontFam);
97 | static const IconData heart_1 = const IconData(0xe842, fontFamily: _kFontFam);
98 | static const IconData coffee_cup = const IconData(0xe843, fontFamily: _kFontFam);
99 | static const IconData leaf = const IconData(0xe844, fontFamily: _kFontFam);
100 | static const IconData paw = const IconData(0xe845, fontFamily: _kFontFam);
101 | static const IconData rocket = const IconData(0xe846, fontFamily: _kFontFam);
102 | static const IconData briefcase = const IconData(0xe847, fontFamily: _kFontFam);
103 | static const IconData star_1 = const IconData(0xe848, fontFamily: _kFontFam);
104 | static const IconData star_half = const IconData(0xe849, fontFamily: _kFontFam);
105 | static const IconData star_empty = const IconData(0xe84a, fontFamily: _kFontFam);
106 | static const IconData flag = const IconData(0xe84b, fontFamily: _kFontFam);
107 | static const IconData envelope = const IconData(0xe84c, fontFamily: _kFontFam);
108 | static const IconData paperclip = const IconData(0xe84d, fontFamily: _kFontFam);
109 | static const IconData inbox_1 = const IconData(0xe84e, fontFamily: _kFontFam);
110 | static const IconData eye_1 = const IconData(0xe84f, fontFamily: _kFontFam);
111 | static const IconData printer = const IconData(0xe850, fontFamily: _kFontFam);
112 | static const IconData file_empty = const IconData(0xe851, fontFamily: _kFontFam);
113 | static const IconData file_add = const IconData(0xe852, fontFamily: _kFontFam);
114 | static const IconData enter = const IconData(0xe853, fontFamily: _kFontFam);
115 | static const IconData sad = const IconData(0xe854, fontFamily: _kFontFam);
116 | static const IconData exit = const IconData(0xe855, fontFamily: _kFontFam);
117 | static const IconData graduation_hat = const IconData(0xe856, fontFamily: _kFontFam);
118 | static const IconData license = const IconData(0xe857, fontFamily: _kFontFam);
119 | static const IconData music_note = const IconData(0xe858, fontFamily: _kFontFam);
120 | static const IconData film_play = const IconData(0xe859, fontFamily: _kFontFam);
121 | static const IconData camera_video = const IconData(0xe85a, fontFamily: _kFontFam);
122 | static const IconData camera_1 = const IconData(0xe85b, fontFamily: _kFontFam);
123 | static const IconData picture = const IconData(0xe85c, fontFamily: _kFontFam);
124 | static const IconData book = const IconData(0xe85d, fontFamily: _kFontFam);
125 | static const IconData bookmark = const IconData(0xe85e, fontFamily: _kFontFam);
126 | static const IconData user_1 = const IconData(0xe85f, fontFamily: _kFontFam);
127 | static const IconData users = const IconData(0xe860, fontFamily: _kFontFam);
128 | static const IconData shirt = const IconData(0xe861, fontFamily: _kFontFam);
129 | static const IconData store = const IconData(0xe862, fontFamily: _kFontFam);
130 | static const IconData cart = const IconData(0xe863, fontFamily: _kFontFam);
131 | static const IconData tag_1 = const IconData(0xe864, fontFamily: _kFontFam);
132 | static const IconData phone_handset = const IconData(0xe865, fontFamily: _kFontFam);
133 | static const IconData phone = const IconData(0xe866, fontFamily: _kFontFam);
134 | static const IconData pushpin = const IconData(0xe867, fontFamily: _kFontFam);
135 | static const IconData map_marker = const IconData(0xe868, fontFamily: _kFontFam);
136 | static const IconData map = const IconData(0xe869, fontFamily: _kFontFam);
137 | static const IconData location_1 = const IconData(0xe86a, fontFamily: _kFontFam);
138 | static const IconData calendar_full = const IconData(0xe86b, fontFamily: _kFontFam);
139 | static const IconData keyboard = const IconData(0xe86c, fontFamily: _kFontFam);
140 | static const IconData spell_check = const IconData(0xe86d, fontFamily: _kFontFam);
141 | static const IconData screen = const IconData(0xe86e, fontFamily: _kFontFam);
142 | static const IconData smartphone = const IconData(0xe86f, fontFamily: _kFontFam);
143 | static const IconData tablet = const IconData(0xe870, fontFamily: _kFontFam);
144 | static const IconData laptop = const IconData(0xe871, fontFamily: _kFontFam);
145 | static const IconData laptop_phone = const IconData(0xe872, fontFamily: _kFontFam);
146 | static const IconData power_swtich = const IconData(0xe873, fontFamily: _kFontFam);
147 | static const IconData lnr_bubble = const IconData(0xe874, fontFamily: _kFontFam);
148 | static const IconData heart_pulse = const IconData(0xe875, fontFamily: _kFontFam);
149 | static const IconData construction = const IconData(0xe876, fontFamily: _kFontFam);
150 | static const IconData pie_chart = const IconData(0xe877, fontFamily: _kFontFam);
151 | static const IconData bus = const IconData(0xe878, fontFamily: _kFontFam);
152 | static const IconData car = const IconData(0xe879, fontFamily: _kFontFam);
153 | static const IconData train = const IconData(0xe87a, fontFamily: _kFontFam);
154 | static const IconData bicycle = const IconData(0xe87b, fontFamily: _kFontFam);
155 | static const IconData wheelchair = const IconData(0xe87c, fontFamily: _kFontFam);
156 | static const IconData select = const IconData(0xe87d, fontFamily: _kFontFam);
157 | static const IconData earth = const IconData(0xe87e, fontFamily: _kFontFam);
158 | static const IconData neutral = const IconData(0xe87f, fontFamily: _kFontFam);
159 | static const IconData mustache = const IconData(0xe880, fontFamily: _kFontFam);
160 | static const IconData alarm = const IconData(0xe881, fontFamily: _kFontFam);
161 | static const IconData bullhorn = const IconData(0xe882, fontFamily: _kFontFam);
162 | static const IconData volume_high = const IconData(0xe883, fontFamily: _kFontFam);
163 | static const IconData volume_medium = const IconData(0xe884, fontFamily: _kFontFam);
164 | static const IconData volume_low = const IconData(0xe885, fontFamily: _kFontFam);
165 | static const IconData volume = const IconData(0xe886, fontFamily: _kFontFam);
166 | static const IconData mic = const IconData(0xe887, fontFamily: _kFontFam);
167 | static const IconData hourglass = const IconData(0xe888, fontFamily: _kFontFam);
168 | static const IconData undo = const IconData(0xe889, fontFamily: _kFontFam);
169 | static const IconData redo = const IconData(0xe88a, fontFamily: _kFontFam);
170 | static const IconData sync_icon = const IconData(0xe88b, fontFamily: _kFontFam);
171 | static const IconData history = const IconData(0xe88c, fontFamily: _kFontFam);
172 | static const IconData clock_1 = const IconData(0xe88d, fontFamily: _kFontFam);
173 | static const IconData download = const IconData(0xe88e, fontFamily: _kFontFam);
174 | static const IconData upload = const IconData(0xe88f, fontFamily: _kFontFam);
175 | static const IconData enter_down = const IconData(0xe890, fontFamily: _kFontFam);
176 | static const IconData exit_up = const IconData(0xe891, fontFamily: _kFontFam);
177 | static const IconData bug = const IconData(0xe892, fontFamily: _kFontFam);
178 | static const IconData code = const IconData(0xe893, fontFamily: _kFontFam);
179 | static const IconData link = const IconData(0xe894, fontFamily: _kFontFam);
180 | static const IconData unlink = const IconData(0xe895, fontFamily: _kFontFam);
181 | static const IconData thumbs_up_1 = const IconData(0xe896, fontFamily: _kFontFam);
182 | static const IconData thumbs_down = const IconData(0xe897, fontFamily: _kFontFam);
183 | static const IconData magnifier = const IconData(0xe898, fontFamily: _kFontFam);
184 | static const IconData cross = const IconData(0xe899, fontFamily: _kFontFam);
185 | static const IconData menu = const IconData(0xe89a, fontFamily: _kFontFam);
186 | static const IconData list = const IconData(0xe89b, fontFamily: _kFontFam);
187 | static const IconData chevron_up = const IconData(0xe89c, fontFamily: _kFontFam);
188 | static const IconData chevron_down = const IconData(0xe89d, fontFamily: _kFontFam);
189 | static const IconData chevron_left = const IconData(0xe89e, fontFamily: _kFontFam);
190 | static const IconData chevron_right = const IconData(0xe89f, fontFamily: _kFontFam);
191 | static const IconData arrow_up = const IconData(0xe8a0, fontFamily: _kFontFam);
192 | static const IconData arrow_down = const IconData(0xe8a1, fontFamily: _kFontFam);
193 | static const IconData arrow_left = const IconData(0xe8a2, fontFamily: _kFontFam);
194 | static const IconData arrow_right = const IconData(0xe8a3, fontFamily: _kFontFam);
195 | static const IconData move = const IconData(0xe8a4, fontFamily: _kFontFam);
196 | static const IconData warning = const IconData(0xe8a5, fontFamily: _kFontFam);
197 | static const IconData question_circle = const IconData(0xe8a6, fontFamily: _kFontFam);
198 | static const IconData menu_circle = const IconData(0xe8a7, fontFamily: _kFontFam);
199 | static const IconData checkmark_cicle = const IconData(0xe8a8, fontFamily: _kFontFam);
200 | static const IconData cross_circle = const IconData(0xe8a9, fontFamily: _kFontFam);
201 | static const IconData plus_circle = const IconData(0xe8aa, fontFamily: _kFontFam);
202 | static const IconData circle_minus = const IconData(0xe8ab, fontFamily: _kFontFam);
203 | static const IconData arrow_up_circle = const IconData(0xe8ac, fontFamily: _kFontFam);
204 | static const IconData arrow_down_circle = const IconData(0xe8ad, fontFamily: _kFontFam);
205 | static const IconData arrow_left_circle = const IconData(0xe8ae, fontFamily: _kFontFam);
206 | static const IconData arrow_right_circle = const IconData(0xe8af, fontFamily: _kFontFam);
207 | static const IconData chevron_up_circle = const IconData(0xe8b0, fontFamily: _kFontFam);
208 | static const IconData chevron_down_circle = const IconData(0xe8b1, fontFamily: _kFontFam);
209 | static const IconData chevron_left_circle = const IconData(0xe8b2, fontFamily: _kFontFam);
210 | static const IconData chevron_right_circle = const IconData(0xe8b3, fontFamily: _kFontFam);
211 | static const IconData crop = const IconData(0xe8b4, fontFamily: _kFontFam);
212 | static const IconData frame_expand = const IconData(0xe8b5, fontFamily: _kFontFam);
213 | static const IconData frame_contract = const IconData(0xe8b6, fontFamily: _kFontFam);
214 | static const IconData layers = const IconData(0xe8b7, fontFamily: _kFontFam);
215 | static const IconData funnel = const IconData(0xe8b8, fontFamily: _kFontFam);
216 | static const IconData text_format = const IconData(0xe8b9, fontFamily: _kFontFam);
217 | static const IconData text_format_remove = const IconData(0xe8ba, fontFamily: _kFontFam);
218 | static const IconData text_size = const IconData(0xe8bb, fontFamily: _kFontFam);
219 | static const IconData bold = const IconData(0xe8bc, fontFamily: _kFontFam);
220 | static const IconData italic = const IconData(0xe8bd, fontFamily: _kFontFam);
221 | static const IconData underline = const IconData(0xe8be, fontFamily: _kFontFam);
222 | static const IconData strikethrough = const IconData(0xe8bf, fontFamily: _kFontFam);
223 | static const IconData highlight = const IconData(0xe8c0, fontFamily: _kFontFam);
224 | static const IconData text_align_left = const IconData(0xe8c1, fontFamily: _kFontFam);
225 | static const IconData text_align_center = const IconData(0xe8c2, fontFamily: _kFontFam);
226 | static const IconData text_align_right = const IconData(0xe8c3, fontFamily: _kFontFam);
227 | static const IconData text_align_justify = const IconData(0xe8c4, fontFamily: _kFontFam);
228 | static const IconData line_spacing = const IconData(0xe8c5, fontFamily: _kFontFam);
229 | static const IconData indent_increase = const IconData(0xe8c6, fontFamily: _kFontFam);
230 | static const IconData indent_decrease = const IconData(0xe8c7, fontFamily: _kFontFam);
231 | static const IconData pilcrow = const IconData(0xe8c8, fontFamily: _kFontFam);
232 | static const IconData direction_ltr = const IconData(0xe8c9, fontFamily: _kFontFam);
233 | static const IconData direction_rtl = const IconData(0xe8ca, fontFamily: _kFontFam);
234 | static const IconData page_break = const IconData(0xe8cb, fontFamily: _kFontFam);
235 | static const IconData sort_alpha_asc = const IconData(0xe8cc, fontFamily: _kFontFam);
236 | static const IconData sort_amount_asc = const IconData(0xe8cd, fontFamily: _kFontFam);
237 | static const IconData hand = const IconData(0xe8ce, fontFamily: _kFontFam);
238 | static const IconData pointer_up = const IconData(0xe8cf, fontFamily: _kFontFam);
239 | static const IconData pointer_right = const IconData(0xe8d0, fontFamily: _kFontFam);
240 | static const IconData pointer_down = const IconData(0xe8d1, fontFamily: _kFontFam);
241 | static const IconData pointer_left = const IconData(0xe8d2, fontFamily: _kFontFam);
242 | static const IconData dinner = const IconData(0xe8d3, fontFamily: _kFontFam);
243 | static const IconData diamond = const IconData(0xe8d4, fontFamily: _kFontFam);
244 | static const IconData chart_bars = const IconData(0xe8d5, fontFamily: _kFontFam);
245 | static const IconData gift = const IconData(0xe8d6, fontFamily: _kFontFam);
246 | static const IconData linearicons = const IconData(0xe8d7, fontFamily: _kFontFam);
247 | static const IconData smile = const IconData(0xe8d8, fontFamily: _kFontFam);
248 | static const IconData pencil = const IconData(0xe8d9, fontFamily: _kFontFam);
249 | }
250 |
--------------------------------------------------------------------------------
/lib/shared/styles.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | TextStyle taglineStyle = TextStyle(
3 | color: Colors.white,
4 | fontSize: 40,
5 | fontWeight: FontWeight.w900
6 | );
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | archive:
5 | dependency: transitive
6 | description:
7 | name: archive
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.0.11"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.5.2"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.4.0"
25 | boolean_selector:
26 | dependency: transitive
27 | description:
28 | name: boolean_selector
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.0.5"
32 | charcode:
33 | dependency: transitive
34 | description:
35 | name: charcode
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.1.2"
39 | collection:
40 | dependency: transitive
41 | description:
42 | name: collection
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.14.11"
46 | convert:
47 | dependency: transitive
48 | description:
49 | name: convert
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "2.1.1"
53 | crypto:
54 | dependency: transitive
55 | description:
56 | name: crypto
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "2.1.3"
60 | cupertino_icons:
61 | dependency: "direct main"
62 | description:
63 | name: cupertino_icons
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "0.1.2"
67 | flutter:
68 | dependency: "direct main"
69 | description: flutter
70 | source: sdk
71 | version: "0.0.0"
72 | flutter_icons:
73 | dependency: "direct main"
74 | description:
75 | name: flutter_icons
76 | url: "https://pub.dartlang.org"
77 | source: hosted
78 | version: "1.0.0+1"
79 | flutter_test:
80 | dependency: "direct dev"
81 | description: flutter
82 | source: sdk
83 | version: "0.0.0"
84 | image:
85 | dependency: transitive
86 | description:
87 | name: image
88 | url: "https://pub.dartlang.org"
89 | source: hosted
90 | version: "2.1.4"
91 | matcher:
92 | dependency: transitive
93 | description:
94 | name: matcher
95 | url: "https://pub.dartlang.org"
96 | source: hosted
97 | version: "0.12.6"
98 | meta:
99 | dependency: transitive
100 | description:
101 | name: meta
102 | url: "https://pub.dartlang.org"
103 | source: hosted
104 | version: "1.1.8"
105 | path:
106 | dependency: transitive
107 | description:
108 | name: path
109 | url: "https://pub.dartlang.org"
110 | source: hosted
111 | version: "1.6.4"
112 | pedantic:
113 | dependency: transitive
114 | description:
115 | name: pedantic
116 | url: "https://pub.dartlang.org"
117 | source: hosted
118 | version: "1.8.0+1"
119 | petitparser:
120 | dependency: transitive
121 | description:
122 | name: petitparser
123 | url: "https://pub.dartlang.org"
124 | source: hosted
125 | version: "2.4.0"
126 | quiver:
127 | dependency: transitive
128 | description:
129 | name: quiver
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "2.0.5"
133 | sky_engine:
134 | dependency: transitive
135 | description: flutter
136 | source: sdk
137 | version: "0.0.99"
138 | source_span:
139 | dependency: transitive
140 | description:
141 | name: source_span
142 | url: "https://pub.dartlang.org"
143 | source: hosted
144 | version: "1.5.5"
145 | stack_trace:
146 | dependency: transitive
147 | description:
148 | name: stack_trace
149 | url: "https://pub.dartlang.org"
150 | source: hosted
151 | version: "1.9.3"
152 | stream_channel:
153 | dependency: transitive
154 | description:
155 | name: stream_channel
156 | url: "https://pub.dartlang.org"
157 | source: hosted
158 | version: "2.0.0"
159 | string_scanner:
160 | dependency: transitive
161 | description:
162 | name: string_scanner
163 | url: "https://pub.dartlang.org"
164 | source: hosted
165 | version: "1.0.5"
166 | term_glyph:
167 | dependency: transitive
168 | description:
169 | name: term_glyph
170 | url: "https://pub.dartlang.org"
171 | source: hosted
172 | version: "1.1.0"
173 | test_api:
174 | dependency: transitive
175 | description:
176 | name: test_api
177 | url: "https://pub.dartlang.org"
178 | source: hosted
179 | version: "0.2.11"
180 | typed_data:
181 | dependency: transitive
182 | description:
183 | name: typed_data
184 | url: "https://pub.dartlang.org"
185 | source: hosted
186 | version: "1.1.6"
187 | vector_math:
188 | dependency: transitive
189 | description:
190 | name: vector_math
191 | url: "https://pub.dartlang.org"
192 | source: hosted
193 | version: "2.0.8"
194 | xml:
195 | dependency: transitive
196 | description:
197 | name: xml
198 | url: "https://pub.dartlang.org"
199 | source: hosted
200 | version: "3.5.0"
201 | sdks:
202 | dart: ">=2.4.0 <3.0.0"
203 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: gamesapp
2 | description: A new Flutter project.
3 |
4 | # The following defines the version and build number for your application.
5 | # A version number is three numbers separated by dots, like 1.2.43
6 | # followed by an optional build number separated by a +.
7 | # Both the version and the builder number may be overridden in flutter
8 | # build by specifying --build-name and --build-number, respectively.
9 | # In Android, build-name is used as versionName while build-number used as versionCode.
10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12 | # Read more about iOS versioning at
13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14 | version: 1.0.0+1
15 |
16 | environment:
17 | sdk: ">=2.1.0 <3.0.0"
18 |
19 | dependencies:
20 | flutter_icons: ^1.0.0+1
21 | flutter:
22 | sdk: flutter
23 |
24 | # The following adds the Cupertino Icons font to your application.
25 | # Use with the CupertinoIcons class for iOS style icons.
26 | cupertino_icons: ^0.1.2
27 |
28 | dev_dependencies:
29 | flutter_test:
30 | sdk: flutter
31 |
32 | # For information on the generic Dart part of this file, see the
33 | # following page: https://www.dartlang.org/tools/pub/pubspec
34 |
35 | # The following section is specific to Flutter.
36 | flutter:
37 | # The following line ensures that the Material Icons font is
38 | # included with your application, so that you can use the icons in
39 | # the material Icons class.
40 | uses-material-design: true
41 |
42 | # To add assets to your application, add an assets section, like this:
43 | assets:
44 | - images/
45 |
46 | # An image asset can refer to one or more resolution-specific "variants", see
47 | # https://flutter.io/assets-and-images/#resolution-aware.
48 |
49 | # For details regarding adding assets from package dependencies, see
50 | # https://flutter.io/assets-and-images/#from-packages
51 |
52 | # To add custom fonts to your application, add a fonts section here,
53 | # in this "flutter" section. Each entry in this list should have a
54 | # "family" key with the font family name, and a "fonts" key with a
55 | # list giving the asset and other descriptors for the font. For
56 | # example:
57 | fonts:
58 | - family: Fryo
59 | fonts:
60 | - asset: fonts/Fryo.ttf
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 |
--------------------------------------------------------------------------------
/screenshots/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/screenshots/1.png
--------------------------------------------------------------------------------
/screenshots/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/screenshots/2.png
--------------------------------------------------------------------------------
/screenshots/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/screenshots/3.png
--------------------------------------------------------------------------------
/screenshots/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahkohd/FlutterGamingApp/dd82cc912f7c9997d83d4a4ec1efeff861134a1e/screenshots/4.png
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:gamesapp/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------