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).

8
likes
140/ 160
pub points
322
downloads

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

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

709 out of 712 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.

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

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
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.16.0 1.16.0
time ^2.1.5 2.1.5 2.1.5

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

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.22.17, Dart 3.6.0.

Check the analysis log for details.

8
likes
140
points
322
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