due_date 2.2.2 due_date: ^2.2.2 copied to clipboard
A package for working with repeating DateTime patterns (like the same day every month).
We analyzed this package 36 hours ago, and awarded it 140 pub points (of a possible 160):
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
.
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
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.
50/50 points: code has no errors, warnings, lints, or formatting issues
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.