Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions .dart_tool/dartpad/web_plugin_registrant.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Flutter web plugin registrant file.
//
// Generated file. Do not edit.
//

// ignore_for_file: type=lint

void registerPlugins() {}
152 changes: 152 additions & 0 deletions .dart_tool/package_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"configVersion": 2,
"packages": [
{
"name": "async",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/async-2.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "boolean_selector",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "characters",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/characters-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/clock-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/collection-1.17.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "fake_async",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/fake_async-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
"rootUri": "file:///Users/hyang-gi/Development/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "flutter_lints",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "flutter_test",
"rootUri": "file:///Users/hyang-gi/Development/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "js",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/js-0.6.7",
"packageUri": "lib/",
"languageVersion": "2.19"
},
{
"name": "lints",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/lints-2.1.0",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "matcher",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/matcher-0.12.15",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "material_color_utilities",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0",
"packageUri": "lib/",
"languageVersion": "2.13"
},
{
"name": "meta",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/meta-1.9.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/path-1.8.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///Users/hyang-gi/Development/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "3.0"
},
{
"name": "source_span",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/source_span-1.9.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "stack_trace",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stack_trace-1.11.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "stream_channel",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stream_channel-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "string_scanner",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/string_scanner-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "term_glyph",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/term_glyph-1.2.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/test_api-0.5.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "vector_math",
"rootUri": "file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/vector_math-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "day_2",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "3.0"
}
],
"generated": "2023-05-29T09:15:19.677185Z",
"generator": "pub",
"generatorVersion": "3.0.2"
}
97 changes: 97 additions & 0 deletions .dart_tool/package_config_subset
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
async
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/async-2.11.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/async-2.11.0/lib/
boolean_selector
2.17
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
characters
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/characters-1.3.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/characters-1.3.0/lib/
clock
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/clock-1.1.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/
collection
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/collection-1.17.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/collection-1.17.1/lib/
fake_async
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/fake_async-1.3.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/
flutter_lints
2.17
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/flutter_lints-2.0.1/lib/
js
2.19
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/js-0.6.7/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/js-0.6.7/lib/
lints
3.0
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/lints-2.1.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/lints-2.1.0/lib/
matcher
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/matcher-0.12.15/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/matcher-0.12.15/lib/
material_color_utilities
2.13
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/material_color_utilities-0.2.0/lib/
meta
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/meta-1.9.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/meta-1.9.1/lib/
path
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/path-1.8.3/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/path-1.8.3/lib/
source_span
2.14
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/source_span-1.9.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/source_span-1.9.1/lib/
stack_trace
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stack_trace-1.11.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stack_trace-1.11.0/lib/
stream_channel
2.14
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stream_channel-2.1.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/stream_channel-2.1.1/lib/
string_scanner
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/
term_glyph
2.12
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
test_api
2.18
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/test_api-0.5.1/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/test_api-0.5.1/lib/
vector_math
2.14
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
file:///Users/hyang-gi/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
day_2
3.0
file:///Users/hyang-gi/Dart/Flutter/day_2/lab-4/lab-4/
file:///Users/hyang-gi/Dart/Flutter/day_2/lab-4/lab-4/lib/
sky_engine
3.0
file:///Users/hyang-gi/Development/flutter/bin/cache/pkg/sky_engine/
file:///Users/hyang-gi/Development/flutter/bin/cache/pkg/sky_engine/lib/
flutter
3.0
file:///Users/hyang-gi/Development/flutter/packages/flutter/
file:///Users/hyang-gi/Development/flutter/packages/flutter/lib/
flutter_test
3.0
file:///Users/hyang-gi/Development/flutter/packages/flutter_test/
file:///Users/hyang-gi/Development/flutter/packages/flutter_test/lib/
2
1 change: 1 addition & 0 deletions .dart_tool/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10.2
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Lab #4
# day_2

## Details
Create a Flutter project that uitilize `Row` and `Column` functionality as follows:

<img height="800px" width="500px" src="https://cdn.discordapp.com/attachments/1103257184386699314/1112655442158563479/Screenshot_2023-05-29_at_11.14.33_AM.png"></img>

## Deadline
29/5/2023 12:00 PM
A new Flutter project.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: package:flutter_lints/flutter.yaml
Binary file added android/.DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
@@ -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
72 changes: 72 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
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 {
namespace "com.example.day_2"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

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.day_2"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
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"
}
7 changes: 7 additions & 0 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
Loading