flutter_dependency_doctor 0.1.3 copy "flutter_dependency_doctor: ^0.1.3" to clipboard
flutter_dependency_doctor: ^0.1.3 copied to clipboard

An intelligent dependency health and optimization tool for Dart and Flutter projects.

🩺 Flutter Dependency Doctor #

pub package pub points likes License: MIT GitHub stars GitHub issues

A command-line tool built with Dart to help Flutter and Dart developers understand and maintain their project's dependencies.

It analyzes pubspec.yaml and pubspec.lock, builds a dependency graph, checks package health, detects outdated packages, and identifies packages requiring attention — all from your terminal.


🚀 Features #

📦 Analyze direct and dev dependencies
🌳 Build and display dependency graphs
🔗 Inspect transitive dependencies
❤️ Package health scoring
⚠️ Detect packages requiring attention
🔄 Check versions against the latest release
🗑️ Detect critical/deprecated packages
🖥️ Clean, readable CLI output
📋 Multiple CLI commands
🧩 Built entirely in Dart

📥 Installation #

Activate globally via pub:

dart pub global activate flutter_dependency_doctor

🛠️ Usage #

Run inside the root of any Flutter or Dart project (where pubspec.yaml lives):

dart run flutter_dependency_doctor

Or, if activated globally:

flutter_dependency_doctor

View all available flags:

dart run flutter_dependency_doctor --help

📊 Sample Output #

📦 Analyzing dependencies...

✅ http: up to date (1.5.0)
⚠️ provider: outdated (current 6.0.0, latest 6.1.2)
🌳 Dependency graph built successfully
🗑️ old_package: deprecated, consider removing
❤️ Overall project health: Good

🧭 Roadmap #

  • ❌ JSON/HTML report export
  • ❌ Auto-fix suggestions for outdated packages
  • ❌ CI/CD integration mode
  • ❌ Custom rule configuration

🤝 Contributing #

Contributions, issues, and feature requests are welcome! Feel free to check the issues page or open a pull request.

  1. Fork the repo
  2. Create your branch (git checkout -b feature/my-feature)
  3. Commit your changes
  4. Push and open a PR

⭐ Support #

If this tool helped you, consider giving it a star ⭐ on GitHub and a like 👍 on pub.dev — it helps a lot!


📄 License #

This project is licensed under the MIT License.


👤 Author #

Muhammad Ameer Hamza Flutter Developer | Cross-Platform Mobile Applications 🔗 PortfolioGitHub

3
likes
150
points
188
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An intelligent dependency health and optimization tool for Dart and Flutter projects.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, http, pub_semver, yaml

More

Packages that depend on flutter_dependency_doctor