Search packages, repositories and app categories

Package detailsv1.1.1

smartpub

Smart Flutter dependency analyzer that cleans and organizes pubspec.yaml by detecting unused, misplaced, and duplicate dependencies.

macOSWindowsLinux
30-day downloads
42
Likes
8
Pub points
150

Install package

flutter pub add smartpub

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

SmartPub is a developer tool for Flutter that analyzes and optimizes pubspec.yaml files by identifying unused, misplaced, and duplicate dependencies. It helps maintain a clean and efficient project configuration by automatically suggesting removals and reorganizations. Designed for developers who want to streamline their dependency management, it integrates seamlessly into the Flutter workflow via a simple command. The tool supports macOS, Windows, and Linux, making it accessible across major development platforms.

Use cases

  • Cleaning up bloated pubspec.yaml files
  • Identifying unused dependencies after refactoring
  • Automating dependency organization
  • Improving build performance by removing dead code
  • Maintaining project hygiene in team environments

Key features

  • Detects unused dependencies
  • Finds duplicate entries
  • Reorganizes dependencies logically
  • Provides actionable cleanup suggestions
  • Supports cross-platform use

Suitable for

  • Flutter developers managing large projects
  • Teams enforcing code quality standards
  • Developers optimizing app size and build speed
  • CI/CD pipeline integration
  • Anyone seeking automated pubspec maintenance

Considerations

  • Requires manual review before applying changes
  • May not detect dynamically imported dependencies
  • Does not handle dev_dependencies differently from regular dependencies
  • Best used in development, not production builds
  • Limited to pubspec.yaml structure analysis

Categories

Dependencies

Dependency list 8 items

Projects using this package

No data available yet.