FLUTTER ECOSYSTEM

dependency_validator

Checks for missing, under-promoted, over-promoted, and unused dependencies.

Latest version
5.0.5
30-day downloads
250.3K
Likes
285
Pub points
120

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Flutter/Dart developer tool that analyzes project dependencies to identify missing, under-promoted, over-promoted, and unused dependencies. It helps maintain clean, efficient pubspec.yaml files by flagging issues that could lead to build failures or bloated packages. The tool integrates seamlessly into development workflows via a simple command-line interface. It is particularly useful for teams managing large codebases with complex dependency trees. Built by Workiva, it supports macOS, Windows, and Linux platforms.

Use cases
  • Ensuring pubspec.yaml accuracy
  • Detecting unused dependencies
  • Preventing build failures due to missing dependencies
  • Maintaining dependency hygiene in team projects
  • Identifying incorrect dependency promotion levels
Key features
  • Real-time dependency analysis
  • Supports multiple platforms
  • Simple CLI integration
  • Clear issue reporting
  • Open-source with public repository
Suitable for
  • Flutter developers
  • Team project maintainers
  • CI/CD pipeline integrators
  • Large-scale Dart applications
  • Code quality advocates
Considerations
  • Requires manual execution or CI setup
  • May need configuration for complex dependency structures
  • Not a replacement for thorough testing
  • Limited to dependency validation only
  • Depends on accurate pubspec.yaml syntax
Supported platformsmacOSWindowsLinux

Install package

flutter pub add dependency_validator

Categories

Source repository

Related projects