FLUTTER ECOSYSTEM

pubghost

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

Latest version
1.0.7
30-day downloads
1.5K
Likes
28
Pub points
160

Package Overview

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

Overview

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
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add pubghost

Categories

Related projects

No data available yet.