Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeduration

Format and parse human‑readable durations in Dart

pub.devRemove
gtk

GTK utilities for Flutter Linux applications, providing settings and application lifecycle helpers.

pub.devRemove
ScoresHealth5076 (best)
Maintenance272 (best)
Quality9696
Popularity7981 (best)
Community4558 (best)
Compatibility100 (best)66
UsageDownloads (30 days)108k2.5M (best)
Likes172 (best)42
Pub points150 / 160150 / 160
GitHub stars53 (best)39
MaintenanceLatest release4.0.3, 2 years ago2.2.0, 7 months ago (best)
Major versions in 12 months00
Contributors27 (best)4
PublisherUnverifiedcanonical.com
FitPlatformsAll (pure Dart)Linux
WASM-readyYesYes
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies0 (best)2
LicenseBSD-3-CLAUSEMPL-2.0
Setup effortLowHigh
JudgementStrengths
  • Rich locale support
  • Customizable formatting (abbreviated, spacer, delimiter)
  • Handles negative durations
  • No external dependencies
  • Direct integration with native GTK APIs.
  • Simple Dart API for settings and application events.
  • Mockable GSettings for unit tests.
Weaknesses
  • No support for weeks/months in pretty output
  • Limited to Duration, not full calendar dates
  • Linux‑only; no support for other platforms.
  • Requires manual changes to linux/my_application.cc, increasing setup complexity.
  • Limited to non‑visual utilities; no UI components.
WarningsNone
  • File-level copyleft
  • Native setup
duration vs gtk: which Flutter package should you use? | pubscout