flutter_app_size_reducer 1.0.4 copy "flutter_app_size_reducer: ^1.0.4" to clipboard
flutter_app_size_reducer: ^1.0.4 copied to clipboard

A Flutter plugin for analyzing and reducing app size through CLI commands.

CHANGELOG #

1.0.4 #

  • Added GIF support to the optimizer.
  • Added a new flag to the analyse command to export the report to a JSON file.

1.0.3 #

  • Improved error handling for corrupted or invalid image files during optimization.
  • Enhanced performance of asset analysis for large projects with 1000+ assets.
  • Fixed issue where exclude patterns were not applied correctly to nested directories.
  • Added progress indicators for long-running operations in CLI mode.
  • Updated documentation with troubleshooting section and common issues.

1.0.2 #

  • Fixed bug where WebP images were not being properly optimized.
  • Improved asset path resolution for Windows platform.
  • Added validation for configuration file to provide helpful error messages.
  • Fixed issue with dry-run mode not showing correct file paths.
  • Enhanced CLI output formatting for better readability.

1.0.1 #

  • Fixed missing dependency declaration in pubspec.yaml.
  • Corrected asset size calculation to use actual file size in bytes.
  • Fixed issue where init command would overwrite existing configuration file without warning.
  • Improved error messages when asset directories don't exist.
  • Updated example app with more comprehensive usage scenarios.

0.0.1 #

  • Initial stable release of flutter_app_size_reducer.
  • Added comprehensive asset analysis functionality to identify unused and large assets.
  • Implemented asset cleaning feature to remove unused assets from Flutter projects.
  • Introduced asset optimization capabilities with configurable quality settings.
  • Added flexible configuration system through flutter_app_size_reducer.yaml file.
  • Provided CLI interface with commands: init, analyse, clean, and optimize.
  • Exposed programmatic API for integration into existing Flutter tooling and workflows.
  • Included detailed reporting system for asset analysis results.
  • Added support for multiple image formats: PNG, JPG, JPEG, GIF, and WebP.
  • Implemented exclude patterns to skip specific files or directories.
  • Added dry-run mode for safe testing before actual cleanup.
  • Provided comprehensive documentation and usage examples.
  • Included example application demonstrating all features.
  • Added test coverage for core functionality.

Features #

  • Asset Analysis: Scans project directories to find unused and oversized assets
  • Asset Cleaning: Safely removes unused assets with dry-run option
  • Asset Optimization: Reduces image file sizes while maintaining visual quality
  • Configuration: Customizable settings via YAML configuration file
  • CLI Tools: Easy-to-use command-line interface for all operations
  • Programmatic API: Integrate functionality into custom build scripts or tools
3
likes
160
points
40
downloads

Publisher

verified publisherfilmsrecap.com

Weekly Downloads

A Flutter plugin for analyzing and reducing app size through CLI commands.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #cli #assets #optimization #tools

Documentation

API reference

License

MIT (license)

Dependencies

args, console_bars, flutter, image, path, yaml

More

Packages that depend on flutter_app_size_reducer