Skip to content

Task 3 completed #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 164 additions & 0 deletions Mansoor Majeed/.dart_tool/package_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"configVersion": 2,
"packages": [
{
"name": "async",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "boolean_selector",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "carousel_slider",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/carousel_slider-4.0.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "characters",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "charcode",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "cupertino_icons",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "fake_async",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
"rootUri": "file:///C:/Flutter_folder/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_lints",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_test",
"rootUri": "file:///C:/Flutter_folder/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "lints",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "matcher",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "meta",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///C:/Flutter_folder/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "source_span",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stack_trace",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stream_channel",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "string_scanner",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "term_glyph",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "typed_data",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "vector_math",
"rootUri": "file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "newsapp",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "2.12"
}
],
"generated": "2021-10-13T16:02:09.142328Z",
"generator": "pub",
"generatorVersion": "2.14.0"
}
105 changes: 105 additions & 0 deletions Mansoor Majeed/.dart_tool/package_config_subset
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
async
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/lib/
boolean_selector
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
carousel_slider
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/carousel_slider-4.0.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/carousel_slider-4.0.0/lib/
characters
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clock
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
cupertino_icons
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3/lib/
fake_async
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
flutter_lints
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
lints
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
matcher
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
path
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
source_span
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/lib/
typed_data
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math
2.12
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/
file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
sky_engine
2.12
file:///C:/Flutter_folder/flutter/bin/cache/pkg/sky_engine/
file:///C:/Flutter_folder/flutter/bin/cache/pkg/sky_engine/lib/
flutter
2.12
file:///C:/Flutter_folder/flutter/packages/flutter/
file:///C:/Flutter_folder/flutter/packages/flutter/lib/
flutter_test
2.12
file:///C:/Flutter_folder/flutter/packages/flutter_test/
file:///C:/Flutter_folder/flutter/packages/flutter_test/lib/
newsapp
2.12
file:///C:/Users/MANSOOR/Desktop/Task%203/snehao/
file:///C:/Users/MANSOOR/Desktop/Task%203/snehao/lib/
2
1 change: 1 addition & 0 deletions Mansoor Majeed/.dart_tool/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.1-0.0.pre.1
32 changes: 32 additions & 0 deletions Mansoor Majeed/.packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file is deprecated. Tools should instead consume
# `.dart_tool/package_config.json`.
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-10-13 21:32:09.070376.
async:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/lib/
boolean_selector:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
carousel_slider:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/carousel_slider-4.0.0/lib/
characters:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clock:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
cupertino_icons:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.3/lib/
fake_async:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
flutter:file:///C:/Flutter_folder/flutter/packages/flutter/lib/
flutter_lints:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_lints-1.0.4/lib/
flutter_test:file:///C:/Flutter_folder/flutter/packages/flutter_test/lib/
lints:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/lints-1.0.1/lib/
matcher:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
path:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
sky_engine:file:///C:/Flutter_folder/flutter/bin/cache/pkg/sky_engine/lib/
source_span:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/lib/
typed_data:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math:file:///C:/Flutter_folder/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
newsapp:lib/
68 changes: 68 additions & 0 deletions Mansoor Majeed/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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 30

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.newsapp"
minSdkVersion 16
targetSdkVersion 30
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 Mansoor Majeed/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"
package="com.example.newsapp">
<!-- Flutter 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