ip_geolocation 0.0.3 copy "ip_geolocation: ^0.0.3" to clipboard
ip_geolocation: ^0.0.3 copied to clipboard

outdated

A dart package to flutter or dart projects to get your geolocation data from your IP, updated from Darwin Morocho's contribution.

45/ 160
pub points
30
downloads

We analyzed this package 3 days ago, and awarded it 45 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.3").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

0 out of 14 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: ip_geolocation, ip_geolocation.GeolocationAPI, ip_geolocation.GeolocationAPI.GeolocationAPI.new, ip_geolocation.GeolocationAPI.getData, ip_geolocation.GeolocationData.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: A value of type 'Null' can't be returned from the method 'getData' because it has a return type of 'Future

lib/src/api.dart:16:14

   ╷
16 │       return null;
   │              ^^^^
   ╵

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

ERROR: A value of type 'Null' can't be returned from the method 'getData' because it has a return type of 'Future

lib/src/api.dart:19:14

   ╷
19 │       return null;
   │              ^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
http ^0.13.3 0.13.6 1.6.0
meta ^1.1.8 1.18.2 1.18.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 8 errors:

  • RETURN_OF_INVALID_TYPE - lib/src/api.dart:16:14 - A value of type 'Null' can't be returned from the method 'getData' because it has a return type of 'Future
  • RETURN_OF_INVALID_TYPE - lib/src/api.dart:19:14 - A value of type 'Null' can't be returned from the method 'getData' because it has a return type of 'Future
  • MISSING_DEFAULT_VALUE_FOR_PARAMETER - lib/src/models/geolocation_data.dart:8:20 - With null safety, use the 'required' keyword, not the '@required' annotation.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
45
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A dart package to flutter or dart projects to get your geolocation data from your IP, updated from Darwin Morocho's contribution.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on ip_geolocation