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

Unofficial OpenWeather package for Current and Forecast weather data.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add open_weather_client

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 dart pub get):

dependencies:
  open_weather_client: ^2.3.0

Alternatively, your editor might support dart pub get or 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/languages.dart';
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/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
0
points
68
downloads

Publisher

verified publisheroctopusvisuals.com

Weekly Downloads

Unofficial OpenWeather package for Current and Forecast weather data.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, json_annotation, transparent_image

More

Packages that depend on open_weather_client