google_maps_markerwithlabel 0.3.0

  • Readme
  • Changelog
  • Installing
  • 42

google_maps_markerwithlabel #

Dart wrapper for Google Maps MarkerWithLabel utility library. https://github.com/googlemaps/v3-utility-library/tree/master/markerwithlabel

Thanks to @a14n for https://github.com/a14n/dart-google-maps and https://github.com/a14n/dart-js-wrapping

Changelog #

0.3.0 #

  • Increased the upper bound for the sdk to <3.0.0.
  • Fix getStream calls

0.2.0+1 #

  • Fix build.yaml

0.2.0 #

  • Migration to Dart 2

0.1.1 #

0.1.0 #

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  google_maps_markerwithlabel: ^0.3.0

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:google_maps_markerwithlabel/markerwithlabel.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
12
Health:
Code health derived from static analysis. [more]
89
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
47
Overall:
Weighted score of the above. [more]
42
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.4

Health issues and suggestions

Document public APIs. (-1 points)

37 out of 37 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/src/markerwithlabel.dart. (-4.89 points)

Analysis of lib/src/markerwithlabel.dart reported 10 hints, including:

line 20 col 78: Unnecessary new keyword.

line 23 col 84: Unnecessary new keyword.

line 26 col 76: Unnecessary new keyword.

line 29 col 82: Unnecessary new keyword.

line 33 col 52: Unnecessary new keyword.

Fix lib/src/markerwithlabel.g.dart. (-4.89 points)

Analysis of lib/src/markerwithlabel.g.dart reported 10 hints, including:

line 24 col 48: Unnecessary new keyword.

line 28 col 51: Unnecessary new keyword.

line 32 col 47: Unnecessary new keyword.

line 36 col 50: Unnecessary new keyword.

line 40 col 52: Unnecessary new keyword.

Maintenance suggestions

Package is getting outdated. (-45.21 points)

The package was last published 75 weeks ago.

The package description is too short. (-8 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and google_maps_markerwithlabel.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
google_maps ^3.3.2 3.4.1
js_wrapping ^0.5.0 0.5.0
Transitive dependencies
meta 1.1.8
Dev dependencies
build_runner ^0.9.2
build_test ^0.10.3
build_web_compilers ^0.4.0
html ^0.13.3
js_wrapping_generator ^0.5.0
test ^1.3.0