due_date 2.2.2 copy "due_date: ^2.2.2" to clipboard
due_date: ^2.2.2 copied to clipboard

A package for working with repeating DateTime patterns (like the same day every month).

140/ 160
pub points
32
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Funding URL doesn't exist.

At the time of the analysis https://www.buymeacoffee.com/fmorschel was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

837 out of 840 API elements (99.6 %) have documentation comments.

Some symbols that are missing documentation: due_date.DateValidatorDifference.retype, due_date.DateValidatorIntersection.retype, due_date.DateValidatorUnion.retype.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
clock ^1.0.0 1.1.2 1.1.2
collection ^1.0.0 1.19.1 1.19.1
equatable ^2.0.0 2.0.7 2.0.7
meta ^1.0.0 1.17.0 1.17.0
time ^2.1.5 2.1.6 2.1.6

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

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 24 errors:

  • INVALID_OVERRIDE - lib/src/date_validators/date_validator_day_in_year.dart:46:17 - 'DateValidatorDayInYear.==' ('bool Function(Object)') isn't a valid override of 'EquatableMixin.==' ('bool Function(Object?)').
  • INVALID_OVERRIDE - lib/src/date_validators/date_validator_difference.dart:40:17 - 'DateValidatorDifference.==' ('bool Function(Object)') isn't a valid override of 'EquatableMixin.==' ('bool Function(Object?)').
  • INVALID_OVERRIDE - lib/src/date_validators/date_validator_due_day_month.dart:46:17 - 'DateValidatorDueDayMonth.==' ('bool Function(Object)') isn't a valid override of 'EquatableMixin.==' ('bool Function(Object?)').

Run dart pub downgrade and then dart 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.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
140
points
32
downloads

Publisher

verified publisherfmorschel.dev

Weekly Downloads

A package for working with repeating DateTime patterns (like the same day every month).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#date #datetime #date-time #time #calendar

Documentation

API reference

Funding

Consider supporting this project:

github.com
www.buymeacoffee.com

License

MIT (license)

Dependencies

clock, collection, equatable, meta, time

More

Packages that depend on due_date