Climate is a Simple Weather app.
This project is very simple and I did my best to add comments for almost every section to make it clearer.You can download APK from release section.
- Support offline forecast(sembast).
- Dark/Light Theme(Rxdart).
- Dynamic Theme based on the weather condition(Rxdart).
- Handle exceptions.(a very simple one)
- Add a history page for forecasts on previous dates.
First you need to fetch packages, so inside the folder where pubspec.yaml
is located, run:
flutter packages get
Now run the below command to run the project on a connected device :
flutter run
Or run this to build it:
flutter build apk
Instead of apk
you can use:
aar Build a repository containing an AAR and a POM file.
apk Build an Android APK file from your app.
appbundle Build an Android App Bundle file from your app.
bundle Build the Flutter assets directory from your app.
ios Build an iOS application bundle (Mac OS X host only).
ios-framework Produces a .framework directory for a Flutter module and its
plugins for integration into existing, plain Xcode projects.
linux Build a Linux desktop application.
web Build a web application bundle.
For more info run:
flutter help
Here are a few screenshots of the app.
intl: # ^0.16.1
http: # ^0.12.2
sembast: # ^2.4.7+7
path_provider: # ^1.6.18
rxdart: # ^0.24.1
shared_preferences: # ^0.5.12
font_awesome_flutter: # ^8.8.1
weather_icons: # ^2.0.1
flutter_svg: # ^0.19.0
url_launcher: #^5.7.2
google_fonts: # ^1.1.0
- Climate information is from metaweather API.
- UI is inspired from Climate_ Live Weather Forecasting App by Harsha Mohan.
- By Freepik from flatIcon, Here's the url.
- By Freepik from flatIcon, Here's the url.
- By Freepik from flatIcon, Here's the url.