weather 3.1.1 copy "weather: ^3.1.1" to clipboard
weather: ^3.1.1 copied to clipboard

A weather plugin for fetching current weather and forecasting via the OpenWeatherMap API. Works for both Android and iOS.

3.1.1 #

  • Fixed formatting issue

3.1.0 #

  • Updated http package to ^1.1.0

3.0.0 #

  • Updates Kotlin plugin and AGP
  • Upgrade of compileSdkVersion

2.0.1 #

  • Update Weather parsing to accept int values for double fields.

2.0.0 #

  • Updated dart and flutter to null safety versions
  • package dependency updates

1.4.0 #

  • No longer hides HTTP-related exceptions.

1.3.0 #

  • Added null values rather than "0.0" or similar for unknown values.
  • Updated example app to android embedding v2.

1.2.4 #

  • Added a toJSON method to the Weather class

1.2.3 #

  • Now uses HTTPS rather than HTTP for making API calls

1.2.2 #

  • Added wind gust

1.2.1 #

  • Added language to the API

1.2.0 #

  • Renamed WeatherStation to WeatherFactory to reflect its purpose (it does not represent a physical weather station)
  • Refactored parsing of forecasts
  • Weather and Forecast can now also be queried using city name (previously only geolocation)
  • Cleaned up the unit tests and documentation which was slightly wrong

1.1.6 #

1.1.5 #

1.1.1 #

  • Updated docs

1.1.0 #

  • No longer relies on the Location package.
  • Location can only be fetched by providing a latitude and longitude.

0.9.6 #

  • upgrade to using location plugin v. 2.5.4

0.9.5 #

  • better handling of requesting location permissions

0.9.4 #

  • Updated the README

0.9.3 #

  • Refactored how a http response is sent and parsed.
  • Added exceptions for bad HTTP responses.
  • Renamed existing exception classes to something more meaningful.

0.9.2 #

  • Added support for Android X
  • This version will not work for Android, unless instructions are followed carefully.

0.1.3 #

  • Weather plugin works for Android and iOS
  • Plugin now use objects to store weather information, rather than JSON
228
likes
150
points
5.35k
downloads

Publisher

verified publishercachet.dk

Weekly Downloads

A weather plugin for fetching current weather and forecasting via the OpenWeatherMap API. Works for both Android and iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on weather