diff --git a/Number Trivia/.gitignore b/Number Trivia/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/Number Trivia/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/Number Trivia/.metadata b/Number Trivia/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/Number Trivia/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/Number Trivia/README.md b/Number Trivia/README.md new file mode 100644 index 00000000..1286e6d1 --- /dev/null +++ b/Number Trivia/README.md @@ -0,0 +1,16 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/Number Trivia/analysis_options.yaml b/Number Trivia/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/Number Trivia/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/Number Trivia/android/.gitignore b/Number Trivia/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/Number Trivia/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/Number Trivia/android/app/build.gradle b/Number Trivia/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/Number Trivia/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.example.flutter_application_1" + 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/Number Trivia/android/app/src/debug/AndroidManifest.xml b/Number Trivia/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/Number Trivia/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/Number Trivia/android/app/src/main/AndroidManifest.xml b/Number Trivia/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/Number Trivia/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml b/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/Number Trivia/android/app/src/main/res/drawable/launch_background.xml b/Number Trivia/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/Number Trivia/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 00000000..b6b1aa44 Binary files /dev/null and b/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000..72b9394d Binary files /dev/null and b/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/Number Trivia/android/app/src/main/res/values-night/styles.xml b/Number Trivia/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/Number Trivia/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/Number Trivia/android/app/src/main/res/values/styles.xml b/Number Trivia/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/Number Trivia/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/Number Trivia/android/app/src/profile/AndroidManifest.xml b/Number Trivia/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/Number Trivia/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/Number Trivia/android/build.gradle b/Number Trivia/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/Number Trivia/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/Number Trivia/android/gradle.properties b/Number Trivia/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/Number Trivia/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/Number Trivia/android/gradle/wrapper/gradle-wrapper.properties b/Number Trivia/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/Number Trivia/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/Number Trivia/android/settings.gradle b/Number Trivia/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/Number Trivia/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/Number Trivia/ios/.gitignore b/Number Trivia/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/Number Trivia/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/Number Trivia/ios/Flutter/AppFrameworkInfo.plist b/Number Trivia/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/Number Trivia/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/Number Trivia/ios/Flutter/Debug.xcconfig b/Number Trivia/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/Number Trivia/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/Number Trivia/ios/Flutter/Release.xcconfig b/Number Trivia/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/Number Trivia/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/Number Trivia/ios/Runner.xcodeproj/project.pbxproj b/Number Trivia/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/Number Trivia/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata b/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/Number Trivia/ios/Runner/AppDelegate.swift b/Number Trivia/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/Number Trivia/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/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..c5e41220 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..c99d821a Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..f70886ad Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..7f702921 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..e345c7d9 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..88fcdef7 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..e96cb47e Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..22cc837a Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..37ab5b4c Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..0c564156 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..2dccc80c Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..7d9a9fa1 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..18fe4975 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..feabf59d Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..318ece90 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..8d2635b4 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..30b847d8 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..5b16e66f Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..314b4417 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..e9d90044 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..b03c822a Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..cdf11b4b Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..5e7e65a9 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..44558049 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..253d427e Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..1349ad69 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..3c5bf7df Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..5e5b9391 Binary files /dev/null and b/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard b/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number Trivia/ios/Runner/Base.lproj/Main.storyboard b/Number Trivia/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/Number Trivia/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number Trivia/ios/Runner/Info.plist b/Number Trivia/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/Number Trivia/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/Number Trivia/ios/Runner/Runner-Bridging-Header.h b/Number Trivia/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/Number Trivia/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/Number Trivia/lib/main.dart b/Number Trivia/lib/main.dart new file mode 100644 index 00000000..69072f83 --- /dev/null +++ b/Number Trivia/lib/main.dart @@ -0,0 +1,98 @@ +import 'package:flutter/material.dart'; +import 'package:http/http.dart' as http; +import 'package:google_fonts/google_fonts.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( + home: const Mainscreen(), + ); + } +} + +class Mainscreen extends StatefulWidget { + const Mainscreen({Key? key}) : super(key: key); + + @override + _MainscreenState createState() => _MainscreenState(); +} + +class _MainscreenState extends State { + final controller1 = TextEditingController(); + String y = ""; + void getfact() async { + int x = int.parse(controller1.text); + String s = x.toString(); + var url = Uri.parse("http://numbersapi.com/" + s); + final response = await http.get(url); + String body = response.body; + print(body); + setState(() { + y = "FUN FACT: " + body; + }); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Center( + child: Text( + 'NUMBER TRIVIA', + style: TextStyle(fontWeight: FontWeight.bold), + )), + shadowColor: Color(0xFF283593), + backgroundColor: Color(0xFF263238), + ), + body: Center( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'ENTER YOUR NUMBER', + style: GoogleFonts.mcLaren(), + ), + TextFormField( + keyboardType: TextInputType.number, + controller: controller1, + ), + SizedBox(height: 30), + OutlinedButton( + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + onPressed: getfact, + child: const Text( + 'FACT', + style: TextStyle( + color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text("$y"), + const SizedBox( + height: 40.0, + ), + Icon( + Icons.sailing_sharp, + color: Colors.black, + size: 30, + ), + ], + ), + ), + ), + backgroundColor: Colors.blue[50], + ); + } +} diff --git a/Number Trivia/pubspec.yaml b/Number Trivia/pubspec.yaml new file mode 100644 index 00000000..8d4ee43f --- /dev/null +++ b/Number Trivia/pubspec.yaml @@ -0,0 +1,89 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + http: ^0.13.4 + google_fonts: ^2.2.0 + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/Number Trivia/test/widget_test.dart b/Number Trivia/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/Number Trivia/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/Number Trivia/web/favicon.png b/Number Trivia/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/Number Trivia/web/favicon.png differ diff --git a/Number Trivia/web/icons/Icon-192.png b/Number Trivia/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/Number Trivia/web/icons/Icon-192.png differ diff --git a/Number Trivia/web/icons/Icon-512.png b/Number Trivia/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/Number Trivia/web/icons/Icon-512.png differ diff --git a/Number Trivia/web/icons/Icon-maskable-192.png b/Number Trivia/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/Number Trivia/web/icons/Icon-maskable-192.png differ diff --git a/Number Trivia/web/icons/Icon-maskable-512.png b/Number Trivia/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/Number Trivia/web/icons/Icon-maskable-512.png differ diff --git a/Number Trivia/web/index.html b/Number Trivia/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/Number Trivia/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/Number Trivia/web/manifest.json b/Number Trivia/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/Number Trivia/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +} diff --git a/Number_trivia/.gitignore b/Number_trivia/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/Number_trivia/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/Number_trivia/.metadata b/Number_trivia/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/Number_trivia/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/Number_trivia/README.md b/Number_trivia/README.md new file mode 100644 index 00000000..1286e6d1 --- /dev/null +++ b/Number_trivia/README.md @@ -0,0 +1,16 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/Number_trivia/analysis_options.yaml b/Number_trivia/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/Number_trivia/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/Number_trivia/android/.gitignore b/Number_trivia/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/Number_trivia/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/Number_trivia/android/app/build.gradle b/Number_trivia/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/Number_trivia/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.example.flutter_application_1" + 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/Number_trivia/android/app/src/debug/AndroidManifest.xml b/Number_trivia/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/Number_trivia/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/Number_trivia/android/app/src/main/AndroidManifest.xml b/Number_trivia/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/Number_trivia/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/Number_trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/Number_trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/Number_trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/Number_trivia/android/app/src/main/res/drawable-v21/launch_background.xml b/Number_trivia/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/Number_trivia/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/Number_trivia/android/app/src/main/res/drawable/launch_background.xml b/Number_trivia/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/Number_trivia/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/Number_trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/Number_trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/Number_trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/Number_trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/Number_trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/Number_trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/Number_trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/Number_trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 00000000..b6b1aa44 Binary files /dev/null and b/Number_trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/Number_trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/Number_trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/Number_trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/Number_trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/Number_trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000..72b9394d Binary files /dev/null and b/Number_trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/Number_trivia/android/app/src/main/res/values-night/styles.xml b/Number_trivia/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/Number_trivia/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/Number_trivia/android/app/src/main/res/values/styles.xml b/Number_trivia/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/Number_trivia/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/Number_trivia/android/app/src/profile/AndroidManifest.xml b/Number_trivia/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/Number_trivia/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/Number_trivia/android/build.gradle b/Number_trivia/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/Number_trivia/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/Number_trivia/android/gradle.properties b/Number_trivia/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/Number_trivia/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/Number_trivia/android/gradle/wrapper/gradle-wrapper.properties b/Number_trivia/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/Number_trivia/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/Number_trivia/android/settings.gradle b/Number_trivia/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/Number_trivia/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/Number_trivia/ios/.gitignore b/Number_trivia/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/Number_trivia/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/Number_trivia/ios/Flutter/AppFrameworkInfo.plist b/Number_trivia/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/Number_trivia/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/Number_trivia/ios/Flutter/Debug.xcconfig b/Number_trivia/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/Number_trivia/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/Number_trivia/ios/Flutter/Release.xcconfig b/Number_trivia/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/Number_trivia/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/Number_trivia/ios/Runner.xcodeproj/project.pbxproj b/Number_trivia/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/Number_trivia/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/Number_trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/Number_trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/Number_trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/Number_trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number_trivia/ios/Runner.xcworkspace/contents.xcworkspacedata b/Number_trivia/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/Number_trivia/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Number_trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Number_trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/Number_trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Number_trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Number_trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/Number_trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/Number_trivia/ios/Runner/AppDelegate.swift b/Number_trivia/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/Number_trivia/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/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..c5e41220 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..c99d821a Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..f70886ad Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..7f702921 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..e345c7d9 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..88fcdef7 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..e96cb47e Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..22cc837a Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..37ab5b4c Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..0c564156 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..2dccc80c Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..7d9a9fa1 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..18fe4975 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..feabf59d Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..318ece90 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..8d2635b4 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..30b847d8 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..5b16e66f Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..314b4417 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..e9d90044 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..b03c822a Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..cdf11b4b Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..5e7e65a9 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..44558049 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..253d427e Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..1349ad69 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..3c5bf7df Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..5e5b9391 Binary files /dev/null and b/Number_trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/Number_trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard b/Number_trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/Number_trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number_trivia/ios/Runner/Base.lproj/Main.storyboard b/Number_trivia/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/Number_trivia/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Number_trivia/ios/Runner/Info.plist b/Number_trivia/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/Number_trivia/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/Number_trivia/ios/Runner/Runner-Bridging-Header.h b/Number_trivia/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/Number_trivia/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/Number_trivia/lib/main.dart b/Number_trivia/lib/main.dart new file mode 100644 index 00000000..69072f83 --- /dev/null +++ b/Number_trivia/lib/main.dart @@ -0,0 +1,98 @@ +import 'package:flutter/material.dart'; +import 'package:http/http.dart' as http; +import 'package:google_fonts/google_fonts.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( + home: const Mainscreen(), + ); + } +} + +class Mainscreen extends StatefulWidget { + const Mainscreen({Key? key}) : super(key: key); + + @override + _MainscreenState createState() => _MainscreenState(); +} + +class _MainscreenState extends State { + final controller1 = TextEditingController(); + String y = ""; + void getfact() async { + int x = int.parse(controller1.text); + String s = x.toString(); + var url = Uri.parse("http://numbersapi.com/" + s); + final response = await http.get(url); + String body = response.body; + print(body); + setState(() { + y = "FUN FACT: " + body; + }); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Center( + child: Text( + 'NUMBER TRIVIA', + style: TextStyle(fontWeight: FontWeight.bold), + )), + shadowColor: Color(0xFF283593), + backgroundColor: Color(0xFF263238), + ), + body: Center( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'ENTER YOUR NUMBER', + style: GoogleFonts.mcLaren(), + ), + TextFormField( + keyboardType: TextInputType.number, + controller: controller1, + ), + SizedBox(height: 30), + OutlinedButton( + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + onPressed: getfact, + child: const Text( + 'FACT', + style: TextStyle( + color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text("$y"), + const SizedBox( + height: 40.0, + ), + Icon( + Icons.sailing_sharp, + color: Colors.black, + size: 30, + ), + ], + ), + ), + ), + backgroundColor: Colors.blue[50], + ); + } +} diff --git a/Number_trivia/pubspec.yaml b/Number_trivia/pubspec.yaml new file mode 100644 index 00000000..8d4ee43f --- /dev/null +++ b/Number_trivia/pubspec.yaml @@ -0,0 +1,89 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + http: ^0.13.4 + google_fonts: ^2.2.0 + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/Number_trivia/test/widget_test.dart b/Number_trivia/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/Number_trivia/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/Number_trivia/web/favicon.png b/Number_trivia/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/Number_trivia/web/favicon.png differ diff --git a/Number_trivia/web/icons/Icon-192.png b/Number_trivia/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/Number_trivia/web/icons/Icon-192.png differ diff --git a/Number_trivia/web/icons/Icon-512.png b/Number_trivia/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/Number_trivia/web/icons/Icon-512.png differ diff --git a/Number_trivia/web/icons/Icon-maskable-192.png b/Number_trivia/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/Number_trivia/web/icons/Icon-maskable-192.png differ diff --git a/Number_trivia/web/icons/Icon-maskable-512.png b/Number_trivia/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/Number_trivia/web/icons/Icon-maskable-512.png differ diff --git a/Number_trivia/web/index.html b/Number_trivia/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/Number_trivia/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/Number_trivia/web/manifest.json b/Number_trivia/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/Number_trivia/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +} diff --git a/Readme.md b/Readme.md index fcf7c12b..b3c7ead8 100644 --- a/Readme.md +++ b/Readme.md @@ -5,3 +5,4 @@ ## [Essential Git](https://github.com/IRIS-NITK/IRIS-RoR-Bootcamp-2020/blob/main/essential_git.md) ## [Timeline](/general/timeline.md) +![number_trivia](https://user-images.githubusercontent.com/93276896/150567241-6b796ad3-b1b2-412a-9533-017893d5c671.gif) diff --git a/TODO/flutter_application_1/.gitignore b/TODO/flutter_application_1/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/TODO/flutter_application_1/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/TODO/flutter_application_1/.metadata b/TODO/flutter_application_1/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/TODO/flutter_application_1/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/TODO/flutter_application_1/README.md b/TODO/flutter_application_1/README.md new file mode 100644 index 00000000..1286e6d1 --- /dev/null +++ b/TODO/flutter_application_1/README.md @@ -0,0 +1,16 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/TODO/flutter_application_1/analysis_options.yaml b/TODO/flutter_application_1/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/TODO/flutter_application_1/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/TODO/flutter_application_1/android/.gitignore b/TODO/flutter_application_1/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/TODO/flutter_application_1/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/TODO/flutter_application_1/android/app/build.gradle b/TODO/flutter_application_1/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/TODO/flutter_application_1/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.example.flutter_application_1" + 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/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml b/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml b/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml b/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml b/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png b/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png differ diff --git a/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png b/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png differ diff --git a/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png new file mode 100644 index 00000000..31f61c1d Binary files /dev/null and b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png differ diff --git a/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png differ diff --git a/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png new file mode 100644 index 00000000..dbfab146 Binary files /dev/null and b/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png differ diff --git a/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml b/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml b/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml b/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/TODO/flutter_application_1/android/build.gradle b/TODO/flutter_application_1/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/TODO/flutter_application_1/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/TODO/flutter_application_1/android/gradle.properties b/TODO/flutter_application_1/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/TODO/flutter_application_1/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties b/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/TODO/flutter_application_1/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/TODO/flutter_application_1/android/settings.gradle b/TODO/flutter_application_1/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/TODO/flutter_application_1/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/TODO/flutter_application_1/ios/.gitignore b/TODO/flutter_application_1/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/TODO/flutter_application_1/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist b/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/TODO/flutter_application_1/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/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig b/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/TODO/flutter_application_1/ios/Flutter/Release.xcconfig b/TODO/flutter_application_1/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/TODO/flutter_application_1/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/TODO/flutter_application_1/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata b/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/TODO/flutter_application_1/ios/Runner/AppDelegate.swift b/TODO/flutter_application_1/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/TODO/flutter_application_1/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/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..22d9ec93 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..dd326f92 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..4597e134 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..35d471e1 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..f43c54e1 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..24c867f2 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..dd385148 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..83299a4a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..bb246311 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..b4d7d3ed Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..5f87ecf8 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..3f38d53a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..b31f6263 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..1ba91256 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..ce6ff769 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..5cb9d18a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..6bd26d63 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..b97088b8 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..4fd9a4a6 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..0476dc3b Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..a986facd Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..16b4ebfb Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..70f40394 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..b84ca313 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..1a1e74bd Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..f9075040 Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..4fd2cc3a Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..1036b5cd Binary files /dev/null and b/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard b/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard b/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TODO/flutter_application_1/ios/Runner/Info.plist b/TODO/flutter_application_1/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h b/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/TODO/flutter_application_1/lib/main.dart b/TODO/flutter_application_1/lib/main.dart new file mode 100644 index 00000000..6647003a --- /dev/null +++ b/TODO/flutter_application_1/lib/main.dart @@ -0,0 +1,119 @@ +import 'package:flutter/material.dart'; +import 'package:hive/hive.dart'; +import 'package:flutter_application_1/tasks.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( + title: 'Flutter Demo', + theme: ThemeData( + primarySwatch: Colors.blue, + ), + home: const MyHomePage(title: 'Flutter Demo Home Page'), + ); + } +} + +final user_taskState every = user_taskState(); + +class MyHomePage extends StatefulWidget { + const MyHomePage({Key? key, required this.title}) : super(key: key); + + final String title; + + @override + State createState() => _MyHomePageState(); +} + +class _MyHomePageState extends State { + String y = "hello"; + String r = "hel"; + var box = Hive.openBox('tasks'); + int i = 0; + List k = every.p; + List l = every.t; + void test() { + List f = every.disp(); + + print(f); + setState(() {}); + } + + void rec() { + print("hey"); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: const Text( + 'TO-DO', + style: TextStyle( + color: const Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: const Color(0xFFA5D6A7), + shadowColor: const Color(0xFF263238), + leading: Tooltip( + message: 'Add task', + child: IconButton( + icon: Icon(Icons.add_box_outlined), + iconSize: 40, + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) { + return user_task(); + }), + ); + })), + ), + body: ListView(children: task2()), + floatingActionButton: FloatingActionButton( + onPressed: test, + tooltip: 'View tasks', + child: Icon(Icons.remove_red_eye)), + ); + } + + Widget task3(String title, String subtitle) { + return ListTile( + leading: Icon(Icons.alarm_sharp), + title: Text(title), + subtitle: Text(subtitle), + trailing: Wrap( + children: [ + Tooltip( + message: "complete", + child: IconButton( + onPressed: () { + every.del(title); + }, + icon: Icon( + Icons.check_box, + color: Colors.green, + ), + ), + ), + ], + )); + } + + List task2() { + final List task1 = []; + for (i = 0; i < k.length; i++) { + task1.add(Card(child: task3(k[i], l[i]))); + } + return task1; + } +} diff --git a/TODO/flutter_application_1/lib/tasks.dart b/TODO/flutter_application_1/lib/tasks.dart new file mode 100644 index 00000000..3fef3004 --- /dev/null +++ b/TODO/flutter_application_1/lib/tasks.dart @@ -0,0 +1,143 @@ +import 'package:hive/hive.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +@HiveType(typeId: 0) +class tasks { + tasks({required this.task_deet, required this.deadline}); + + @HiveField(0) + String task_deet; + + @HiveField(1) + String deadline; + + @override + String toString() { + return '$task_deet: $deadline'; + } +} + +class user_task extends StatefulWidget { + user_task({Key? key}) : super(key: key); + + @override + State createState() => user_taskState(); +} + +class user_taskState extends State { + final controller1 = TextEditingController(); + + final controller2 = TextEditingController(); + List p = []; + List t = []; + + String x = ""; + + Future? add_task() async { + var box = await Hive.openBox('tasks'); + box.put(controller1.text, controller2.text); + String d = controller1.text + box.get(controller1.text); + setState(() { + x = "THIS TASK HAS BEEN ADDED "; + }); + return controller1; + } + + List disp() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + var now = DateTime.parse('2020-01-02 03:04:05'); + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add("Time remaining- " + + (DateTime.parse(box.getAt(i)).difference(DateTime.now())).toString()); + } + print(now); + return p; + } + + List disp2() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add(box.getAt(i)); + } + + return t; + } + + void del(String key) { + var box = Hive.box('tasks'); + + box.delete(key); + setState(() { + disp(); + }); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: Text( + "NEW TASK", + style: const TextStyle( + color: Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: Color(0xFFA5D6A7), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'TASK TO BE COMPLETED', + style: GoogleFonts.mcLaren(), + ), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller1, + decoration: InputDecoration( + hintText: "Task description", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 30), + Text("ENTER THE DEADLINE", style: GoogleFonts.mcLaren()), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller2, + decoration: InputDecoration( + hintText: "2020-01-02 03:04:05", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 50), + OutlinedButton( + onPressed: add_task, + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + child: Text( + "ADD TASK", + style: + TextStyle(color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text(x, style: GoogleFonts.mcLaren()), + ], + ), + ), + ); + } +} diff --git a/TODO/flutter_application_1/pubspec.yaml b/TODO/flutter_application_1/pubspec.yaml new file mode 100644 index 00000000..9aca65cc --- /dev/null +++ b/TODO/flutter_application_1/pubspec.yaml @@ -0,0 +1,92 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + hive: ^2.0.5 + hive_flutter: ^1.1.0 + google_fonts: ^2.2.0 + + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/TODO/flutter_application_1/test/widget_test.dart b/TODO/flutter_application_1/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/TODO/flutter_application_1/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/TODO/flutter_application_1/web/favicon.png b/TODO/flutter_application_1/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/TODO/flutter_application_1/web/favicon.png differ diff --git a/TODO/flutter_application_1/web/icons/Icon-192.png b/TODO/flutter_application_1/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/TODO/flutter_application_1/web/icons/Icon-192.png differ diff --git a/TODO/flutter_application_1/web/icons/Icon-512.png b/TODO/flutter_application_1/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/TODO/flutter_application_1/web/icons/Icon-512.png differ diff --git a/TODO/flutter_application_1/web/icons/Icon-maskable-192.png b/TODO/flutter_application_1/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/TODO/flutter_application_1/web/icons/Icon-maskable-192.png differ diff --git a/TODO/flutter_application_1/web/icons/Icon-maskable-512.png b/TODO/flutter_application_1/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/TODO/flutter_application_1/web/icons/Icon-maskable-512.png differ diff --git a/TODO/flutter_application_1/web/index.html b/TODO/flutter_application_1/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/TODO/flutter_application_1/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/TODO/flutter_application_1/web/manifest.json b/TODO/flutter_application_1/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/TODO/flutter_application_1/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +} diff --git a/dart/Q1.dart b/dart/Q1.dart new file mode 100644 index 00000000..7ca49a7e --- /dev/null +++ b/dart/Q1.dart @@ -0,0 +1,21 @@ +import 'dart:io'; + +void pallindrome(int n) { + int x = 0; + int z = 1; + print(x); + print(z); + int c; + for (int i = 0; i < n - 2; i++) { + c = x + z; + print(c); + x = z; + z = c; + } +} + +void main() { + print("Enter no. of terms"); + int? n = int.parse(stdin.readLineSync()!); + pallindrome(n); +} diff --git a/dart/Q1_output.png b/dart/Q1_output.png new file mode 100644 index 00000000..c855013a Binary files /dev/null and b/dart/Q1_output.png differ diff --git a/dart/Q2.dart b/dart/Q2.dart new file mode 100644 index 00000000..cefc7b06 --- /dev/null +++ b/dart/Q2.dart @@ -0,0 +1,37 @@ +import 'dart:math'; +import 'dart:io'; + +bool semiprime(var n) { + if (n <= 1) { + return false; + } + int k = 0; + final x = sqrt(n).floor(); + for (int i = 2; i <= x; i++) { + while (n % i == 0) { + n /= i; + k += 1; + } + if (k >= 2) { + break; + } + } + if (n > 1) { + k += 1; + } + if (k == 2) { + return true; + } else { + return false; + } +} + +void main() { + print("Enter the no. to be checked "); + int? n = int.parse(stdin.readLineSync()!); + if (semiprime(n) == true) { + print("True,the given number is semiprime"); + } else { + print("False,the given number is not semiprime"); + } +} diff --git a/dart/Q2_output.png b/dart/Q2_output.png new file mode 100644 index 00000000..6ca043d5 Binary files /dev/null and b/dart/Q2_output.png differ diff --git a/dart/Q3.dart b/dart/Q3.dart new file mode 100644 index 00000000..05611dcb --- /dev/null +++ b/dart/Q3.dart @@ -0,0 +1,32 @@ +import 'dart:math'; +import 'dart:io'; + +bool primarr(int n, List l) { + int s = 0; + int y; + for (y in l) { + s += y; + } + for (int i = 2; i < sqrt(s).floor() + 1; i++) { + if (s % i == 0) { + return false; + } + } + return true; +} + +void main() { + print("Enter no. of terms of the array "); + int? n = int.parse(stdin.readLineSync()!); + List l = []; + for (int i = 0; i < n; i++) { + print("Enter a prime no. "); + int? x = int.parse(stdin.readLineSync()!); + l.add(x); + } + if (primarr(n, l) == true) { + print("True,the sum of the given array is prime"); + } else { + print("False,the sum of the given array is not prime"); + } +} diff --git a/dart/Q3_output.png b/dart/Q3_output.png new file mode 100644 index 00000000..09e9aca0 Binary files /dev/null and b/dart/Q3_output.png differ diff --git a/dart/Q4.dart b/dart/Q4.dart new file mode 100644 index 00000000..5081fe3a --- /dev/null +++ b/dart/Q4.dart @@ -0,0 +1,78 @@ +import 'dart:io'; + +void main() { + var student1 = OpenElective(); + print("Enter branch"); + String? branch = stdin.readLineSync(); + print("Enter year"); + int? year = int.parse(stdin.readLineSync()!); + var student = BranchElective(branch, year); + for (int j = 0; j < 3; j++) { + print("Enter type of user 1.Admin 2.Student"); + int? n = int.parse(stdin.readLineSync()!); + if (n == 1) { + print("Enter course type 1.Open elective 2.Branch elective"); + int? x = int.parse(stdin.readLineSync()!); + if (x == 1) { + print("Enter no. of open electives to added"); + int? g = int.parse(stdin.readLineSync()!); + for (int h = 0; h < g; h++) { + print("Enter course name"); + String? coursename = stdin.readLineSync(); + print("Enter course code"); + String? coursecode = stdin.readLineSync(); + student1.addcourse(coursename, coursecode); + } + } else { + print("Enter no. of branch electives to added"); + int? g = int.parse(stdin.readLineSync()!); + for (int h = 0; h < g; h++) { + print("Enter course name"); + String? coursename = stdin.readLineSync(); + print("Enter course code"); + String? coursecode = stdin.readLineSync(); + + student.addcourse(coursename, coursecode); + } + } + } else { + print("Enter branch"); + String? branch = stdin.readLineSync(); + print("Enter year"); + int? year = int.parse(stdin.readLineSync()!); + student1.viewcourse(); + student.viewcourse(branch, year); + } + } +} + +class BranchElective { + List courseName = []; + List courseCode = []; + String? branch = ""; + int year = 0; + BranchElective(this.branch, this.year); + + void addcourse(String? x, String? y) { + courseName.add(x); + courseCode.add(y); + } + + void viewcourse(branch, year) { + print(courseName); + } +} + +class OpenElective { + List courseName = []; + List courseCode = []; + + void addcourse(String? x, String? y) { + courseName.add(x); + courseCode.add(y); + } + + void viewcourse() { + print(courseName); + } +} diff --git a/dart/Q4_output.png b/dart/Q4_output.png new file mode 100644 index 00000000..92bc5af6 Binary files /dev/null and b/dart/Q4_output.png differ diff --git a/session_1/assignment_1 b/session_1/assignment_1 new file mode 160000 index 00000000..ddaf69e1 --- /dev/null +++ b/session_1/assignment_1 @@ -0,0 +1 @@ +Subproject commit ddaf69e105c337c0b6fa3ec584575dd8c1ea0073 diff --git a/session_1/assignment_1.zip b/session_1/assignment_1.zip new file mode 100644 index 00000000..2dee79df Binary files /dev/null and b/session_1/assignment_1.zip differ diff --git a/session_3/Number Trivia/.gitignore b/session_3/Number Trivia/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/session_3/Number Trivia/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/session_3/Number Trivia/.metadata b/session_3/Number Trivia/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/session_3/Number Trivia/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/session_3/Number Trivia/README.md b/session_3/Number Trivia/README.md new file mode 100644 index 00000000..1286e6d1 --- /dev/null +++ b/session_3/Number Trivia/README.md @@ -0,0 +1,16 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/session_3/Number Trivia/analysis_options.yaml b/session_3/Number Trivia/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/session_3/Number Trivia/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/session_3/Number Trivia/android/.gitignore b/session_3/Number Trivia/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/session_3/Number Trivia/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/session_3/Number Trivia/android/app/build.gradle b/session_3/Number Trivia/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/session_3/Number Trivia/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.example.flutter_application_1" + 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/session_3/Number Trivia/android/app/src/debug/AndroidManifest.xml b/session_3/Number Trivia/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_3/Number Trivia/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_3/Number Trivia/android/app/src/main/AndroidManifest.xml b/session_3/Number Trivia/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/session_3/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/session_3/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/session_3/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml b/session_3/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_3/Number Trivia/android/app/src/main/res/drawable/launch_background.xml b/session_3/Number Trivia/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_3/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/session_3/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/session_3/Number Trivia/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/session_3/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/session_3/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/session_3/Number Trivia/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/session_3/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/session_3/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 00000000..b6b1aa44 Binary files /dev/null and b/session_3/Number Trivia/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/session_3/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/session_3/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/session_3/Number Trivia/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/session_3/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/session_3/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000..72b9394d Binary files /dev/null and b/session_3/Number Trivia/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/session_3/Number Trivia/android/app/src/main/res/values-night/styles.xml b/session_3/Number Trivia/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_3/Number Trivia/android/app/src/main/res/values/styles.xml b/session_3/Number Trivia/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/session_3/Number Trivia/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_3/Number Trivia/android/app/src/profile/AndroidManifest.xml b/session_3/Number Trivia/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_3/Number Trivia/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_3/Number Trivia/android/build.gradle b/session_3/Number Trivia/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/session_3/Number Trivia/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/session_3/Number Trivia/android/gradle.properties b/session_3/Number Trivia/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/session_3/Number Trivia/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/session_3/Number Trivia/android/gradle/wrapper/gradle-wrapper.properties b/session_3/Number Trivia/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/session_3/Number Trivia/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/session_3/Number Trivia/android/settings.gradle b/session_3/Number Trivia/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/session_3/Number Trivia/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/session_3/Number Trivia/ios/.gitignore b/session_3/Number Trivia/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/session_3/Number Trivia/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/session_3/Number Trivia/ios/Flutter/AppFrameworkInfo.plist b/session_3/Number Trivia/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/session_3/Number Trivia/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/session_3/Number Trivia/ios/Flutter/Debug.xcconfig b/session_3/Number Trivia/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_3/Number Trivia/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_3/Number Trivia/ios/Flutter/Release.xcconfig b/session_3/Number Trivia/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_3/Number Trivia/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_3/Number Trivia/ios/Runner.xcodeproj/project.pbxproj b/session_3/Number Trivia/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/session_3/Number Trivia/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_3/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/session_3/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_3/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata b/session_3/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_3/Number Trivia/ios/Runner/AppDelegate.swift b/session_3/Number Trivia/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/session_3/Number Trivia/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/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..c5e41220 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..c99d821a Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..f70886ad Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..7f702921 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..e345c7d9 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..c77eefe6 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..88fcdef7 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..e96cb47e Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..22cc837a Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..37ab5b4c Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..0c564156 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..2dccc80c Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..7d9a9fa1 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..18fe4975 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..feabf59d Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..318ece90 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..8d2635b4 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..30b847d8 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..e963bc92 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..5b16e66f Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..314b4417 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..e9d90044 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..b03c822a Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..cdf11b4b Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..5e7e65a9 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..44558049 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..fca22738 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..253d427e Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..1349ad69 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..3c5bf7df Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..5e5b9391 Binary files /dev/null and b/session_3/Number Trivia/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/session_3/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard b/session_3/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_3/Number Trivia/ios/Runner/Base.lproj/Main.storyboard b/session_3/Number Trivia/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_3/Number Trivia/ios/Runner/Info.plist b/session_3/Number Trivia/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/session_3/Number Trivia/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/session_3/Number Trivia/ios/Runner/Runner-Bridging-Header.h b/session_3/Number Trivia/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/session_3/Number Trivia/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/session_3/Number Trivia/lib/main.dart b/session_3/Number Trivia/lib/main.dart new file mode 100644 index 00000000..69072f83 --- /dev/null +++ b/session_3/Number Trivia/lib/main.dart @@ -0,0 +1,98 @@ +import 'package:flutter/material.dart'; +import 'package:http/http.dart' as http; +import 'package:google_fonts/google_fonts.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( + home: const Mainscreen(), + ); + } +} + +class Mainscreen extends StatefulWidget { + const Mainscreen({Key? key}) : super(key: key); + + @override + _MainscreenState createState() => _MainscreenState(); +} + +class _MainscreenState extends State { + final controller1 = TextEditingController(); + String y = ""; + void getfact() async { + int x = int.parse(controller1.text); + String s = x.toString(); + var url = Uri.parse("http://numbersapi.com/" + s); + final response = await http.get(url); + String body = response.body; + print(body); + setState(() { + y = "FUN FACT: " + body; + }); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Center( + child: Text( + 'NUMBER TRIVIA', + style: TextStyle(fontWeight: FontWeight.bold), + )), + shadowColor: Color(0xFF283593), + backgroundColor: Color(0xFF263238), + ), + body: Center( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'ENTER YOUR NUMBER', + style: GoogleFonts.mcLaren(), + ), + TextFormField( + keyboardType: TextInputType.number, + controller: controller1, + ), + SizedBox(height: 30), + OutlinedButton( + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + onPressed: getfact, + child: const Text( + 'FACT', + style: TextStyle( + color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text("$y"), + const SizedBox( + height: 40.0, + ), + Icon( + Icons.sailing_sharp, + color: Colors.black, + size: 30, + ), + ], + ), + ), + ), + backgroundColor: Colors.blue[50], + ); + } +} diff --git a/session_3/Number Trivia/pubspec.yaml b/session_3/Number Trivia/pubspec.yaml new file mode 100644 index 00000000..8d4ee43f --- /dev/null +++ b/session_3/Number Trivia/pubspec.yaml @@ -0,0 +1,89 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + http: ^0.13.4 + google_fonts: ^2.2.0 + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/session_3/Number Trivia/test/widget_test.dart b/session_3/Number Trivia/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/session_3/Number Trivia/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/session_3/Number Trivia/web/favicon.png b/session_3/Number Trivia/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/session_3/Number Trivia/web/favicon.png differ diff --git a/session_3/Number Trivia/web/icons/Icon-192.png b/session_3/Number Trivia/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/session_3/Number Trivia/web/icons/Icon-192.png differ diff --git a/session_3/Number Trivia/web/icons/Icon-512.png b/session_3/Number Trivia/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/session_3/Number Trivia/web/icons/Icon-512.png differ diff --git a/session_3/Number Trivia/web/icons/Icon-maskable-192.png b/session_3/Number Trivia/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/session_3/Number Trivia/web/icons/Icon-maskable-192.png differ diff --git a/session_3/Number Trivia/web/icons/Icon-maskable-512.png b/session_3/Number Trivia/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/session_3/Number Trivia/web/icons/Icon-maskable-512.png differ diff --git a/session_3/Number Trivia/web/index.html b/session_3/Number Trivia/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/session_3/Number Trivia/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/session_3/Number Trivia/web/manifest.json b/session_3/Number Trivia/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/session_3/Number Trivia/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +} diff --git a/session_4/TODO/flutter_application_1/.gitignore b/session_4/TODO/flutter_application_1/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/session_4/TODO/flutter_application_1/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/session_4/TODO/flutter_application_1/.metadata b/session_4/TODO/flutter_application_1/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/session_4/TODO/flutter_application_1/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/session_4/TODO/flutter_application_1/README.md b/session_4/TODO/flutter_application_1/README.md new file mode 100644 index 00000000..1286e6d1 --- /dev/null +++ b/session_4/TODO/flutter_application_1/README.md @@ -0,0 +1,16 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. diff --git a/session_4/TODO/flutter_application_1/analysis_options.yaml b/session_4/TODO/flutter_application_1/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/session_4/TODO/flutter_application_1/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/session_4/TODO/flutter_application_1/android/.gitignore b/session_4/TODO/flutter_application_1/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/session_4/TODO/flutter_application_1/android/app/build.gradle b/session_4/TODO/flutter_application_1/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/session_4/TODO/flutter_application_1/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.example.flutter_application_1" + 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/session_4/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml b/session_4/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml b/session_4/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/session_4/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml b/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml b/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png differ diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png differ diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png new file mode 100644 index 00000000..31f61c1d Binary files /dev/null and b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png differ diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png differ diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png new file mode 100644 index 00000000..dbfab146 Binary files /dev/null and b/session_4/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png differ diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml b/session_4/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml b/session_4/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_4/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml b/session_4/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_4/TODO/flutter_application_1/android/build.gradle b/session_4/TODO/flutter_application_1/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/session_4/TODO/flutter_application_1/android/gradle.properties b/session_4/TODO/flutter_application_1/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/session_4/TODO/flutter_application_1/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/session_4/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties b/session_4/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/session_4/TODO/flutter_application_1/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/session_4/TODO/flutter_application_1/android/settings.gradle b/session_4/TODO/flutter_application_1/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/session_4/TODO/flutter_application_1/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/session_4/TODO/flutter_application_1/ios/.gitignore b/session_4/TODO/flutter_application_1/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/session_4/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist b/session_4/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/session_4/TODO/flutter_application_1/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/session_4/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig b/session_4/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_4/TODO/flutter_application_1/ios/Flutter/Release.xcconfig b/session_4/TODO/flutter_application_1/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/session_4/TODO/flutter_application_1/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner/AppDelegate.swift b/session_4/TODO/flutter_application_1/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/session_4/TODO/flutter_application_1/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/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..22d9ec93 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..dd326f92 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..4597e134 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..35d471e1 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..f43c54e1 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..24c867f2 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..dd385148 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..83299a4a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..bb246311 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..b4d7d3ed Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..5f87ecf8 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..3f38d53a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..b31f6263 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..1ba91256 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..ce6ff769 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..5cb9d18a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..6bd26d63 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..b97088b8 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..4fd9a4a6 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..0476dc3b Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..a986facd Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..16b4ebfb Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..70f40394 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..b84ca313 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..1a1e74bd Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..f9075040 Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..4fd2cc3a Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..1036b5cd Binary files /dev/null and b/session_4/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard b/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard b/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_4/TODO/flutter_application_1/ios/Runner/Info.plist b/session_4/TODO/flutter_application_1/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/session_4/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h b/session_4/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/session_4/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/session_4/TODO/flutter_application_1/lib/main.dart b/session_4/TODO/flutter_application_1/lib/main.dart new file mode 100644 index 00000000..89343aeb --- /dev/null +++ b/session_4/TODO/flutter_application_1/lib/main.dart @@ -0,0 +1,120 @@ +import 'package:flutter/material.dart'; +import 'package:hive/hive.dart'; +import 'package:flutter_application_1/tasks.dart'; +import 'package:google_fonts/google_fonts.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( + title: 'Flutter Demo', + theme: ThemeData( + primarySwatch: Colors.blue, + ), + home: const MyHomePage(title: 'Flutter Demo Home Page'), + ); + } +} + +final user_taskState every = user_taskState(); + +class MyHomePage extends StatefulWidget { + const MyHomePage({Key? key, required this.title}) : super(key: key); + + final String title; + + @override + State createState() => _MyHomePageState(); +} + +class _MyHomePageState extends State { + String y = "hello"; + String r = "hel"; + var box = Hive.openBox('tasks'); + int i = 0; + List k = every.p; + List l = every.t; + void test() { + List f = every.disp(); + + print(f); + setState(() {}); + } + + void rec() { + print("hey"); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: const Text( + 'TO-DO', + style: TextStyle( + color: const Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: const Color(0xFFA5D6A7), + shadowColor: const Color(0xFF263238), + leading: Tooltip( + message: 'Add task', + child: IconButton( + icon: Icon(Icons.add_box_outlined), + iconSize: 40, + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) { + return user_task(); + }), + ); + })), + ), + body: ListView(children: task2()), + floatingActionButton: FloatingActionButton( + onPressed: test, + tooltip: 'View tasks', + child: Icon(Icons.remove_red_eye)), + ); + } + + Widget task3(String title, String subtitle) { + return ListTile( + leading: Icon(Icons.alarm_sharp), + title: Text(title), + subtitle: Text(subtitle), + trailing: Wrap( + children: [ + Tooltip( + message: "complete", + child: IconButton( + onPressed: () { + every.del(title); + }, + icon: Icon( + Icons.check_box, + color: Colors.green, + ), + ), + ), + ], + )); + } + + List task2() { + final List task1 = []; + for (i = 0; i < k.length; i++) { + task1.add(Card(child: task3(k[i], l[i]))); + } + return task1; + } +} diff --git a/session_4/TODO/flutter_application_1/lib/tasks.dart b/session_4/TODO/flutter_application_1/lib/tasks.dart new file mode 100644 index 00000000..af183ba7 --- /dev/null +++ b/session_4/TODO/flutter_application_1/lib/tasks.dart @@ -0,0 +1,141 @@ +import 'package:hive/hive.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +@HiveType(typeId: 0) +class tasks { + tasks({required this.task_deet, required this.deadline}); + + @HiveField(0) + String task_deet; + + @HiveField(1) + String deadline; + + @override + String toString() { + return '$task_deet: $deadline'; + } +} + +class user_task extends StatefulWidget { + user_task({Key? key}) : super(key: key); + + @override + State createState() => user_taskState(); +} + +class user_taskState extends State { + final controller1 = TextEditingController(); + + final controller2 = TextEditingController(); + List p = []; + List t = []; + + String x = ""; + + Future? add_task() async { + var box = await Hive.openBox('tasks'); + box.put(controller1.text, controller2.text); + String d = controller1.text + box.get(controller1.text); + setState(() { + x = "THIS TASK HAS BEEN ADDED "; + }); + return controller1; + } + + List disp() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + var now = DateTime.parse('2020-01-02 03:04:05'); + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add("Time remaining- " + + (DateTime.parse(box.getAt(i)).difference(DateTime.now())).toString()); + } + print(now); + return p; + } + + List disp2() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + var now; + var finish; + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add(box.getAt(i)); + } + + return t; + } + + void del(String key) { + var box = Hive.box('tasks'); + + box.delete(key); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: Text( + "NEW TASK", + style: const TextStyle( + color: Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: Color(0xFFA5D6A7), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'TASK TO BE COMPLETED', + style: GoogleFonts.mcLaren(), + ), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller1, + decoration: InputDecoration( + hintText: "Task description", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 30), + Text("ENTER THE DEADLINE", style: GoogleFonts.mcLaren()), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller2, + decoration: InputDecoration( + hintText: "2020-01-02 03:04:05", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 50), + OutlinedButton( + onPressed: add_task, + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + child: Text( + "ADD TASK", + style: + TextStyle(color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text(x, style: GoogleFonts.mcLaren()), + ], + ), + ), + ); + } +} diff --git a/session_4/TODO/flutter_application_1/pubspec.yaml b/session_4/TODO/flutter_application_1/pubspec.yaml new file mode 100644 index 00000000..9aca65cc --- /dev/null +++ b/session_4/TODO/flutter_application_1/pubspec.yaml @@ -0,0 +1,92 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + hive: ^2.0.5 + hive_flutter: ^1.1.0 + google_fonts: ^2.2.0 + + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/session_4/TODO/flutter_application_1/test/widget_test.dart b/session_4/TODO/flutter_application_1/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/session_4/TODO/flutter_application_1/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/session_4/TODO/flutter_application_1/web/favicon.png b/session_4/TODO/flutter_application_1/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/session_4/TODO/flutter_application_1/web/favicon.png differ diff --git a/session_4/TODO/flutter_application_1/web/icons/Icon-192.png b/session_4/TODO/flutter_application_1/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/session_4/TODO/flutter_application_1/web/icons/Icon-192.png differ diff --git a/session_4/TODO/flutter_application_1/web/icons/Icon-512.png b/session_4/TODO/flutter_application_1/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/session_4/TODO/flutter_application_1/web/icons/Icon-512.png differ diff --git a/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-192.png b/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-192.png differ diff --git a/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-512.png b/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/session_4/TODO/flutter_application_1/web/icons/Icon-maskable-512.png differ diff --git a/session_4/TODO/flutter_application_1/web/index.html b/session_4/TODO/flutter_application_1/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/session_4/TODO/flutter_application_1/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/session_4/TODO/flutter_application_1/web/manifest.json b/session_4/TODO/flutter_application_1/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/session_4/TODO/flutter_application_1/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +} diff --git a/session_5/TODO/flutter_application_1/.gitignore b/session_5/TODO/flutter_application_1/.gitignore new file mode 100644 index 00000000..0fa6b675 --- /dev/null +++ b/session_5/TODO/flutter_application_1/.gitignore @@ -0,0 +1,46 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +**/ios/Flutter/.last_build_id +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +.packages +.pub-cache/ +.pub/ +/build/ + +# Web related +lib/generated_plugin_registrant.dart + +# Symbolication related +app.*.symbols + +# Obfuscation related +app.*.map.json + +# Android Studio will place build artifacts here +/android/app/debug +/android/app/profile +/android/app/release diff --git a/session_5/TODO/flutter_application_1/.metadata b/session_5/TODO/flutter_application_1/.metadata new file mode 100644 index 00000000..fd70cabc --- /dev/null +++ b/session_5/TODO/flutter_application_1/.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: 77d935af4db863f6abd0b9c31c7e6df2a13de57b + channel: stable + +project_type: app diff --git a/session_5/TODO/flutter_application_1/README.md b/session_5/TODO/flutter_application_1/README.md new file mode 100644 index 00000000..d71bc5a3 --- /dev/null +++ b/session_5/TODO/flutter_application_1/README.md @@ -0,0 +1,21 @@ +# flutter_application_1 + +A new Flutter project. + +## 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: + +- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) +- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) + +For help getting started with Flutter, view our +[online documentation](https://flutter.dev/docs), which offers tutorials, +samples, guidance on mobile development, and a full API reference. + + + + +![Flutter-Demo-Google-Chrome-2022](https://user-images.githubusercontent.com/93276896/151692603-74c63ede-2dd8-4d9b-a6e8-8685b58adcf0.gif) diff --git a/session_5/TODO/flutter_application_1/analysis_options.yaml b/session_5/TODO/flutter_application_1/analysis_options.yaml new file mode 100644 index 00000000..61b6c4de --- /dev/null +++ b/session_5/TODO/flutter_application_1/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/session_5/TODO/flutter_application_1/android/.gitignore b/session_5/TODO/flutter_application_1/android/.gitignore new file mode 100644 index 00000000..6f568019 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/.gitignore @@ -0,0 +1,13 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties +**/*.keystore +**/*.jks diff --git a/session_5/TODO/flutter_application_1/android/app/build.gradle b/session_5/TODO/flutter_application_1/android/app/build.gradle new file mode 100644 index 00000000..05134535 --- /dev/null +++ b/session_5/TODO/flutter_application_1/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.example.flutter_application_1" + 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/session_5/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml b/session_5/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml b/session_5/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..ca541585 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt b/session_5/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt new file mode 100644 index 00000000..5526f817 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/kotlin/com/example/flutter_application_1/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.flutter_application_1 + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml b/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 00000000..f74085f3 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml b/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-hdpi/app_icon.png differ diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-mdpi/app_icon.png differ diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png new file mode 100644 index 00000000..31f61c1d Binary files /dev/null and b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xhdpi/app_icon.png differ diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxhdpi/app_icon.png differ diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png new file mode 100644 index 00000000..dbfab146 Binary files /dev/null and b/session_5/TODO/flutter_application_1/android/app/src/main/res/mipmap-xxxhdpi/app_icon.png differ diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml b/session_5/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 00000000..3db14bb5 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml b/session_5/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..d460d1e9 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/session_5/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml b/session_5/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..1bf3458b --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/session_5/TODO/flutter_application_1/android/build.gradle b/session_5/TODO/flutter_application_1/android/build.gradle new file mode 100644 index 00000000..24047dce --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/build.gradle @@ -0,0 +1,31 @@ +buildscript { + ext.kotlin_version = '1.3.50' + 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/session_5/TODO/flutter_application_1/android/gradle.properties b/session_5/TODO/flutter_application_1/android/gradle.properties new file mode 100644 index 00000000..94adc3a3 --- /dev/null +++ b/session_5/TODO/flutter_application_1/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/session_5/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties b/session_5/TODO/flutter_application_1/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..bc6a58af --- /dev/null +++ b/session_5/TODO/flutter_application_1/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/session_5/TODO/flutter_application_1/android/settings.gradle b/session_5/TODO/flutter_application_1/android/settings.gradle new file mode 100644 index 00000000..44e62bcf --- /dev/null +++ b/session_5/TODO/flutter_application_1/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/session_5/TODO/flutter_application_1/ios/.gitignore b/session_5/TODO/flutter_application_1/ios/.gitignore new file mode 100644 index 00000000..7a7f9873 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/.gitignore @@ -0,0 +1,34 @@ +**/dgph +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/ephemeral/ +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 diff --git a/session_5/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist b/session_5/TODO/flutter_application_1/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..8d4492f9 --- /dev/null +++ b/session_5/TODO/flutter_application_1/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/session_5/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig b/session_5/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Flutter/Debug.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_5/TODO/flutter_application_1/ios/Flutter/Release.xcconfig b/session_5/TODO/flutter_application_1/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..592ceee8 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Flutter/Release.xcconfig @@ -0,0 +1 @@ +#include "Generated.xcconfig" diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ec501a85 --- /dev/null +++ b/session_5/TODO/flutter_application_1/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.flutterApplication1; + 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.flutterApplication1; + 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.flutterApplication1; + 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/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..c87d15a3 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..1d526a16 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner/AppDelegate.swift b/session_5/TODO/flutter_application_1/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..70693e4a --- /dev/null +++ b/session_5/TODO/flutter_application_1/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/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..e138c0bd --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1 @@ +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"idiom":"watch","filename":"172.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"86x86","expected-size":"172","role":"quickLook"},{"idiom":"watch","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"40x40","expected-size":"80","role":"appLauncher"},{"idiom":"watch","filename":"88.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"40mm","scale":"2x","size":"44x44","expected-size":"88","role":"appLauncher"},{"idiom":"watch","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"50x50","expected-size":"100","role":"appLauncher"},{"idiom":"watch","filename":"196.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"98x98","expected-size":"196","role":"quickLook"},{"idiom":"watch","filename":"216.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"44mm","scale":"2x","size":"108x108","expected-size":"216","role":"quickLook"},{"idiom":"watch","filename":"48.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"38mm","scale":"2x","size":"24x24","expected-size":"48","role":"notificationCenter"},{"idiom":"watch","filename":"55.png","folder":"Assets.xcassets/AppIcon.appiconset/","subtype":"42mm","scale":"2x","size":"27.5x27.5","expected-size":"55","role":"notificationCenter"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"3x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch","role":"companionSettings","scale":"2x"},{"size":"1024x1024","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"watch-marketing","scale":"1x"},{"size":"128x128","expected-size":"128","filename":"128.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"256x256","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"128x128","expected-size":"256","filename":"256.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"256x256","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"512x512","expected-size":"512","filename":"512.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"16","filename":"16.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"1x"},{"size":"16x16","expected-size":"32","filename":"32.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"32x32","expected-size":"64","filename":"64.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"},{"size":"512x512","expected-size":"1024","filename":"1024.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"mac","scale":"2x"}]} \ No newline at end of file diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png new file mode 100644 index 00000000..22d9ec93 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/100.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png new file mode 100644 index 00000000..dd326f92 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/1024.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png new file mode 100644 index 00000000..4597e134 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/114.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png new file mode 100644 index 00000000..35d471e1 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/120.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png new file mode 100644 index 00000000..f43c54e1 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/128.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png new file mode 100644 index 00000000..6ca71448 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/144.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png new file mode 100644 index 00000000..24c867f2 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/152.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png new file mode 100644 index 00000000..dd385148 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/16.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png new file mode 100644 index 00000000..83299a4a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/167.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png new file mode 100644 index 00000000..bb246311 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/172.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png new file mode 100644 index 00000000..b4d7d3ed Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/180.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png new file mode 100644 index 00000000..5f87ecf8 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/196.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png new file mode 100644 index 00000000..3f38d53a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/20.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png new file mode 100644 index 00000000..b31f6263 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/216.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png new file mode 100644 index 00000000..1ba91256 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/256.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png new file mode 100644 index 00000000..ce6ff769 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/29.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png new file mode 100644 index 00000000..5cb9d18a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/32.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png new file mode 100644 index 00000000..6bd26d63 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/40.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png new file mode 100644 index 00000000..1d22cd0a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/48.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png new file mode 100644 index 00000000..b97088b8 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/50.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png new file mode 100644 index 00000000..4fd9a4a6 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/512.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png new file mode 100644 index 00000000..0476dc3b Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/55.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png new file mode 100644 index 00000000..a986facd Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/57.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png new file mode 100644 index 00000000..16b4ebfb Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/58.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png new file mode 100644 index 00000000..70f40394 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/60.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png new file mode 100644 index 00000000..b84ca313 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/64.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png new file mode 100644 index 00000000..f8daf49a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/72.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png new file mode 100644 index 00000000..1a1e74bd Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/76.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png new file mode 100644 index 00000000..f9075040 Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/80.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png new file mode 100644 index 00000000..4fd2cc3a Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/87.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png new file mode 100644 index 00000000..1036b5cd Binary files /dev/null and b/session_5/TODO/flutter_application_1/ios/Runner/Assets.xcassets/AppIcon.appiconset/_/88.png differ diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard b/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard b/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..f3c28516 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/session_5/TODO/flutter_application_1/ios/Runner/Info.plist b/session_5/TODO/flutter_application_1/ios/Runner/Info.plist new file mode 100644 index 00000000..189197eb --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Flutter Application 1 + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + flutter_application_1 + 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/session_5/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h b/session_5/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/session_5/TODO/flutter_application_1/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/session_5/TODO/flutter_application_1/lib/main.dart b/session_5/TODO/flutter_application_1/lib/main.dart new file mode 100644 index 00000000..89343aeb --- /dev/null +++ b/session_5/TODO/flutter_application_1/lib/main.dart @@ -0,0 +1,120 @@ +import 'package:flutter/material.dart'; +import 'package:hive/hive.dart'; +import 'package:flutter_application_1/tasks.dart'; +import 'package:google_fonts/google_fonts.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( + title: 'Flutter Demo', + theme: ThemeData( + primarySwatch: Colors.blue, + ), + home: const MyHomePage(title: 'Flutter Demo Home Page'), + ); + } +} + +final user_taskState every = user_taskState(); + +class MyHomePage extends StatefulWidget { + const MyHomePage({Key? key, required this.title}) : super(key: key); + + final String title; + + @override + State createState() => _MyHomePageState(); +} + +class _MyHomePageState extends State { + String y = "hello"; + String r = "hel"; + var box = Hive.openBox('tasks'); + int i = 0; + List k = every.p; + List l = every.t; + void test() { + List f = every.disp(); + + print(f); + setState(() {}); + } + + void rec() { + print("hey"); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: const Text( + 'TO-DO', + style: TextStyle( + color: const Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: const Color(0xFFA5D6A7), + shadowColor: const Color(0xFF263238), + leading: Tooltip( + message: 'Add task', + child: IconButton( + icon: Icon(Icons.add_box_outlined), + iconSize: 40, + onPressed: () { + Navigator.push( + context, + MaterialPageRoute(builder: (context) { + return user_task(); + }), + ); + })), + ), + body: ListView(children: task2()), + floatingActionButton: FloatingActionButton( + onPressed: test, + tooltip: 'View tasks', + child: Icon(Icons.remove_red_eye)), + ); + } + + Widget task3(String title, String subtitle) { + return ListTile( + leading: Icon(Icons.alarm_sharp), + title: Text(title), + subtitle: Text(subtitle), + trailing: Wrap( + children: [ + Tooltip( + message: "complete", + child: IconButton( + onPressed: () { + every.del(title); + }, + icon: Icon( + Icons.check_box, + color: Colors.green, + ), + ), + ), + ], + )); + } + + List task2() { + final List task1 = []; + for (i = 0; i < k.length; i++) { + task1.add(Card(child: task3(k[i], l[i]))); + } + return task1; + } +} diff --git a/session_5/TODO/flutter_application_1/lib/tasks.dart b/session_5/TODO/flutter_application_1/lib/tasks.dart new file mode 100644 index 00000000..af183ba7 --- /dev/null +++ b/session_5/TODO/flutter_application_1/lib/tasks.dart @@ -0,0 +1,141 @@ +import 'package:hive/hive.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +@HiveType(typeId: 0) +class tasks { + tasks({required this.task_deet, required this.deadline}); + + @HiveField(0) + String task_deet; + + @HiveField(1) + String deadline; + + @override + String toString() { + return '$task_deet: $deadline'; + } +} + +class user_task extends StatefulWidget { + user_task({Key? key}) : super(key: key); + + @override + State createState() => user_taskState(); +} + +class user_taskState extends State { + final controller1 = TextEditingController(); + + final controller2 = TextEditingController(); + List p = []; + List t = []; + + String x = ""; + + Future? add_task() async { + var box = await Hive.openBox('tasks'); + box.put(controller1.text, controller2.text); + String d = controller1.text + box.get(controller1.text); + setState(() { + x = "THIS TASK HAS BEEN ADDED "; + }); + return controller1; + } + + List disp() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + var now = DateTime.parse('2020-01-02 03:04:05'); + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add("Time remaining- " + + (DateTime.parse(box.getAt(i)).difference(DateTime.now())).toString()); + } + print(now); + return p; + } + + List disp2() { + var box = Hive.box('tasks'); + int k = box.length; + int i = 0; + var now; + var finish; + for (i; i < k; i++) { + p.add(box.keyAt(i)); + t.add(box.getAt(i)); + } + + return t; + } + + void del(String key) { + var box = Hive.box('tasks'); + + box.delete(key); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: Center( + child: Text( + "NEW TASK", + style: const TextStyle( + color: Color(0xFF303030), fontWeight: FontWeight.bold), + ), + ), + backgroundColor: Color(0xFFA5D6A7), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'TASK TO BE COMPLETED', + style: GoogleFonts.mcLaren(), + ), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller1, + decoration: InputDecoration( + hintText: "Task description", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 30), + Text("ENTER THE DEADLINE", style: GoogleFonts.mcLaren()), + Padding( + padding: const EdgeInsets.all(8.0), + child: TextFormField( + controller: controller2, + decoration: InputDecoration( + hintText: "2020-01-02 03:04:05", + hintStyle: GoogleFonts.mcLaren()), + ), + ), + SizedBox(height: 50), + OutlinedButton( + onPressed: add_task, + style: ButtonStyle( + backgroundColor: + MaterialStateProperty.all(Colors.black)), + child: Text( + "ADD TASK", + style: + TextStyle(color: Colors.white, fontWeight: FontWeight.bold), + ), + ), + SizedBox(height: 50), + Text(x, style: GoogleFonts.mcLaren()), + ], + ), + ), + ); + } +} diff --git a/session_5/TODO/flutter_application_1/pubspec.yaml b/session_5/TODO/flutter_application_1/pubspec.yaml new file mode 100644 index 00000000..9aca65cc --- /dev/null +++ b/session_5/TODO/flutter_application_1/pubspec.yaml @@ -0,0 +1,92 @@ +name: flutter_application_1 +description: A new Flutter project. + +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# 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.15.1 <3.0.0" + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + hive: ^2.0.5 + hive_flutter: ^1.1.0 + google_fonts: ^2.2.0 + + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.2 + +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 + +# 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: + # - images/a_dot_burr.jpeg + # - 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/session_5/TODO/flutter_application_1/test/widget_test.dart b/session_5/TODO/flutter_application_1/test/widget_test.dart new file mode 100644 index 00000000..99ecc6cf --- /dev/null +++ b/session_5/TODO/flutter_application_1/test/widget_test.dart @@ -0,0 +1,30 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility that Flutter provides. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:flutter_application_1/main.dart'; + +void main() { + testWidgets('Counter increments smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MyApp()); + + // Verify that our counter starts at 0. + expect(find.text('0'), findsOneWidget); + expect(find.text('1'), findsNothing); + + // Tap the '+' icon and trigger a frame. + await tester.tap(find.byIcon(Icons.add)); + await tester.pump(); + + // Verify that our counter has incremented. + expect(find.text('0'), findsNothing); + expect(find.text('1'), findsOneWidget); + }); +} diff --git a/session_5/TODO/flutter_application_1/web/favicon.png b/session_5/TODO/flutter_application_1/web/favicon.png new file mode 100644 index 00000000..8aaa46ac Binary files /dev/null and b/session_5/TODO/flutter_application_1/web/favicon.png differ diff --git a/session_5/TODO/flutter_application_1/web/icons/Icon-192.png b/session_5/TODO/flutter_application_1/web/icons/Icon-192.png new file mode 100644 index 00000000..b749bfef Binary files /dev/null and b/session_5/TODO/flutter_application_1/web/icons/Icon-192.png differ diff --git a/session_5/TODO/flutter_application_1/web/icons/Icon-512.png b/session_5/TODO/flutter_application_1/web/icons/Icon-512.png new file mode 100644 index 00000000..88cfd48d Binary files /dev/null and b/session_5/TODO/flutter_application_1/web/icons/Icon-512.png differ diff --git a/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-192.png b/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-192.png new file mode 100644 index 00000000..eb9b4d76 Binary files /dev/null and b/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-192.png differ diff --git a/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-512.png b/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-512.png new file mode 100644 index 00000000..d69c5669 Binary files /dev/null and b/session_5/TODO/flutter_application_1/web/icons/Icon-maskable-512.png differ diff --git a/session_5/TODO/flutter_application_1/web/index.html b/session_5/TODO/flutter_application_1/web/index.html new file mode 100644 index 00000000..e8092ab6 --- /dev/null +++ b/session_5/TODO/flutter_application_1/web/index.html @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + flutter_application_1 + + + + + + + diff --git a/session_5/TODO/flutter_application_1/web/manifest.json b/session_5/TODO/flutter_application_1/web/manifest.json new file mode 100644 index 00000000..dd8e066f --- /dev/null +++ b/session_5/TODO/flutter_application_1/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "flutter_application_1", + "short_name": "flutter_application_1", + "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" + } + ] +}