zeba_academy_asset_optimizer 0.0.1 copy "zeba_academy_asset_optimizer: ^0.0.1" to clipboard
zeba_academy_asset_optimizer: ^0.0.1 copied to clipboard

Optimize Flutter assets with compression, unused detection, lazy loading, and size analysis.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


0.0.1 - 2026-04-08 #

✨ Added #

  • Initial release of zeba_academy_asset_optimizer
  • Image compression utility using image package
  • Unused asset detection by scanning Dart files
  • Lazy asset loading widget (LazyAssetImage)
  • Asset size analyzer with total size calculation
  • Basic unit tests for core functionalities

⚙️ Features #

  • Compress images with adjustable quality
  • Detect unused assets via string-based matching
  • Lightweight lazy loading for Flutter assets
  • Analyze asset directory size and breakdown

⚠️ Known Limitations #

  • Unused asset detection is not AST-based (string matching only)
  • Lazy loading is not viewport-aware (basic delay-based implementation)
  • No CLI support yet

🔮 Upcoming (Planned) #

🚀 Enhancements #

  • Advanced image formats (WebP support)
  • Viewport-aware lazy loading using visibility detection
  • CLI tool for asset optimization (dart run support)
  • Build runner integration for automated optimization

🧪 Testing & Quality #

  • Improved test coverage
  • Mock-based filesystem testing
  • CI/CD integration (GitHub Actions)

👨‍💻 Author #

Sufyan bin Uzayr Open-source developer passionate about building impactful tools.


🌐 Zeba Academy #

🚀 Learn coding, technology, and development at:


Thank you for using zeba_academy_asset_optimizer! ❤️

0
likes
150
points
34
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

Optimize Flutter assets with compression, unused detection, lazy loading, and size analysis.

Homepage

License

GPL-3.0 (license)

Dependencies

flutter, image, path

More

Packages that depend on zeba_academy_asset_optimizer