Flutter Weather Application π± π‘. Current π weather β βπ€ and forecasts in your city ππΊ.
Get current π weather β βπ€, daily forecast for your cityππΊ
Home page | Select your city |
---|---|
Result ( Weather of city selected ) | Gif (Weather of city) |
Youtube: https://www.youtube.com/watch?v=jaKGsoVRw4E
This project is a Flutter application that allows us to see the weather conditions, after determining the city and thus returns you with a list showing the weather conditions at the expense of time.
Some resources to get started with such a Flutter project:
- Lab: Write your first Flutter app
- Cookbook: Useful Flutter samples
- Data & backend
- Networking
- JSON and serialization
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Simple to use
- Get current weather, daily forecast for 16 days,
- 3-hourly forecast 5 days for your city.
- Helpful stats, graphics, and this day in history charts are available for your reference.
- Interactive maps show precipitation, clouds, pressure, wind around your location.
- Dart
- Flutter
- Internet connection
- key of https://openweathermap.org/
Add this to your package's pubspec.yaml
file:
- http
- intl
- cupertino_icons: ^0.1.2
dependencies:
sdk: flutter
http: ^0.12.1
intl:
cupertino_icons: ^0.1.2
You can install packages from the command line:
with pub
:
$ pub get
with Flutter
:
$ flutter packages get
Now in your Dart
code, you can use:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'package:intl/intl.dart';
-
Download the repository files (project) from the download section or clone this project by typing in the bash the following command:
git clone https://github.com/djamelzerrouki/Weather-Flutter.git
-
Import it in Android studio or any other Flutter IDE and let Gradle download the required dependencies for you.
-
Run the application :D
If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed. If you find any issue just put it in the repository issue section, thank you.
Email: djameljimmizerrouki@gmail.com
LinkedIn: DjamelZerrouki
Twitter: @DjamelZerrouki