Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconst_date_time

A drop-in replacement for Dart's DateTime class with const constructors.

pub.devRemove
day

A Dart date library inspired by Day.js with a chainable and immutable API.

pub.devRemove
ScoresHealth5764 (best)
Maintenance972 (best)
Quality100 (best)97
Popularity51 (best)34
Community63 (best)11
Compatibility100100
UsageDownloads (30 days)16k (best)2.1k
Likes2122 (best)
Pub points160 / 160160 / 160
GitHub stars469 (best)
MaintenanceLatest release1.2.1, 2 years ago1.1.0, 2 months ago (best)
Major versions in 12 months0 (best)1
Contributors5 (best)2
Publisherwesty92.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Drop-in replacement for DateTime with identical API methods
  • Enables const constructors for dates
  • Zero external dependencies
  • Familiar API for developers coming from JavaScript's Day.js.
  • Supports plugins and i18n locale maps.
  • Offers immutable date manipulation methods.
Weaknesses
  • Limited scope restricted entirely to mimicking DateTime with const support
  • Adds an external dependency for operations largely covered by core DateTime.
  • Methods like .add() and .subtract() return nullable values.
WarningsNoneNone
const_date_time vs day: which Flutter package should you use? | pubscout