Search packages, repositories and app categories

Package detailsv1.1.0

pubghost

A CLI tool to find unused translations, dependencies or classes in a Flutter project.

AndroidiOSmacOSWindowsLinux
30-day downloads
1.3K
Likes
29
Pub points
160

Install package

flutter pub add pubghost

Package Overview

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

PubGhost is a command-line tool designed to help Flutter developers identify unused translations, dependencies, and classes within their projects. By analyzing the codebase and asset files, it detects dead code and redundant resources, improving project maintainability and performance. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux, making it versatile for cross-platform development workflows. The tool integrates seamlessly with Flutter via pub add, enabling quick setup and regular usage during development cycles.

Use cases

  • Identifying unused translation keys
  • Detecting unused package dependencies
  • Finding unreferenced classes and methods
  • Cleaning up legacy code
  • Improving app size by removing dead assets
  • Maintaining codebase hygiene

Key features

  • Scans for unused translations
  • Analyzes dependency usage
  • Detects unused classes and files
  • Cross-platform support
  • CLI-based with simple integration
  • Real-time feedback on code health

Suitable for

  • Flutter developers maintaining large apps
  • Teams enforcing code quality standards
  • Projects undergoing refactoring
  • Developers optimizing app performance
  • Anyone seeking to reduce technical debt

Considerations

  • Requires manual review of detected unused items
  • May need configuration for custom file patterns
  • Not suitable for runtime analysis
  • Best used in development or CI/CD pipelines
  • Limited to static code analysis

Categories

Dependencies

Dependency list 3 items

Projects using this package

No data available yet.