open_weather_client 1.0.5 copy "open_weather_client: ^1.0.5" to clipboard
open_weather_client: ^1.0.5 copied to clipboard

outdated

Unofficial OpenWeather package for Current and Forecast weather data.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add open_weather_client

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  open_weather_client: ^1.0.5

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:open_weather_client/enums/weather_units.dart';
import 'package:open_weather_client/models/coordinates.dart';
import 'package:open_weather_client/models/coordinates.g.dart';
import 'package:open_weather_client/models/details.dart';
import 'package:open_weather_client/models/details.g.dart';
import 'package:open_weather_client/models/temperature.dart';
import 'package:open_weather_client/models/temperature.g.dart';
import 'package:open_weather_client/models/weather_data.dart';
import 'package:open_weather_client/models/weather_data.g.dart';
import 'package:open_weather_client/models/weather_forecast_data.dart';
import 'package:open_weather_client/models/weather_forecast_data.g.dart';
import 'package:open_weather_client/models/wind.dart';
import 'package:open_weather_client/models/wind.g.dart';
import 'package:open_weather_client/open_weather.dart';
import 'package:open_weather_client/services/open_weather_api_service.dart';
import 'package:open_weather_client/utils/constants.dart';
import 'package:open_weather_client/widgets/modules/location_view_widget.dart';
import 'package:open_weather_client/widgets/modules/weather_description_view_widget.dart';
import 'package:open_weather_client/widgets/modules/weather_summary_widget.dart';
import 'package:open_weather_client/widgets/weather_widget_by_city.dart';
import 'package:open_weather_client/widgets/weather_widget_by_location.dart';
import 'package:open_weather_client/widgets/weather_widget_by_zip_code.dart';
18
likes
40
points
68
downloads

Publisher

verified publisheroctopusvisuals.com

Weekly Downloads

Unofficial OpenWeather package for Current and Forecast weather data.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http, json_annotation, transparent_image

More

Packages that depend on open_weather_client