flutter_latlong 1.0.3  flutter_latlong: ^1.0.3 copied to clipboard
flutter_latlong: ^1.0.3 copied to clipboard
A Flutter package for getting location and location distance and more using latitude and longitude.
We analyzed this package 46 hours ago, and awarded it 130 pub points (of a possible 160):
 10/10 points: Provide a valid
 10/10 points: Provide a valid pubspec.yaml
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 0/10 points: Use an OSI-approved license
 0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
 10/10 points: 20% or more of the public API has dartdoc comments
 10/10 points: 20% or more of the public API has dartdoc comments
38 out of 94 API elements (40.4 %) have documentation comments.
Some symbols that are missing documentation: flutter_latlong, flutter_latlong.Circle.Circle.new, flutter_latlong.Circle.center, flutter_latlong.Circle.radius, flutter_latlong.Distance.Distance.new.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Windows 
- 
✓ Linux 
- 
✓ macOS 
- 
✓ Web 
 0/0 points: WASM compatibility
 0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
 30/50 points: code has no errors, warnings, lints, or formatting issues
 30/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
WARNING: The keyword 'final' isn't necessary because the parameter is implicitly 'final'.
lib/latlong/Circle.dart:13:10
   ╷
13 │   Circle(final LatLng this.center, this.radius,
   │          ^^^^^
   ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/latlong/Circle.dart
INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.
lib/flutter_latlong.dart:39:53
   ╷
39 │ double round(final double value, {final int decimals: 6}) =>
   │                                                     ^
   ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_latlong.dart
 10/10 points: All of the package dependencies are supported in the latest version
 10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| dart_validate | ^1.0.0 | 1.0.0 | 1.0.0 | |
| intl | any | 0.20.2 | 0.20.2 | |
| logging | any | 1.3.0 | 1.3.0 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| characters | - | 1.4.0 | 1.4.1 | |
| clock | - | 1.1.2 | 1.1.2 | |
| collection | - | 1.19.1 | 1.19.1 | |
| material_color_utilities | - | 0.11.1 | 0.13.0 | |
| meta | - | 1.16.0 | 1.17.0 | |
| path | - | 1.9.1 | 1.9.1 | |
| vector_math | - | 2.2.0 | 2.2.0 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.