cuba_weather_municipality_dart 0.1.3

Cuba Weather Municipality Dart #

License: MIT Pub Version GitHub Workflow Status

A tool implemented in Dart for the Cuba Weather project to work with the municipalities of Cuba.

  • To see how to install the package, follow this link.

  • To see examples of use, follow this link.

  • To see the package page on, follow this link.

  • To see the changelog, follow this link.

Cuba Weather Municipality Dart Changelog #

[0.1.3] - January 26, 2020

  • Remove duplicate municipalities

[0.1.2] - January 25, 2020

  • Fix error in getMunicipality method

[0.1.1] - January 24, 2020

  • Fix errors
  • Add comments
  • Follow health suggestions

[0.1.0] - January 24, 2020

  • Initial implementation


Cuba Weather Municipality Dart Examples #

Example of tool implemented in Dart for the Cuba Weather project to work with the municipalities of Cuba.

import 'dart:io';

import 'package:cuba_weather_municipality_dart/cuba_weather_municipality_dart.dart';

void main() {
  print('Insert location:');
  var input = stdin.readLineSync();
  var cubaWeatherMunicipality = CubaWeatherMunicipality();
  var municipality = cubaWeatherMunicipality.get(input, suggestion: true);

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  cuba_weather_municipality_dart: ^0.1.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:cuba_weather_municipality_dart/cuba_weather_municipality_dart.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0