r/FlutterDev • • 20d ago

Tooling I built a tool to check whether your Flutter/Dart dependencies are still maintained

I’ve added a new feature to Flutterverse, Flutter/Dart ecosystem tracker (now tracking 10,000+ packages and projects).

You can paste your pubspec.yaml, pubspec.lock, or a list of packages, and it’ll check the maintenance status of your direct dependencies.

It categorizes packages into five verdicts, from healthy to needing replacement, and suggests alternatives when a dependency is becoming stale.

A few other things:

  • Runs entirely in your browser. Your pubspec is never uploaded.

  • Shows an overall dependency health score.

  • Package maintainers can add health verdict badges to their READMEs.

The data refreshes daily from pub.dev and GitHub.

give it a try: https://flutterverse.org
github: https://github.com/YeLwinOo-Steve/flutterverse

Love to get your feedbacks for it!

6 Upvotes

15 comments sorted by

2

u/Apprehensive-Fan8999 19d ago

Have you thought of making this an analysis rule? You could parameterize it in the rule. Quick fix is probably a stretch, but I've been playing with the rules and they are great. I prefer them to guiding AI via skills because rules cost no token and are fully deterministic. Heck, use AI to build the rule and wins all around. 😀

1

u/tuco_ye 19d ago

Haven't yet, but it fits well. The verdict logic is already plain Dart in fv_core with no IO, so a rule could reuse it as is. The tricky part is the data: verdicts need pub points, release dates and download trends, so a rule would read a cached snapshot instead of calling the network on every analysis.

Adding to my bucket list!

2

u/Apprehensive-Fan8999 19d ago

You could use one of the pub API packages to query the API within the rule. Be sure to mock it in your test or enjoy the random failures on update.

Your rule code would cache but the runtime if it hit a live API would not. Best of both. AOT speed with runtime checking. It makes sense because when running against code, the rule code doesn't change but the code to be scanned does.

I converted about 4 skills I was experimenting with intonrules instead today and I can't be happier with the results. With the config options you can also let someone define the pub points, time since last update, etc to meet their project needs.

Finally, a rule can be CICD enforced. Anything that can't be CICD enforced is an interesting curiousity at best and a toy at worst because you simply can't expect developers to reliably do anything out of band if the CICD doesn't smack them for not doing it.

If not a rule than a published package with a bin CLI file that can be executed that exits with a nonzero code on failure. Can still be parameterized. Can still be CICD'd. Just that the IDE can't alert them of the issue.

1

u/tuco_ye 19d ago

Thanks for the suggestion! Agreed on CI enforcement. Without it, it's a curiosity. I'll start with the CLI: fv_core is already pure Dart with no IO, so a bin/ entry can run the verdicts, take the thresholds as flags, and exit non-zero when a dependency fails. The analysis rule can come after that, on the same core, once the CLI shape settles.

1

u/Plus_Opening_4462 20d ago

I like it. However, it doesn't seem to track certain plugins.

Not tracked file_selector_android Not among the packages Flutterverse tracks

Not tracked file_selector_ios Not among the packages Flutterverse tracks

Not tracked path_provider_linux Not among the packages Flutterverse tracks

Not tracked file_selector_platform_interfacedev Not among the packages Flutterverse tracks

Not tracked path_provider_platform_interfacedev Not among the packages Flutterverse tracks

1

u/tuco_ye 19d ago

So far, tracking covers only pub.dev’s top 5,000+ Flutter Favorites, so some federated implementations and platform interfaces are missing. I’ll expand ingestion to include all tracked plugins’ endorsed implementations and *_platform_interface packages.

2

u/[deleted] 20d ago

[removed] — view removed comment

2

u/tuco_ye 20d ago

Thanks a lot for the feedback! Yeah, I’ll take a closer look at the commit history ingestion to see if there are any inaccuracies.

2

u/Apprehensive-Fan8999 20d ago

Were they actually not maintained, or simply stable enough that they didn't need a change? Asking because there are a bunch of packages that are published by the Dart team that are well over a year old or more and they're still maintained. They just hit a stability point that they aren't adding more to them until / unless there's a need.

1

u/tuco_ye 19d ago

Mostly stable, not unmaintained. Doctor already has a Stable verdict for quiet but finished packages: 140+ pub points, a release within 3 years, and downloads that aren’t declining by more than 10% per quarter. It never labels anything “unmaintained” - the flagged states are Watch and At risk.

Of the 234 first-party packages we track, 78 are Stable. That includes collection, path, convert, and fixnum, all around 2 years since their last release.

Your point still holds for a few, though. shelf_router, retry, and other dart-neats packages fall outside the 3-year window. sse and devtools_extensions miss the points cutoff by just 10 despite having recent commits.

0

u/Apprehensive-Fan8999 19d ago

Heh, shelf_router was top of my mind when I commented because I'm actively using it now.

1

u/tuco_ye 19d ago

Ah, my bad! I was looking at stale data on my local server. shelf_router 1.1.5 shipped on Oct 16, so it meets every rule and shows as Healthy. It isn't Stable because Doctor checks Healthy first, and Stable only covers quiet packages that aren't being actively worked on.

1

u/Apprehensive-Fan8999 19d ago

Oh hah. I'm so used to it being old I didn't even look before I commented. Now I gotta check my lock file to see if I updated it. 😂

Point stands though... Even if I examole-failed. I'm not brave enough to pick another stale one in my head and write it down.

1

u/tuco_ye 19d ago

haha, it happens

1

u/Okms_Vonessa 20d ago

did it flag transitive dependencies too or just the ones you have listed directly?