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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# Flutter Course Code
# weather_application

## Getting Started
Icon app<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(1).png"/>
<hr>

This project is a starting point for a Flutter application.
Splash screen<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(2).png"/>
<hr>

A few resources to get you started if this is your first Flutter project:
Main page<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(3).png"/>
<hr>

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
Select City Page<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(4).png"/>
<hr>

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.
After Select City<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(5).png"/>
<hr>
No internet connection<br>
<img width=200 src="https://github.com/MohammadTeeU/flutter-course/blob/Task3-flutter/screenshots/1%20(6).png"/>
<hr>
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.contacts_01"
applicationId "com.example.weather_application"
minSdkVersion 16
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.contacts_01">
package="com.example.weather_application">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
6 changes: 3 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.contacts_01">
package="com.example.weather_application">
<application
android:label="contacts_01"
android:icon="@mipmap/ic_launcher">
android:label="weather_application"
android:icon="@mipmap/launcher_icon">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.example.weather_application

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.contacts_01">
package="com.example.weather_application">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
68 changes: 68 additions & 0 deletions assets/cities_all.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
Zaxo
Umm Qaşr
Tozkhurmato
Tikrīt
Tallkayf
Sīnah
Sāmarrā’
Nāḩīyat Saddat al Hindīyah
Ruwāndiz
Al-Hamdaniya
Mandalī
Koysinceq
Kifrī
Kirkuk
Karbala
Erbil
Hīt
Ḩalabjah
Ḩadīthah
Dihok
Jamjamāl
Bayjī
Baqubah
Baynjiwayn
Balad
Baghdad
Az Zubayr
Aş Şuwayrah
As Sulaymānīyah
As Samawah
Nāḩiyat ash Shināfīyah
Ash Shaţrah
Ash Shāmīyah
Ar Ruţbah
Ar Rumaythah
Ramadi
‘Aqrah
An Nāşirīyah
Najaf
‘Anat al Qadīmah
Imam Qasim
Al Musayyib
Al Mishkhāb
Al Miqdādīyah
Al Mawşil al Jadīdah
Mosul
Al Kūt
Kufa
Khāliş
‘Alī al Gharbī
Al Hindīyah
Al Ḩillah
Al Ḩayy
Al Hārithah
Nahiyat Ghammas
Nāḩiyat al Fuhūd
Al Fāw
Al Fallūjah
Basrah
Al ‘Azīzīyah
Al ‘Amārah
‘Afak
Ad Dujayl
Ad Dīwānīyah
Abū Ghurayb
Al Başrah al Qadīmah
Sinjār
‘Anah
Binary file added assets/icon_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a01d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a01n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a02d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a02n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a03d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a03n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a04d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a04n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a05d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a05n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a06d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/a06n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c01d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c01n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c02d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c02n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c03d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c03n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c04d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/c04n.png
Binary file added assets/icons/d01d.png
Binary file added assets/icons/d01n.png
Binary file added assets/icons/d02d.png
Binary file added assets/icons/d02n.png
Binary file added assets/icons/d03d.png
Binary file added assets/icons/d03n.png
Binary file added assets/icons/f01d.png
Binary file added assets/icons/f01n.png
Binary file added assets/icons/r01d.png
Binary file added assets/icons/r01n.png
Binary file added assets/icons/r02d.png
Binary file added assets/icons/r02n.png
Binary file added assets/icons/r03d.png
Binary file added assets/icons/r03n.png
Binary file added assets/icons/r04d.png
Binary file added assets/icons/r04n.png
Binary file added assets/icons/r05d.png
Binary file added assets/icons/r05n.png
Binary file added assets/icons/r06d.png
Binary file added assets/icons/r06n.png
Binary file added assets/icons/s01d.png
Binary file added assets/icons/s01n.png
Binary file added assets/icons/s02d.png
Binary file added assets/icons/s02n.png
Binary file added assets/icons/s03d.png
Binary file added assets/icons/s03n.png
Binary file added assets/icons/s04d.png
Binary file added assets/icons/s04n.png
Binary file added assets/icons/s05d.png
Binary file added assets/icons/s05n.png
Binary file added assets/icons/s06d.png
Binary file added assets/icons/s06n.png
Binary file added assets/icons/t01d.png
Binary file added assets/icons/t01n.png
Binary file added assets/icons/t02d.png
Binary file added assets/icons/t02n.png
Binary file added assets/icons/t03d.png
Binary file added assets/icons/t03n.png
Binary file added assets/icons/t04d.png
Binary file added assets/icons/t04n.png
Binary file added assets/icons/t05d.png
Binary file added assets/icons/t05n.png
Binary file added assets/icons/u00d.png
Binary file added assets/icons/u00n.png
8 changes: 4 additions & 4 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.contacts01;
PRODUCT_BUNDLE_IDENTIFIER = com.example.weatherApplication;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -415,7 +415,7 @@
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.contacts01;
PRODUCT_BUNDLE_IDENTIFIER = com.example.weatherApplication;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -434,7 +434,7 @@
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.example.contacts01;
PRODUCT_BUNDLE_IDENTIFIER = com.example.weatherApplication;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -468,4 +468,4 @@
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
}
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>contacts_01</string>
<string>weather_application</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
70 changes: 70 additions & 0 deletions lib/data_proc/cities.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
var citiesData = [
"Zaxo",
"Umm Qaşr",
"Tozkhurmato",
"Tikrīt",
"Tallkayf",
"Sīnah",
"Sāmarrā’",
"Nāḩīyat Saddat al Hindīyah",
"Ruwāndiz",
"Al-Hamdaniya",
"Mandalī",
"Koysinceq",
"Kifrī",
"Kirkuk",
"Karbala",
"Erbil",
"Hīt",
"Ḩalabjah",
"Ḩadīthah",
"Dihok",
"Jamjamāl",
"Bayjī",
"Baqubah",
"Baynjiwayn",
"Balad",
"Baghdad",
"Az Zubayr",
"Aş Şuwayrah",
"As Sulaymānīyah",
"As Samawah",
"Nāḩiyat ash Shināfīyah",
"Ash Shaţrah",
"Ash Shāmīyah",
"Ar Ruţbah",
"Ar Rumaythah",
"Ramadi",
"‘Aqrah",
"An Nāşirīyah",
"Najaf",
"‘Anat al Qadīmah",
"Imam Qasim",
"Al Musayyib",
"Al Mishkhāb",
"Al Miqdādīyah",
"Al Mawşil al Jadīdah",
"Mosul",
"Al Kūt",
"Kufa",
"Khāliş",
"‘Alī al Gharbī",
"Al Hindīyah",
"Al Ḩillah",
"Al Ḩayy",
"Al Hārithah",
"Nahiyat Ghammas",
"Nāḩiyat al Fuhūd",
"Al Fāw",
"Al Fallūjah",
"Basrah",
"Al ‘Azīzīyah",
"Al ‘Amārah",
"‘Afak",
"Ad Dujayl",
"Ad Dīwānīyah",
"Abū Ghurayb",
"Al Başrah al Qadīmah",
"Sinjār",
"‘Anah"
];
Loading