geopoint2 0.9.0 copy "geopoint2: ^0.9.0" to clipboard
geopoint2: ^0.9.0 copied to clipboard

Geospatial data structures. Provides GeoPoint and GeoSerie models.

0
likes
110/ 140
pub points
52%
popularity

We analyzed this package 13 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

51 out of 51 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:geopoint2/geopoint2.dart that imports:
  • package:geopoint2/src/models/geoserie.dart that imports:
  • package:geopoint2/src/models/geopoint.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

WARNING: Unused import: 'package:meta/meta.dart'.

lib/src/models/geopoint.dart:4:8

  ╷
4 │ import 'package:meta/meta.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/geopoint.dart

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/models/geopoint.dart:32:25

   ╷
32 │       : assert(latitude != null),
   │                         ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/geopoint.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
extra_pedantic ^1.3.0 1.5.0 4.0.0
latlong2 ^0.8.0 0.8.2 0.9.1
meta ^1.3.0 1.14.0 1.14.0
pedantic ^1.11.0 1.11.1 1.11.1
slugify ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
intl - 0.19.0 0.19.0
path - 1.9.0 1.9.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.3.0` on extra_pedantic does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions extra_pedantic to update the constraint.

The constraint `^0.8.0` on latlong2 does not support the stable version `0.9.0`.

Try running dart pub upgrade --major-versions latlong2 to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
110
pub points
52%
popularity

Publisher

unverified uploader

Geospatial data structures. Provides GeoPoint and GeoSerie models.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

extra_pedantic, latlong2, meta, pedantic, slugify

More

Packages that depend on geopoint2