Skip to content

Keremovsky/flutter_weather_app

Repository files navigation

Flutter Weather App

Introduction

Basically, this is an app to get informed about weather of your location or other cities. Also user can get weather of any place in the world with entering coordinates. User can set notification for a current city or other saved cities. Lastly, user can change unit settings like temperature, pressure, wind speed or time.

Note: I developed this app from Rivaan Ranawat's Flutter tutorial. He created a basic weather app and I thought that I can improve this app idea with my own. He is really good developer and teacher so I recommend you to check his channel.

Rivaan Ranawat's Channel
Flutter Tutorial For Beginners in 13 Hours

Features

  • Get weather data of current city
  • Get weather data of saved cities
  • Create notifications for cities daily or hourly
  • Get weather data of given coordinates
  • Change unit settings of app
  • Changeable dynamic theme
  • Used Packages

  • State management with flutter_riverpod
  • Fetch data from api with http
  • Notification with flutter_local_notifications
  • Background task with android_alarm_manager_plus
  • Get current location with geolocator
  • Save data to phone with shared_preferences
  • Map with flutter_map
  • Check internet connection with internet_connection_checker
  • Internationalization and localization facilities with intl
  • Improve error handling with either_dart
  • Custom pull indicator with custom_refresh_indicator
  • Gallery

    What I learned

  • How to fetch data from web with using api
  • How to set background tasks
  • How to send local notifications
  • How to implement basic UI
  • How to save basic data(like string, integer etc.) to local