Search packages, repositories and app categories

Package detailsv2.0.0

asset_fill

Package for generating assets in pubspec.yaml. Iterates throw all the subdirectories in assets folder.

AndroidiOSmacOSWindowsLinux
30-day downloads
665
Likes
26
Pub points
160

Install package

flutter pub add asset_fill

Package Overview

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

A developer tool that automatically generates asset entries in the pubspec.yaml file by scanning all subdirectories within the assets folder. It simplifies asset management in Flutter projects by eliminating manual entry, ensuring all assets are properly referenced. The package is particularly useful for large projects with numerous asset files, reducing the risk of missing or misconfigured asset paths. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases

  • Automatically update pubspec.yaml after adding new assets
  • Streamline asset management in large projects
  • Ensure consistent asset path configuration across platforms
  • Reduce manual errors when referencing assets

Key features

  • Scans all subdirectories in the assets folder
  • Generates correct asset entries for pubspec.yaml
  • Supports multi-platform Flutter apps
  • Integrates via simple command-line execution

Suitable for

  • Flutter developers managing extensive asset collections
  • Teams seeking to automate asset configuration
  • Projects requiring reliable asset path setup

Considerations

  • Requires manual execution after asset additions
  • Does not handle asset renaming or removal
  • May need integration into CI/CD workflows for consistency

Categories

Dependencies

Dependency list 1 items

Projects using this package

No data available yet.