sunrise_sunset_calc 3.0.0 copy "sunrise_sunset_calc: ^3.0.0" to clipboard
sunrise_sunset_calc: ^3.0.0 copied to clipboard

Calculates sunrise and sunset time given latitude, longitude, timezone offset and date.

11
likes
120/ 140
pub points
84%
popularity

We analyzed this package 4 hours ago, and awarded it 120 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

8 out of 8 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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/sunrise_sunset_calc_result.dart:17:30

   ╷
17 │   int get hashCode => Object.hash(sunrise, sunset);
   │                              ^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
async ^2.8.1 2.11.0 2.11.0
vector_math ^2.1.0 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.14.0 1.14.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

11
likes
120
pub points
84%
popularity

Publisher

verified publisheravtobiografia.com

Calculates sunrise and sunset time given latitude, longitude, timezone offset and date.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

async, vector_math

More

Packages that depend on sunrise_sunset_calc