diff --git a/.metadata b/.metadata new file mode 100644 index 0000000000000000000000000000000000000000..166a9984ca13c49037f805d6b6151d49b820d1d4 --- /dev/null +++ b/.metadata @@ -0,0 +1,10 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: c860cba910319332564e1e9d470a17074c1f2dfd + channel: stable + +project_type: app diff --git a/README.md b/README.md index a71487a8670196b6fed160c715db825f579e78c4..b361302ee01558f656bb1ab60c3ffa933720b6bb 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ ---- -title: BookingApp -emoji: 🏃 -colorFrom: gray -colorTo: red -sdk: streamlit -sdk_version: 1.15.2 -app_file: app.py -pinned: false ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +# hello_world + +A new Flutter project created with https://flutlab.io + +## Getting Started + +This project is a starting point for a Flutter application. + +A few resources to get you started if this is your first Flutter project: + +- https://flutter.dev/docs/get-started/codelab +- https://flutter.dev/docs/cookbook + +For help getting started with Flutter, view our +https://flutter.dev/docs, which offers tutorials, +samples, guidance on mobile development, and a full API reference. + +## Getting Started: FlutLab - Flutter Online IDE + +- How to use FlutLab? Please, view our https://flutlab.io/docs +- Discover a marketplace of ready-to-use Flutter projects https://flutlab.io/widgetbay +- Join the discussion and conversation on https://flutlab.io/residents + +If you have some questions regarding FlutLab, you can ask on https://flutlab.io/faq diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000000000000000000000000000000000000..61b6c4de17c96863d24279f06b85e01b6ebbdb34 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,29 @@ +# This file configures the analyzer, which statically analyzes Dart code to +# check for errors, warnings, and lints. +# +# The issues identified by the analyzer are surfaced in the UI of Dart-enabled +# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be +# invoked from the command line by running `flutter analyze`. + +# The following line activates a set of recommended lints for Flutter apps, +# packages, and plugins designed to encourage good coding practices. +include: package:flutter_lints/flutter.yaml + +linter: + # The lint rules applied to this project can be customized in the + # section below to disable rules from the `package:flutter_lints/flutter.yaml` + # included above or to enable additional rules. A list of all available lints + # and their documentation is published at + # https://dart-lang.github.io/linter/lints/index.html. + # + # Instead of disabling a lint rule for the entire project in the + # section below, it can also be suppressed for a single line of code + # or a specific dart file by using the `// ignore: name_of_lint` and + # `// ignore_for_file: name_of_lint` syntax on the line or in the file + # producing the lint. + rules: + # avoid_print: false # Uncomment to disable the `avoid_print` rule + # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/android/app/build.gradle b/android/app/build.gradle new file mode 100644 index 0000000000000000000000000000000000000000..00c2f11099e941223ecefb96c9ff45317b38de95 --- /dev/null +++ b/android/app/build.gradle @@ -0,0 +1,68 @@ +def localProperties = new Properties() +def localPropertiesFile = rootProject.file('local.properties') +if (localPropertiesFile.exists()) { + localPropertiesFile.withReader('UTF-8') { reader -> + localProperties.load(reader) + } +} + +def flutterRoot = localProperties.getProperty('flutter.sdk') +if (flutterRoot == null) { + throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") +} + +def flutterVersionCode = localProperties.getProperty('flutter.versionCode') +if (flutterVersionCode == null) { + flutterVersionCode = '1' +} + +def flutterVersionName = localProperties.getProperty('flutter.versionName') +if (flutterVersionName == null) { + flutterVersionName = '1.0' +} + +apply plugin: 'com.android.application' +apply plugin: 'kotlin-android' +apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" + +android { + compileSdkVersion flutter.compileSdkVersion + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' + } + + sourceSets { + main.java.srcDirs += 'src/main/kotlin' + } + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId "com.kaburacreates" + minSdkVersion flutter.minSdkVersion + targetSdkVersion flutter.targetSdkVersion + versionCode flutterVersionCode.toInteger() + versionName flutterVersionName + } + + buildTypes { + release { + // TODO: Add your own signing config for the release build. + // Signing with the debug keys for now, so `flutter run --release` works. + signingConfig signingConfigs.debug + } + } +} + +flutter { + source '../..' +} + +dependencies { + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" +} diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e221d817daf8b458505d86b7ae43c17086e70d9 --- /dev/null +++ b/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..77fea092990c354611f6cb14c0106014ec44d497 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java b/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java new file mode 100644 index 0000000000000000000000000000000000000000..539ab022f2119642b2f43980e37176e6e4ab05ff --- /dev/null +++ b/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java @@ -0,0 +1,19 @@ +package io.flutter.plugins; + +import androidx.annotation.Keep; +import androidx.annotation.NonNull; +import io.flutter.Log; + +import io.flutter.embedding.engine.FlutterEngine; + +/** + * Generated file. Do not edit. + * This file is generated by the Flutter tool based on the + * plugins that support the Android platform. + */ +@Keep +public final class GeneratedPluginRegistrant { + private static final String TAG = "GeneratedPluginRegistrant"; + public static void registerWith(@NonNull FlutterEngine flutterEngine) { + } +} diff --git a/android/app/src/main/kotlin/com/kaburacreates/MainActivity.kt b/android/app/src/main/kotlin/com/kaburacreates/MainActivity.kt new file mode 100644 index 0000000000000000000000000000000000000000..d6cfd25421638578f8f51e5e4afd54face9b3221 --- /dev/null +++ b/android/app/src/main/kotlin/com/kaburacreates/MainActivity.kt @@ -0,0 +1,6 @@ +package com.kaburacreates + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 0000000000000000000000000000000000000000..f74085f3f6a2b995f8ad1f9ff7b2c46dc118a9e0 --- /dev/null +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 0000000000000000000000000000000000000000..304732f8842013497e14bd02f67a55f2614fb8f7 --- /dev/null +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..db77bb4b7b0906d62b1847e87f15cdcacf6a4f29 Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..17987b79bb8a35cc66c3c1fd44f5a5526c1b78be Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..09d4391482be68e9e4a07fab769b5de337d16eb1 Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..d5f1c8d34e7a88e3f88bea192c3a370d44689c3c Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..4d6372eebdb28e45604e46eeda8dd24651419bc0 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000000000000000000000000000000000000..3db14bb5391f15a50272edf91d2e420f0e3da36a --- /dev/null +++ b/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000000000000000000000000000000000000..d460d1e9215b1a2d574b976403eec0381e8ad73d --- /dev/null +++ b/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e221d817daf8b458505d86b7ae43c17086e70d9 --- /dev/null +++ b/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/build.gradle b/android/build.gradle new file mode 100644 index 0000000000000000000000000000000000000000..4256f9173625d2b6c3810e1946a6d1ee138034d3 --- /dev/null +++ b/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.6.10' + repositories { + google() + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:4.1.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +allprojects { + repositories { + google() + mavenCentral() + } +} + +rootProject.buildDir = '../build' +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} +subprojects { + project.evaluationDependsOn(':app') +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 0000000000000000000000000000000000000000..94adc3a3f97aa8ae37ba567d080f94f95ee8f9b7 --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..13372aef5e24af05341d49695ee84e5f9b594659 Binary files /dev/null and b/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000000000000000000000000000000000..bc6a58afdda22a443c752eaae3d60c2480511a9f --- /dev/null +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Fri Jun 23 08:50:38 CEST 2017 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip diff --git a/android/gradlew b/android/gradlew new file mode 100644 index 0000000000000000000000000000000000000000..9d82f78915133e1c35a6ea51252590fb38efac2f --- /dev/null +++ b/android/gradlew @@ -0,0 +1,160 @@ +#!/usr/bin/env bash + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; +esac + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/android/gradlew.bat b/android/gradlew.bat new file mode 100644 index 0000000000000000000000000000000000000000..8a0b282aa6885fb573c106b3551f7275c5f17e8e --- /dev/null +++ b/android/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/android/hello_world_android.iml b/android/hello_world_android.iml new file mode 100644 index 0000000000000000000000000000000000000000..18999696a6a38a49db82f0985800071ee2884f24 --- /dev/null +++ b/android/hello_world_android.iml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 0000000000000000000000000000000000000000..44e62bcf06ae649ea809590f8a861059886502e8 --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,11 @@ +include ':app' + +def localPropertiesFile = new File(rootProject.projectDir, "local.properties") +def properties = new Properties() + +assert localPropertiesFile.exists() +localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } + +def flutterSdkPath = properties.getProperty("flutter.sdk") +assert flutterSdkPath != null, "flutter.sdk not set in local.properties" +apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/assets/images/img1.jpg b/assets/images/img1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..931da6e1db44d3acc63bd9777e1174575b7f5530 Binary files /dev/null and b/assets/images/img1.jpg differ diff --git a/assets/images/img2.jpg b/assets/images/img2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9f73791938a262c3af8e23d713156a50695dd614 Binary files /dev/null and b/assets/images/img2.jpg differ diff --git a/assets/images/img3.jpg b/assets/images/img3.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c649a6dbe9fb5676706e37e8f072d33f29575762 Binary files /dev/null and b/assets/images/img3.jpg differ diff --git a/assets/images/img4.jpg b/assets/images/img4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4863d932099f5bafc4bd3184c2d1b3a67aadafe2 Binary files /dev/null and b/assets/images/img4.jpg differ diff --git a/assets/images/img5.jpg b/assets/images/img5.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b73d41bc81a80463e76a72a2cc53078c6200f580 Binary files /dev/null and b/assets/images/img5.jpg differ diff --git a/assets/images/img6.jpg b/assets/images/img6.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0af8d6a13e58c5ea8f6066d4c66160948171a82e Binary files /dev/null and b/assets/images/img6.jpg differ diff --git a/assets/images/img7.jpg b/assets/images/img7.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b85ed451e51fce4fced4759923d35bfdfb3ef185 Binary files /dev/null and b/assets/images/img7.jpg differ diff --git a/assets/images/img8.jpg b/assets/images/img8.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b30577f09e9ae1c3dd7dcb889d4571f581cd2fa9 Binary files /dev/null and b/assets/images/img8.jpg differ diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 0000000000000000000000000000000000000000..8d4492f977adc7dd7a836405d4916e5c9c014536 --- /dev/null +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 9.0 + + diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig new file mode 100644 index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b --- /dev/null +++ b/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/ios/Flutter/Generated.xcconfig b/ios/Flutter/Generated.xcconfig new file mode 100644 index 0000000000000000000000000000000000000000..453982e771b4e0c7ef29cd1c88dbf00423e4099b --- /dev/null +++ b/ios/Flutter/Generated.xcconfig @@ -0,0 +1,13 @@ +// This is a generated file; do not edit or check into version control. +FLUTTER_ROOT=C:\Users\asus\AppData\Local\Android\FlutterSdk +FLUTTER_APPLICATION_PATH=C:\Users\asus\Desktop\new_codebases\hello_world +COCOAPODS_PARALLEL_CODE_SIGN=true +FLUTTER_TARGET=lib\main.dart +FLUTTER_BUILD_DIR=build +FLUTTER_BUILD_NAME=1.0.0 +FLUTTER_BUILD_NUMBER=1 +EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386 +DART_OBFUSCATION=false +TRACK_WIDGET_CREATION=false +TREE_SHAKE_ICONS=false +PACKAGE_CONFIG=.packages diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig new file mode 100644 index 0000000000000000000000000000000000000000..592ceee85b89bd111b779db6116b130509ab6d4b --- /dev/null +++ b/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh new file mode 100644 index 0000000000000000000000000000000000000000..e24849322703c076d3f0b4866ae4164e9af8f845 --- /dev/null +++ b/ios/Flutter/flutter_export_environment.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# This is a generated file; do not edit or check into version control. +export "FLUTTER_ROOT=C:\Users\asus\AppData\Local\Android\FlutterSdk" +export "FLUTTER_APPLICATION_PATH=C:\Users\asus\Desktop\new_codebases\hello_world" +export "COCOAPODS_PARALLEL_CODE_SIGN=true" +export "FLUTTER_TARGET=lib\main.dart" +export "FLUTTER_BUILD_DIR=build" +export "FLUTTER_BUILD_NAME=1.0.0" +export "FLUTTER_BUILD_NUMBER=1" +export "DART_OBFUSCATION=false" +export "TRACK_WIDGET_CREATION=false" +export "TREE_SHAKE_ICONS=false" +export "PACKAGE_CONFIG=.packages" diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 0000000000000000000000000000000000000000..8838de57c34c13a52f006fccce7b2777b62eb401 --- /dev/null +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,481 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 9705A1C41CF9048500538489 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; + 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; + 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 9740EEB11CF90186004384FC /* Flutter */ = { + isa = PBXGroup; + children = ( + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 9740EEB31CF90195004384FC /* Generated.xcconfig */, + ); + name = Flutter; + sourceTree = ""; + }; + 97C146E51CF9000F007C117D = { + isa = PBXGroup; + children = ( + 9740EEB11CF90186004384FC /* Flutter */, + 97C146F01CF9000F007C117D /* Runner */, + 97C146EF1CF9000F007C117D /* Products */, + ); + sourceTree = ""; + }; + 97C146EF1CF9000F007C117D /* Products */ = { + isa = PBXGroup; + children = ( + 97C146EE1CF9000F007C117D /* Runner.app */, + ); + name = Products; + sourceTree = ""; + }; + 97C146F01CF9000F007C117D /* Runner */ = { + isa = PBXGroup; + children = ( + 97C146FA1CF9000F007C117D /* Main.storyboard */, + 97C146FD1CF9000F007C117D /* Assets.xcassets */, + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, + 97C147021CF9000F007C117D /* Info.plist */, + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 97C146ED1CF9000F007C117D /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 9705A1C41CF9048500538489 /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Runner; + productName = Runner; + productReference = 97C146EE1CF9000F007C117D /* Runner.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 97C146E61CF9000F007C117D /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1300; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 97C146ED1CF9000F007C117D = { + CreatedOnToolsVersion = 7.3.1; + LastSwiftMigration = 1100; + }; + }; + }; + buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 97C146E51CF9000F007C117D; + productRefGroup = 97C146EF1CF9000F007C117D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 97C146ED1CF9000F007C117D /* Runner */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 97C146EC1CF9000F007C117D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Thin Binary"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 97C146EA1CF9000F007C117D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 97C146FA1CF9000F007C117D /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C146FB1CF9000F007C117D /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C147001CF9000F007C117D /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 249021D3217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.helloWorld; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Profile; + }; + 97C147031CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 97C147041CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 97C147061CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.helloWorld; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 97C147071CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.example.helloWorld; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147031CF9000F007C117D /* Debug */, + 97C147041CF9000F007C117D /* Release */, + 249021D3217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147061CF9000F007C117D /* Debug */, + 97C147071CF9000F007C117D /* Release */, + 249021D4217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 97C146E61CF9000F007C117D /* Project object */; +} diff --git a/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000000000000000000000000000000000..919434a6254f0e9651f402737811be6634a03e9c --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000000000000000000000000000000000000..f9b0d7c5ea15f194be85eb6ee8e6721a87ff4644 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 0000000000000000000000000000000000000000..c87d15a335208541da7c11961b0f6d5f6035512e --- /dev/null +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000000000000000000000000000000000..1d526a16ed0f1cd0c2409d848bf489b93fefa3b2 --- /dev/null +++ b/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000000000000000000000000000000000000..18d981003d68d0546c4804ac2ff47dd97c6e7921 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000000000000000000000000000000000000..f9b0d7c5ea15f194be85eb6ee8e6721a87ff4644 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift new file mode 100644 index 0000000000000000000000000000000000000000..70693e4a8c128fc4350b157416374ca599ac8c7b --- /dev/null +++ b/ios/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import UIKit +import Flutter + +@UIApplicationMain +@objc class AppDelegate: FlutterAppDelegate { + override func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + GeneratedPluginRegistrant.register(with: self) + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000000000000000000000000000000000000..d36b1fab2d9dea668a4f83df94d525897d9e68dd --- /dev/null +++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,122 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "Icon-App-20x20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-App-29x29@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-App-40x40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-App-60x60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@1x.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon-App-20x20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@1x.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-App-29x29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@1x.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-App-40x40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@1x.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-App-76x76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "Icon-App-83.5x83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "Icon-App-1024x1024@1x.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..dc9ada4725e9b0ddb1deab583e5b5102493aa332 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..28c6bf03016f6c994b70f38d1b7346e5831b531f Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..f091b6b0bca859a3f474b03065bef75ba58a9e4c Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..4cde12118dda48d71e01fcb589a74d069c5d7cb5 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d0ef06e7edb86cdfe0d15b4b0d98334a86163658 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..dcdc2306c28505ebc0b6c3a359c4d252bf626b9f Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..2ccbfd967d9697cd4b83225558af2911e9571c9b Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..c8f9ed8f5cee1c98386d13b17e89f719e83555b2 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..a6d6b8609df07bf62e5100a53a01510388bd2b22 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..75b2d164a5a98e212cca15ea7bf2ab5de5108680 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 0000000000000000000000000000000000000000..c4df70d39da7941ef3f6dcb7f06a192d8dcb308d Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..6a84f41e14e27f4b11f16f9ee39279ac98f8d5ac Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d0e1f58536026aebc4f1f70e481f6993c9ff088d Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 0000000000000000000000000000000000000000..0bedcf2fd46788ae3a01a423467513ff59b5c120 --- /dev/null +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchImage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..9da19eacad3b03bb08bbddbbf4ac48dd78b3d838 Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 0000000000000000000000000000000000000000..89c2725b70f1882be97f5214fafe22d27a0ec01e --- /dev/null +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -0,0 +1,5 @@ +# Launch Screen Assets + +You can customize the launch screen with your own desired assets by replacing the image files in this directory. + +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. \ No newline at end of file diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000000000000000000000000000000000000..f2e259c7c9390ff69a6bbe1e0907e6dc366848e7 --- /dev/null +++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Base.lproj/Main.storyboard b/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 0000000000000000000000000000000000000000..f3c28516fb38e64d88cfcf5fb1791175df078f2f --- /dev/null +++ b/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/GeneratedPluginRegistrant.h b/ios/Runner/GeneratedPluginRegistrant.h new file mode 100644 index 0000000000000000000000000000000000000000..7a890927193a6afc8964af7a04450db64a3ba4d9 --- /dev/null +++ b/ios/Runner/GeneratedPluginRegistrant.h @@ -0,0 +1,19 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#ifndef GeneratedPluginRegistrant_h +#define GeneratedPluginRegistrant_h + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface GeneratedPluginRegistrant : NSObject ++ (void)registerWithRegistry:(NSObject*)registry; +@end + +NS_ASSUME_NONNULL_END +#endif /* GeneratedPluginRegistrant_h */ diff --git a/ios/Runner/GeneratedPluginRegistrant.m b/ios/Runner/GeneratedPluginRegistrant.m new file mode 100644 index 0000000000000000000000000000000000000000..efe65ecccf693ff20ed7d92b7a75e0a67396dbfa --- /dev/null +++ b/ios/Runner/GeneratedPluginRegistrant.m @@ -0,0 +1,14 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#import "GeneratedPluginRegistrant.h" + +@implementation GeneratedPluginRegistrant + ++ (void)registerWithRegistry:(NSObject*)registry { +} + +@end diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..e87a7aef6cb4d9131f099d84f5c93200a491fb24 --- /dev/null +++ b/ios/Runner/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Hello World + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + kaburacreates +CFBundleDisplayName +bookingapplication + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 0000000000000000000000000000000000000000..308a2a560b42f17aaf3c36e4e9c8cd07182fbb7e --- /dev/null +++ b/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/lib/main.dart b/lib/main.dart new file mode 100644 index 0000000000000000000000000000000000000000..4ee353bc513bec1176b5fab10e3effeb0ac77750 --- /dev/null +++ b/lib/main.dart @@ -0,0 +1,26 @@ +import 'package:flutter/material.dart'; +import 'package:kaburacreates/screens/bottom_bar.dart'; +import 'package:kaburacreates/utils/app_styles.dart'; + +void main() => runApp(const MyApp()); + +class MyApp extends StatelessWidget { + const MyApp({Key? key}) : super(key: key); + + // This widget is the root of your application. + @override + Widget build(BuildContext context) { + return MaterialApp( + debugShowCheckedModeBanner: false, + // Application name + title: 'Flutter Hello World', + // Application theme data, you can set the colors for the application as + // you want + theme: ThemeData( + primaryColor: primary, + ), + // A widget which will be started on application startup + home: const BottomBar(), + ); + } +} diff --git a/lib/screens/bottom_bar.dart b/lib/screens/bottom_bar.dart new file mode 100644 index 0000000000000000000000000000000000000000..7d3b489126c66d64e1fe15daff3d6ef82dc7c31a --- /dev/null +++ b/lib/screens/bottom_bar.dart @@ -0,0 +1,74 @@ +// ignore_for_file: prefer_const_constructors + +import 'package:fluentui_icons/fluentui_icons.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter/material.dart'; +import 'package:kaburacreates/screens/games_ticket_view.dart'; +import 'package:kaburacreates/screens/profile_screen.dart'; +import 'package:kaburacreates/screens/search_screen.dart'; + +import '../utils/app_layout.dart'; +import 'home_screen.dart'; + +class BottomBar extends StatefulWidget { + const BottomBar({Key? key}) : super(key: key); + @override + _WidgetState createState() => _WidgetState(); +} + +class _WidgetState extends State { + int _selectedIndex = 0; + static final List _widgetOptions = [ + const HomeScreen(), + const SearchScreen(), + const GamesTicketView(), + const ProfileScreen(), + ]; + void _onItemTapped(int index) { + setState(() { + _selectedIndex = index; + }); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + body: Center( + child: _widgetOptions[_selectedIndex], + ), + bottomNavigationBar: BottomNavigationBar( + currentIndex: _selectedIndex, + onTap: _onItemTapped, + elevation: AppLayout.getHeight(10), + showSelectedLabels: false, + showUnselectedLabels: false, + selectedItemColor: Colors.blueGrey, + type: BottomNavigationBarType.fixed, + unselectedItemColor: const Color(0xFF526480), + items: const [ + BottomNavigationBarItem( + icon: Icon(FluentSystemIcons.ic_fluent_home_regular), + activeIcon: Icon(FluentSystemIcons.ic_fluent_home_filled), + label: "Home"), + BottomNavigationBarItem( + icon: Icon(FluentSystemIcons.ic_fluent_search_regular), + activeIcon: Icon(FluentSystemIcons.ic_fluent_search_filled), + label: "Search"), + BottomNavigationBarItem( + icon: Icon(FluentSystemIcons.ic_fluent_games_regular), + activeIcon: Icon(FluentSystemIcons.ic_fluent_games_filled), + label: "Games"), + BottomNavigationBarItem( + icon: Icon(FluentSystemIcons.ic_fluent_person_regular), + activeIcon: Icon(FluentSystemIcons.ic_fluent_person_filled), + label: "Profile") + ]), + ); + } + + @override + void debugFillProperties(DiagnosticPropertiesBuilder properties) { + super.debugFillProperties(properties); + properties.add(IntProperty('_selectedIndex', _selectedIndex)); + } +} diff --git a/lib/screens/games_screen.dart b/lib/screens/games_screen.dart new file mode 100644 index 0000000000000000000000000000000000000000..fa70ea7f47b861b53236f0ba29445d8780f6f0fa --- /dev/null +++ b/lib/screens/games_screen.dart @@ -0,0 +1,60 @@ +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import 'package:kaburacreates/utils/app_layout.dart'; +import 'package:kaburacreates/utils/app_styles.dart'; + +class GamesScreen extends StatelessWidget { + final Map game; + const GamesScreen({Key? key, required this.game}) : super(key: key); + @override + Widget build(BuildContext context) { + final size = AppLayout.getSize(context); + return Container( + width: size.width * 0.6, + height: AppLayout.getWidth(350), + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getWidth(15), + vertical: AppLayout.getHeight(17)), + margin: EdgeInsets.only( + right: AppLayout.getWidth(17), top: AppLayout.getHeight(5)), + decoration: BoxDecoration( + color: Styles.primaryColor, + borderRadius: BorderRadius.circular(AppLayout.getHeight(24)), + boxShadow: [ + BoxShadow( + color: Color(0xfffbf0f0), + blurRadius: AppLayout.getHeight(2), + spreadRadius: AppLayout.getHeight(1)) + ]), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: AppLayout.getHeight(180), + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(12)), + color: Styles.primaryColor, + image: DecorationImage( + fit: BoxFit.cover, + image: AssetImage("assets/images/${game['image']}")))), + Gap(AppLayout.getHeight(10)), + Text( + game['game'], + style: Styles.headLineStyle2.copyWith(color: Styles.khakiColor), + ), + Gap(AppLayout.getHeight(5)), + Text( + game['type'], + style: Styles.headLineStyle.copyWith(color: Color(0xff7e1154)), + ), + Gap(AppLayout.getHeight(8)), + Text( + game['price'], + style: Styles.headLineStyle3.copyWith(color: Styles.khakiColor), + ), + ], + )); + } +} diff --git a/lib/screens/games_ticket_view.dart b/lib/screens/games_ticket_view.dart new file mode 100644 index 0000000000000000000000000000000000000000..56e3a76bb173c16954a91cb05395fe821f003cc3 --- /dev/null +++ b/lib/screens/games_ticket_view.dart @@ -0,0 +1,203 @@ +// ignore_for_file: prefer_const_constructors + +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import 'package:kaburacreates/screens/games_view.dart'; +import 'package:kaburacreates/utils/app_info_list.dart'; +import 'package:kaburacreates/utils/app_layout.dart'; +import 'package:kaburacreates/widgets/column_layout.dart'; +import 'package:kaburacreates/widgets/game_tabs.dart'; +import 'package:kaburacreates/widgets/layout_builder_widget.dart'; +import 'package:barcode_widget/barcode_widget.dart'; + +import '../utils/app_styles.dart'; + +class GamesTicketView extends StatelessWidget { + const GamesTicketView({Key? key}) : super(key: key); + @override + Widget build(BuildContext context) { + final size = AppLayout.getSize(context); + return Scaffold( + backgroundColor: Styles.bgColor, + body: Stack( + children: [ + ListView( + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(20), + vertical: AppLayout.getHeight(10)), + children: [ + Gap(AppLayout.getHeight(40)), + Text( + "Games' Tickets", + style: Styles.headLineStyle, + ), + Gap(AppLayout.getHeight(20)), + const AppGameTabs( + firstTab: "Upcoming", secondTab: "Previous"), + Gap(AppLayout.getHeight(20)), + Container( + padding: EdgeInsets.only(left: AppLayout.getHeight(15)), + child: GameView( + list: gameList[0], + isColor: true, + ), + ), + const SizedBox(height: 1), + Container( + color: Colors.white, + padding: + EdgeInsets.symmetric(horizontal: 15, vertical: 20), + margin: EdgeInsets.symmetric(horizontal: 15), + child: Column(children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: "Kabura Creates", + secondText: "Player", + alignment: CrossAxisAlignment.start, + isColor: false, + ), + AppColumnLayout( + firstText: "1234 5678", + secondText: "ID", + alignment: CrossAxisAlignment.end, + isColor: false, + ), + ]), + Gap(AppLayout.getHeight(20)), + const AppLayoutBuiderWidget( + sections: 15, + isColor: false, + width: 5, + ), + Gap(AppLayout.getHeight(20)), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: "557 222 1616", + secondText: "Ticket no.", + alignment: CrossAxisAlignment.start, + isColor: false, + ), + AppColumnLayout( + firstText: "B123", + secondText: "Booking code", + alignment: CrossAxisAlignment.end, + isColor: false, + ), + ]), + Gap(AppLayout.getHeight(20)), + const AppLayoutBuiderWidget( + sections: 15, + isColor: false, + width: 5, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Column( + children: [ + Row( + children: [ + Image.asset( + "assets/images/img1.jpg", + scale: 9, + ), + Text( + "*** 2712", + style: Styles.headLineStyle3, + ) + ], + ), + const Gap(5), + Text("Payment method", + style: Styles.headLineStyle4) + ], + ), + AppColumnLayout( + firstText: "Kes. 50.00", + secondText: "Price", + alignment: CrossAxisAlignment.end, + isColor: false, + ), + ]) + ])), + //Barcode + const SizedBox( + height: 1, + ), + Container( + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.only( + bottomRight: + Radius.circular(AppLayout.getHeight(21)), + bottomLeft: + Radius.circular(AppLayout.getHeight(21)))), + margin: EdgeInsets.only( + left: AppLayout.getHeight(15), + right: AppLayout.getHeight(15), + ), + padding: EdgeInsets.only( + top: AppLayout.getHeight(20), + bottom: AppLayout.getHeight(20), + ), + child: Container( + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(20)), + child: ClipRRect( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(15)), + child: BarcodeWidget( + barcode: Barcode.code128(), + data: 'https://github.com/martinovovo', + drawText: false, + color: Styles.bgColor, + width: double.infinity, + height: 70, + ), + ), + )), + Gap(AppLayout.getHeight(20)), + Container( + padding: EdgeInsets.only(left: AppLayout.getHeight(15)), + child: GameView( + list: gameList[0], + ), + ), + ]), + Positioned( + left: AppLayout.getHeight(22), + top: AppLayout.getHeight(295), + child: Container( + padding: EdgeInsets.all(3), + decoration: BoxDecoration( + shape: BoxShape.circle, + border: Border.all(color: Styles.textColor, width: 2), + ), + child: CircleAvatar( + maxRadius: 4, + backgroundColor: Styles.textColor, + )), + ), + Positioned( + right: AppLayout.getHeight(22), + top: AppLayout.getHeight(295), + child: Container( + padding: EdgeInsets.all(3), + decoration: BoxDecoration( + shape: BoxShape.circle, + border: Border.all(color: Colors.black, width: 2), + ), + child: CircleAvatar( + maxRadius: 4, + backgroundColor: Colors.white, + )), + ) + ], + )); + } +} diff --git a/lib/screens/games_view.dart b/lib/screens/games_view.dart new file mode 100644 index 0000000000000000000000000000000000000000..a28af87059cf668d0fa4784b8fb4992c15e76a0c --- /dev/null +++ b/lib/screens/games_view.dart @@ -0,0 +1,206 @@ +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import 'package:get/utils.dart'; +import 'package:kaburacreates/utils/app_layout.dart'; +import 'package:kaburacreates/widgets/layout_builder_widget.dart'; +import 'package:kaburacreates/widgets/thick_container.dart'; + +import '../utils/app_styles.dart'; +import '../widgets/column_layout.dart'; + +class GameView extends StatelessWidget { + final Map list; + final bool? isColor; + const GameView({Key? key, required this.list, this.isColor}) + : super(key: key); + @override + Widget build(BuildContext context) { + final size = AppLayout.getSize(context); + return SizedBox( + width: size.width * 0.85, + height: AppLayout.getHeight(GetPlatform.isAndroid == true ? 167 : 177), + child: Container( + margin: EdgeInsets.only(right: AppLayout.getHeight(16)), + child: Column(children: [ + Container( + decoration: BoxDecoration( + color: isColor == null ? const Color(0xfffbf8fa) : Colors.white, + borderRadius: BorderRadius.only( + topLeft: Radius.circular(AppLayout.getHeight(21)), + topRight: Radius.circular(AppLayout.getHeight(21)))), + padding: EdgeInsets.all(AppLayout.getHeight(16)), + child: Column(children: [ + Row( + children: [ + Text( + list['001_Available']['code'], + style: isColor == null + ? Styles.headLineStyle3.copyWith(color: Colors.black) + : Styles.headLineStyle3, + ), + Expanded(child: Container()), + const ThickContainer( + isColor: true, + ), + Expanded( + child: SizedBox( + height: AppLayout.getHeight(24), + child: AppLayoutBuiderWidget( + sections: 6, + ))), + const ThickContainer( + isColor: true, + ), + Expanded(child: Container()), + Text( + list['002_Available']['code'], + style: isColor == null + ? Styles.headLineStyle4.copyWith(color: Colors.black) + : Styles.headLineStyle3, + ), + ], + ), + const Gap(3), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + SizedBox( + width: AppLayout.getWidth(100), + child: Text( + list['001_Available']['name'], + style: isColor == null + ? Styles.headLineStyle4.copyWith(color: Colors.black) + : Styles.headLineStyle4, + ), + ), + Text( + list['available_time'], + style: isColor == null + ? Styles.headLineStyle4 + .copyWith(color: Color(0xff131212)) + : Styles.headLineStyle4, + ), + SizedBox( + width: AppLayout.getWidth(100), + child: Text( + list['002_Available']['name'], + textAlign: TextAlign.end, + style: isColor == null + ? Styles.headLineStyle4 + .copyWith(color: Color(0xff141414)) + : Styles.headLineStyle4, + ), + ), + ], + ) + ]), + ), + Container( + color: isColor == null ? Styles.orangeColor : Color(0xff161616), + child: Row( + children: [ + SizedBox( + height: AppLayout.getWidth(20), + width: AppLayout.getWidth(10), + child: DecoratedBox( + decoration: BoxDecoration( + color: isColor == null + ? Colors.grey.shade200 + : Colors.white, + borderRadius: BorderRadius.only( + topRight: Radius.circular( + AppLayout.getHeight(10), + ), + bottomRight: Radius.circular( + AppLayout.getHeight(10), + )))), + ), + Expanded( + child: Padding( + padding: EdgeInsets.all( + AppLayout.getHeight(12), + ), + child: LayoutBuilder( + builder: + (BuildContext context, BoxConstraints constraints) { + return Flex( + direction: Axis.horizontal, + mainAxisAlignment: MainAxisAlignment.spaceBetween, + mainAxisSize: MainAxisSize.max, + children: List.generate( + (constraints.constrainWidth() / 15).floor(), + (index) => SizedBox( + width: AppLayout.getWidth(5), + height: AppLayout.getHeight(1), + child: DecoratedBox( + decoration: BoxDecoration( + color: isColor == null + ? Colors.white + : Colors.grey.shade300)), + )), + ); + }, + ), + )), + SizedBox( + height: AppLayout.getHeight(20), + width: AppLayout.getWidth(10), + child: DecoratedBox( + decoration: BoxDecoration( + color: isColor == null + ? Colors.grey.shade200 + : Colors.white, + borderRadius: BorderRadius.only( + topLeft: + Radius.circular(AppLayout.getHeight(10)), + bottomLeft: + Radius.circular(AppLayout.getHeight(10))))), + ) + ], + )), + Container( + decoration: BoxDecoration( + color: isColor == null ? Styles.orangeColor : Colors.white, + borderRadius: BorderRadius.only( + bottomLeft: Radius.circular(isColor == null + ? AppLayout.getHeight(21) + : AppLayout.getHeight(0)), + bottomRight: Radius.circular(isColor == null + ? AppLayout.getHeight(21) + : AppLayout.getHeight(0)))), + padding: EdgeInsets.only( + left: AppLayout.getWidth(16), + top: AppLayout.getHeight(10), + right: AppLayout.getWidth(16), + bottom: AppLayout.getHeight(16)), + child: Column(children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: list['date'], + secondText: "DATE", + alignment: CrossAxisAlignment.start, + isColor: isColor, + ), + AppColumnLayout( + firstText: list['time'], + secondText: "TIME", + alignment: CrossAxisAlignment.center, + isColor: isColor, + ), + AppColumnLayout( + firstText: list['players'], + secondText: "PLAYER", + alignment: CrossAxisAlignment.end, + isColor: isColor, + ), + ], + ) + ]), + ) + ]), + ), + ); + } +} diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart new file mode 100644 index 0000000000000000000000000000000000000000..8e1e602fa077ad8507751588224f0d2e377678dc --- /dev/null +++ b/lib/screens/home_screen.dart @@ -0,0 +1,103 @@ +import 'package:fluentui_icons/fluentui_icons.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import 'package:kaburacreates/screens/games_screen.dart'; +import 'package:kaburacreates/utils/app_info_list.dart'; +import 'package:kaburacreates/widgets/column_layout.dart'; +import 'package:kaburacreates/widgets/double_text_widget.dart'; +import '../utils/app_layout.dart'; +import '../utils/app_styles.dart'; +import 'games_view.dart'; + +class HomeScreen extends StatelessWidget { + const HomeScreen({Key? key}) : super(key: key); + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Styles.bgColor, + body: ListView( + children: [ + Container( + padding: EdgeInsets.only( + left: AppLayout.getWidth(20), right: AppLayout.getWidth(20)), + child: Column(children: [ + Gap(AppLayout.getHeight(40)), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text("Good Morning", + style: Styles.headLineStyle3 + .copyWith(color: Colors.white)), + Gap(AppLayout.getHeight(5)), + Text("Book Games", + style: Styles.headLineStyle + .copyWith(color: Colors.white)), + ], + ), + Container( + width: AppLayout.getWidth(50), + height: AppLayout.getHeight(50), + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(15)), + image: const DecorationImage( + fit: BoxFit.cover, + image: AssetImage("assets/images/img2.jpg"), + ), + )) + ]), + Gap(AppLayout.getHeight(25)), + Container( + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(10)), + color: const Color(0xFFF4F6FD)), + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getWidth(12), + vertical: AppLayout.getHeight(12)), + child: Row(children: [ + const Icon(FluentSystemIcons.ic_fluent_search_regular, + color: Color(0xff7e1154)), + Text( + "Search", + style: Styles.headLineStyle4, + ) + ]), + ), + Gap(AppLayout.getHeight(40)), + const AppDoubleTextWidget( + bigText: "Available Games", smallText: "View all") + ]), + ), + Gap(AppLayout.getHeight(15)), + SingleChildScrollView( + scrollDirection: Axis.horizontal, + padding: EdgeInsets.only(left: AppLayout.getWidth(20)), + child: Row( + children: gameList + .map((list) => GameView( + list: list, + )) + .toList(), + )), + Gap(AppLayout.getHeight(15)), + Container( + padding: + EdgeInsets.symmetric(horizontal: AppLayout.getWidth(20)), + child: const AppDoubleTextWidget( + bigText: "Games", smallText: "View all")), + Gap(AppLayout.getHeight(15)), + SingleChildScrollView( + scrollDirection: Axis.horizontal, + padding: EdgeInsets.only(left: AppLayout.getWidth(20)), + child: Row( + children: GameList.map((game) => GamesScreen(game: game)) + .toList())), + ], + )); + } +} diff --git a/lib/screens/profile_screen.dart b/lib/screens/profile_screen.dart new file mode 100644 index 0000000000000000000000000000000000000000..f1f709415f4c2f9e7f17f20e63688f9733b994c8 --- /dev/null +++ b/lib/screens/profile_screen.dart @@ -0,0 +1,293 @@ +import 'package:fluentui_icons/fluentui_icons.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import 'package:kaburacreates/widgets/column_layout.dart'; + +import '../utils/app_layout.dart'; +import '../utils/app_styles.dart'; + +class ProfileScreen extends StatelessWidget { + const ProfileScreen({Key? key}) : super(key: key); + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: Styles.bgColor, + body: ListView( + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(20), + vertical: AppLayout.getHeight(10), + ), + children: [ + Gap( + AppLayout.getHeight(40), + ), + Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: AppLayout.getHeight(86), + width: AppLayout.getHeight(86), + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(10)), + image: DecorationImage( + image: AssetImage("assets/images/img2.jpg")))), + Gap( + AppLayout.getHeight(10), + ), + Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Text("Book Games", style: Styles.headLineStyle), + Gap(AppLayout.getHeight(2)), + Text("Kabura Creates", + style: TextStyle( + fontSize: 14, + fontWeight: FontWeight.w500, + color: Colors.grey.shade500)), + Gap(AppLayout.getHeight(8)), + Container( + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(100)), + color: Color(0xFFFEF4F3), + ), + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(3), + vertical: AppLayout.getHeight(3)), + child: Row( + children: [ + Container( + padding: EdgeInsets.all(3), + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Color(0xffa6489e), + ), + child: Icon( + FluentSystemIcons.ic_fluent_shield_filled, + color: Colors.white, + size: 15, + ), + ), + Gap(AppLayout.getHeight(6)), + Text("Premium Status", + style: const TextStyle( + color: Color(0xffa6489e), + fontWeight: FontWeight.w600)), + Gap(AppLayout.getHeight(6)), + ], + ), + ) + ]), + const Spacer(), + Column( + children: [ + InkWell( + onTap: () { + print("Tou are tapped"); + }, + child: Text("Edit", + style: Styles.textStyle.copyWith( + color: Styles.orangeColor, + fontWeight: FontWeight.w300)), + ), + ], + ) + ], + ), + Gap( + AppLayout.getHeight(8), + ), + Divider( + color: Colors.grey.shade300, + ), + Gap( + AppLayout.getHeight(8), + ), + Stack(children: [ + Container( + height: AppLayout.getHeight(90), + width: double.infinity, + decoration: BoxDecoration( + color: Color(0xffa42d87), + borderRadius: + BorderRadius.circular(AppLayout.getHeight(18)))), + Positioned( + right: -45, + top: -40, + child: Container( + padding: EdgeInsets.all(AppLayout.getHeight(30)), + decoration: BoxDecoration( + color: Colors.transparent, + shape: BoxShape.circle, + border: + Border.all(width: 18, color: Color(0xff7e1154))), + )), + Container( + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(25), + vertical: AppLayout.getHeight(20)), + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + CircleAvatar( + child: Icon( + FluentSystemIcons + .ic_fluent_lightbulb_filament_filled, + color: Color(0xffa42d87), + size: 27), + maxRadius: 25, + backgroundColor: Colors.white, + ), + Gap(AppLayout.getHeight(12)), + Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text("New reward!", + style: Styles.headLineStyle2.copyWith( + fontWeight: FontWeight.bold, + color: Colors.white)), + Text("9 games booked already!", + style: Styles.headLineStyle2.copyWith( + fontWeight: FontWeight.w500, + fontSize: 16, + color: Colors.white.withOpacity(0.9))) + ], + ) + ]), + ) + ]), + Gap( + AppLayout.getHeight(25), + ), + Text("Accumulated Games", style: Styles.headLineStyle2), + Gap( + AppLayout.getHeight(20), + ), + Container( + padding: + EdgeInsets.symmetric(horizontal: AppLayout.getWidth(15)), + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(18)), + color: Styles.primaryColor, + boxShadow: [ + BoxShadow( + color: Colors.grey.shade300, + blurRadius: 1, + spreadRadius: 1, + ) + ]), + child: Column( + children: [ + Gap( + AppLayout.getHeight(8), + ), + Text("193745", + style: TextStyle( + fontSize: 45, + color: Styles.bgColor, + fontWeight: FontWeight.w600)), + Gap( + AppLayout.getHeight(20), + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "Games Played", + style: Styles.headLineStyle4.copyWith(fontSize: 16), + ), + Text( + "31 Dec 2022", + style: Styles.headLineStyle4.copyWith(fontSize: 16), + ), + ], + ), + Gap( + AppLayout.getHeight(20), + ), + Divider( + color: Colors.grey.shade300, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: "23", + secondText: "Games", + alignment: CrossAxisAlignment.start, + isColor: false, + ), + AppColumnLayout( + firstText: "MPESA", + secondText: "Payment from", + alignment: CrossAxisAlignment.end, + isColor: false, + ) + ], + ), + Gap( + AppLayout.getHeight(20), + ), + Divider( + color: Colors.grey.shade300, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: "2", + secondText: "Games", + alignment: CrossAxisAlignment.start, + isColor: false, + ), + AppColumnLayout( + firstText: "PayPal", + secondText: "Payment from", + alignment: CrossAxisAlignment.end, + isColor: false, + ) + ], + ), + Gap( + AppLayout.getHeight(20), + ), + Divider( + color: Colors.grey.shade300, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + AppColumnLayout( + firstText: "0", + secondText: "Games", + alignment: CrossAxisAlignment.start, + isColor: false, + ), + AppColumnLayout( + firstText: "Bank", + secondText: "Payment from", + alignment: CrossAxisAlignment.end, + isColor: false, + ) + ], + ), + Container( + child: Column(children: [ + Gap( + AppLayout.getHeight(8), + ), + Divider( + color: Colors.grey.shade300, + ), + ])) + ], + )) + ])); + } +} diff --git a/lib/screens/search_screen.dart b/lib/screens/search_screen.dart new file mode 100644 index 0000000000000000000000000000000000000000..7f2c14e4dd7f344d42ca3f0a973c451bb49cadb6 --- /dev/null +++ b/lib/screens/search_screen.dart @@ -0,0 +1,171 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/widgets.dart'; +import 'package:gap/gap.dart'; +import 'package:kaburacreates/widgets/game_tabs.dart'; +import 'package:kaburacreates/widgets/icon_text_widget.dart'; +import '../utils/app_layout.dart'; +import '../utils/app_styles.dart'; +import '../widgets/double_text_widget.dart'; + +class SearchScreen extends StatelessWidget { + const SearchScreen({Key? key}) : super(key: key); + @override + Widget build(BuildContext context) { + final size = AppLayout.getSize(context); + return Scaffold( + backgroundColor: Styles.bgColor, + body: ListView( + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getWidth(20), + vertical: AppLayout.getHeight(20)), + children: [ + Gap(AppLayout.getHeight(40)), + Text( + "What are\nyou looking for?", + style: Styles.headLineStyle + .copyWith(fontSize: AppLayout.getHeight(35)), + ), + Gap(AppLayout.getHeight(20)), + const AppGameTabs( + firstTab: "Game Tickets", secondTab: "View all"), + Gap(AppLayout.getHeight(25)), + const AppIconText( + icon: Icons.gamepad_outlined, + text: "Single Player", + ), + Gap(AppLayout.getHeight(20)), + const AppIconText( + icon: Icons.gamepad_outlined, text: "Multi Player"), + Gap(AppLayout.getHeight(25)), + Container( + padding: EdgeInsets.symmetric( + vertical: AppLayout.getWidth(15), + horizontal: AppLayout.getHeight(15)), + decoration: BoxDecoration( + color: Color(0xff7e1154), + borderRadius: BorderRadius.circular(AppLayout.getWidth(10)), + ), + child: Center( + child: Text( + "find games", + style: Styles.textStyle.copyWith(color: Colors.white), + ), + )), + Gap(AppLayout.getHeight(40)), + const AppDoubleTextWidget( + bigText: "Available Games", smallText: "View all"), + Gap(AppLayout.getHeight(15)), + Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ + Container( + height: AppLayout.getHeight(425), + width: size.width * 0.42, + padding: EdgeInsets.symmetric( + horizontal: AppLayout.getHeight(15), + vertical: AppLayout.getWidth(15)), + decoration: BoxDecoration( + color: Colors.white, + borderRadius: + BorderRadius.circular(AppLayout.getHeight(20)), + boxShadow: [ + BoxShadow( + color: Colors.grey.shade200, + blurRadius: 1, + spreadRadius: 1) + ]), + child: Column( + children: [ + Container( + height: AppLayout.getHeight(190), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular( + AppLayout.getHeight(12)), + image: const DecorationImage( + fit: BoxFit.cover, + image: + AssetImage("assets/images/img7.jpg")))), + Gap(AppLayout.getHeight(12)), + Text( + "20% discount on the first 10 people to book via the app!", + style: Styles.headLineStyle2 + .copyWith(color: Colors.black), + ) + ], + )), + Column(children: [ + Stack( + children: [ + Container( + width: size.width * 0.44, + height: AppLayout.getHeight(184), + decoration: BoxDecoration( + color: Color(0xffa42d87), + borderRadius: + BorderRadius.circular(AppLayout.getHeight(18))), + padding: EdgeInsets.symmetric( + vertical: AppLayout.getHeight(15), + horizontal: AppLayout.getWidth(15)), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "Discount\nfor survey", + style: Styles.headLineStyle2.copyWith( + fontWeight: FontWeight.bold, + color: Colors.white), + ), + Gap(AppLayout.getHeight(10)), + Text("Take the survey and get discount", + style: Styles.headLineStyle2.copyWith( + fontSize: 18, + fontWeight: FontWeight.w500, + color: Colors.white)) + ]), + ), + Positioned( + right: AppLayout.getWidth(-45), + top: AppLayout.getHeight(-40), + child: Container( + padding: EdgeInsets.all(AppLayout.getHeight(30)), + decoration: BoxDecoration( + shape: BoxShape.circle, + border: Border.all( + width: AppLayout.getWidth(18), + color: Color(0xff7e1154)), + color: Colors.transparent)), + ) + ], + ), + Gap(AppLayout.getHeight(12)), + Container( + width: size.width * 0.44, + height: AppLayout.getHeight(210), + padding: EdgeInsets.symmetric( + vertical: AppLayout.getHeight(15), + horizontal: AppLayout.getWidth(15)), + decoration: BoxDecoration( + borderRadius: + BorderRadius.circular(AppLayout.getHeight(18)), + color: const Color(0xffde58bd)), + child: Column(children: [ + Text("Take love", + style: Styles.headLineStyle2.copyWith( + //fontSize: 18, + fontWeight: FontWeight.bold, + color: Colors.white), + textAlign: TextAlign.center), + Gap(AppLayout.getHeight(5)), + RichText( + text: const TextSpan( + children: [ + TextSpan(text: '😍', style: TextStyle(fontSize: 20)), + TextSpan(text: '😍', style: TextStyle(fontSize: 35)), + TextSpan(text: '😍', style: TextStyle(fontSize: 20)), + ], + )) + ]), + ) + ]) + ]) + ])); + } +} diff --git a/lib/utils/app_info_list.dart b/lib/utils/app_info_list.dart new file mode 100644 index 0000000000000000000000000000000000000000..0fdeb81e81bbf73651a5f55ae1de2b5a0d366aa1 --- /dev/null +++ b/lib/utils/app_info_list.dart @@ -0,0 +1,39 @@ +List> GameList = [ + { + 'image': 'img4.jpg', + 'game': 'God of War', + 'type': 'PS4', + 'price': 'Kes 50.00/hr' + }, + { + 'image': 'img5.jpg', + 'game': 'Mortal Combat', + 'type': 'PS4', + 'price': 'Kes 50.00/hr' + }, + { + 'image': 'img6.jpg', + 'game': 'FIFA', + 'type': 'PS5', + 'price': 'Kes 100.00/hr' + }, +]; + +List> gameList = [ + { + '001_Available': {'code': "001", 'name': "FIFA"}, + '002_Available': {'code': "002", 'name': "GTA"}, + 'available_time': '1H 30M', + 'date': "1 MAY", + 'time': "08:00 AM", + "players": "single" + }, + { + '001_Available': {'code': "003", 'name': "God of War"}, + '002_Available': {'code': "004", 'name': "GTA"}, + 'available_time': '2H 30M', + 'date': "3 MAY", + 'time': "02:00 PM", + "players": "multi" + }, +]; diff --git a/lib/utils/app_layout.dart b/lib/utils/app_layout.dart new file mode 100644 index 0000000000000000000000000000000000000000..e222bd4b16f4b9fb2118e4283f97ac17e98286d9 --- /dev/null +++ b/lib/utils/app_layout.dart @@ -0,0 +1,27 @@ +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; +import 'package:get/get_core/src/get_main.dart'; + +class AppLayout { + static getSize(BuildContext context) { + return MediaQuery.of(context).size; + } + + static getScreenHeight() { + return Get.height; + } + + static getScreenWidth() { + return Get.width; + } + + static getHeight(double pixels) { + double x = getScreenHeight() / pixels; + return getScreenHeight() / x; + } + + static getWidth(double pixels) { + double x = getScreenWidth() / pixels; + return getScreenWidth() / x; + } +} diff --git a/lib/utils/app_styles.dart b/lib/utils/app_styles.dart new file mode 100644 index 0000000000000000000000000000000000000000..a230cd578cf6f3913971a187f16e94cd4e820f26 --- /dev/null +++ b/lib/utils/app_styles.dart @@ -0,0 +1,21 @@ +import 'package:flutter/material.dart'; + +Color primary = const Color(0xfff68ee5); + +class Styles { + static Color primaryColor = const Color(0xfff6f2f5); + static Color textColor = const Color(0xfff2efef); + static Color bgColor = const Color(0xff221f1f); + static Color orangeColor = const Color(0xff7e1154); + static Color khakiColor = const Color(0xff0c0c0c); + static TextStyle textStyle = + TextStyle(fontSize: 16, color: textColor, fontWeight: FontWeight.w500); + static TextStyle headLineStyle = + TextStyle(fontSize: 26, color: textColor, fontWeight: FontWeight.bold); + static TextStyle headLineStyle2 = + TextStyle(fontSize: 21, color: textColor, fontWeight: FontWeight.bold); + static TextStyle headLineStyle3 = + TextStyle(fontSize: 17, fontWeight: FontWeight.w500); + static TextStyle headLineStyle4 = TextStyle( + fontSize: 14, color: Colors.grey.shade500, fontWeight: FontWeight.bold); +} diff --git a/lib/widgets/column_layout.dart b/lib/widgets/column_layout.dart new file mode 100644 index 0000000000000000000000000000000000000000..7ee653e03edcd10ee18b885b6a19950a0eccece4 --- /dev/null +++ b/lib/widgets/column_layout.dart @@ -0,0 +1,38 @@ +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; + +import '../utils/app_layout.dart'; +import '../utils/app_styles.dart'; + +class AppColumnLayout extends StatelessWidget { + final CrossAxisAlignment alignment; + final String firstText; + final String secondText; + final bool? isColor; + const AppColumnLayout( + {Key? key, + required this.firstText, + required this.secondText, + required this.alignment, + this.isColor}) + : super(key: key); + @override + Widget build(BuildContext context) { + return Column( + crossAxisAlignment: alignment, + children: [ + Text( + firstText, + style: isColor == null + ? Styles.headLineStyle3.copyWith(color: Colors.white) + : Styles.headLineStyle3, + ), + Gap(AppLayout.getHeight(5)), + Text(secondText, + style: isColor == null + ? Styles.headLineStyle4.copyWith(color: Colors.white) + : Styles.headLineStyle4), + ], + ); + } +} diff --git a/lib/widgets/double_text_widget.dart b/lib/widgets/double_text_widget.dart new file mode 100644 index 0000000000000000000000000000000000000000..8266ba4e245f544cb2366639f8b5b9ea863cd13a --- /dev/null +++ b/lib/widgets/double_text_widget.dart @@ -0,0 +1,25 @@ +import 'package:flutter/material.dart'; + +import '../utils/app_styles.dart'; + +class AppDoubleTextWidget extends StatelessWidget { + final String bigText; + final String smallText; + const AppDoubleTextWidget( + {Key? key, required this.bigText, required this.smallText}) + : super(key: key); + @override + Widget build(BuildContext context) { + return Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ + Text(bigText, + style: Styles.headLineStyle2.copyWith(color: Color(0xfff4f0f0))), + InkWell( + onTap: () {}, + child: Text( + smallText, + style: Styles.textStyle, + ), + ) + ]); + } +} diff --git a/lib/widgets/game_tabs.dart b/lib/widgets/game_tabs.dart new file mode 100644 index 0000000000000000000000000000000000000000..3ab6fda8a90d32105a5f793ce4d75e359125decd --- /dev/null +++ b/lib/widgets/game_tabs.dart @@ -0,0 +1,51 @@ +import 'package:flutter/material.dart'; +import '../utils/app_layout.dart'; + +class AppGameTabs extends StatelessWidget { + final String firstTab; + final String secondTab; + const AppGameTabs({Key? key, required this.firstTab, required this.secondTab}) + : super(key: key); + @override + Widget build(BuildContext context) { + final size = AppLayout.getSize(context); + return FittedBox( + child: Container( + padding: const EdgeInsets.all(3.5), + child: Row(children: [ + Container( + width: size.width * 0.44, + padding: EdgeInsets.symmetric(vertical: AppLayout.getHeight(7)), + decoration: BoxDecoration( + borderRadius: BorderRadius.horizontal( + left: Radius.circular( + AppLayout.getHeight(50), + )), + color: Colors.white), + child: Center( + child: Text(firstTab), + ), + ), + Container( + width: size.width * 0.44, + padding: EdgeInsets.symmetric(vertical: AppLayout.getHeight(7)), + decoration: BoxDecoration( + borderRadius: BorderRadius.horizontal( + right: Radius.circular( + AppLayout.getHeight(50), + )), + color: Colors.transparent), + child: Center( + child: Text(secondTab), + ), + ), + ]), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular( + AppLayout.getHeight(50), + ), + color: const Color(0xFFF4F6FD), + )), + ); + } +} diff --git a/lib/widgets/icon_text_widget.dart b/lib/widgets/icon_text_widget.dart new file mode 100644 index 0000000000000000000000000000000000000000..1f8c159a16d6e0645d9010a67d0a543dba73b8a6 --- /dev/null +++ b/lib/widgets/icon_text_widget.dart @@ -0,0 +1,42 @@ +import 'package:flutter/material.dart'; +import 'package:gap/gap.dart'; +import '../utils/app_layout.dart'; +import '../utils/app_styles.dart'; + +class AppIconText extends StatelessWidget { + final IconData icon; + final String text; + const AppIconText({Key? key, required this.icon, required this.text}) + : super(key: key); + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.symmetric( + vertical: AppLayout.getWidth(12), + horizontal: AppLayout.getHeight(12)), + decoration: BoxDecoration( + color: Color(0xff161616), + borderRadius: BorderRadius.circular( + AppLayout.getWidth(10), + ), + boxShadow: [ + BoxShadow( + color: Color(0xfffbf0f0), + blurRadius: AppLayout.getHeight(2), + spreadRadius: AppLayout.getHeight(1)) + ]), + child: Row( + children: [ + Icon( + icon, + color: const Color(0xfffafbfd), + ), + Gap(AppLayout.getWidth(10)), + Text( + text, + style: Styles.textStyle, + ) + ], + )); + } +} diff --git a/lib/widgets/layout_builder_widget.dart b/lib/widgets/layout_builder_widget.dart new file mode 100644 index 0000000000000000000000000000000000000000..41993c035ba59fbfaaa1ef598d15ae56245d1ea2 --- /dev/null +++ b/lib/widgets/layout_builder_widget.dart @@ -0,0 +1,34 @@ +import 'package:flutter/material.dart'; + +class AppLayoutBuiderWidget extends StatelessWidget { + final bool? isColor; + final int sections; + final double width; + const AppLayoutBuiderWidget( + {Key? key, this.isColor, required this.sections, this.width = 3}) + : super(key: key); + @override + Widget build(BuildContext context) { + return LayoutBuilder( + builder: (BuildContext context, BoxConstraints constraints) { + return Flex( + direction: Axis.horizontal, + mainAxisAlignment: MainAxisAlignment.spaceBetween, + mainAxisSize: MainAxisSize.max, + children: List.generate( + (constraints.constrainWidth() / 6).floor(), + (index) => SizedBox( + width: 1, + height: 1, + child: DecoratedBox( + decoration: BoxDecoration( + color: isColor == null + ? Colors.white + : Colors.grey.shade300), + ), + ), + )); + }, + ); + } +} diff --git a/lib/widgets/thick_container.dart b/lib/widgets/thick_container.dart new file mode 100644 index 0000000000000000000000000000000000000000..c97b3a19b5d2e4d4174e3d2c1fa87ea837b860e3 --- /dev/null +++ b/lib/widgets/thick_container.dart @@ -0,0 +1,17 @@ +import 'package:flutter/material.dart'; + +class ThickContainer extends StatelessWidget { + final bool? isColor; + const ThickContainer({Key? key, this.isColor}) : super(key: key); + @override + Widget build(BuildContext context) { + return Container( + padding: const EdgeInsets.all(3.0), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(20), + border: Border.all( + width: 2.5, + color: isColor == null ? Colors.white : Color(0xFF8ACCF7))), + ); + } +} diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2201cb7b4edf417fa794a8f694f3ca5a9d8a5088 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,81 @@ +name: kaburacreates +description: A new Flutter project. + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +version: 1.0.0+1 + +environment: + sdk: ">=2.12.0 <3.0.0" + +dependencies: + flutter: + sdk: flutter + + cupertino_icons: ^1.0.2 + fluentui_icons: ^1.0.0 + webviewx: ^0.2.1 + get: ^4.6.5 + gap: ^2.0.0 + +dev_dependencies: + flutter_test: + sdk: flutter + + # The "flutter_lints" package below contains a set of recommended lints to + # encourage good coding practices. The lint set provided by the package is + # activated in the `analysis_options.yaml` file located at the root of your + # package. See that file for information about deactivating specific lint + # rules and activating additional ones. + flutter_lints: ^1.0.0 + barcode_widget: ^2.0.2 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter. +flutter: + + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + + # To add assets to your application, add an assets section, like this: + assets: + - assets/images/ + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware. + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/assets-and-images/#from-packages + + # To add custom fonts to your application, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/custom-fonts/#from-packages diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..8aaa46ac1ae21512746f852a42ba87e4165dfdd1 Binary files /dev/null and b/web/favicon.png differ diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png new file mode 100644 index 0000000000000000000000000000000000000000..b749bfef07473333cf1dd31e9eed89862a5d52aa Binary files /dev/null and b/web/icons/Icon-192.png differ diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png new file mode 100644 index 0000000000000000000000000000000000000000..88cfd48dff1169879ba46840804b412fe02fefd6 Binary files /dev/null and b/web/icons/Icon-512.png differ diff --git a/web/icons/Icon-maskable-192.png b/web/icons/Icon-maskable-192.png new file mode 100644 index 0000000000000000000000000000000000000000..eb9b4d76e525556d5d89141648c724331630325d Binary files /dev/null and b/web/icons/Icon-maskable-192.png differ diff --git a/web/icons/Icon-maskable-512.png b/web/icons/Icon-maskable-512.png new file mode 100644 index 0000000000000000000000000000000000000000..d69c56691fbdb0b7efa65097c7cc1edac12a6d3e Binary files /dev/null and b/web/icons/Icon-maskable-512.png differ diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000000000000000000000000000000000000..8beb35e05d758d0b71589eebf594344c3bbaab70 --- /dev/null +++ b/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + hello_world + + + + + + + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..17f284383c49a1a810c5cc23ea410d3232b8f9b4 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "hello_world", + "short_name": "hello_world", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] +}