asset_fill 1.1.0 copy "asset_fill: ^1.1.0" to clipboard
asset_fill: ^1.1.0 copied to clipboard

A package to generate assets in pubspec.yaml. Goes throw all the subdirectories in assets folder.

This package automatically adds to pubspec.yaml all the subfolders from asstes.

Usage #

  • Make sure that your pubspec.yaml declares a flutter map and the assets list that contains at least one placeholder element as shown below. Consider checking the example.
flutter:
  # stuff
  assets:
    - placeholder
  • Place your files and folders to an assets directory.
  • Execute following command:
flutter pub run asset_fill
  • Remove the placeholder



Watch the example #

Demo gif

16
likes
140
pub points
77%
popularity

Publisher

unverified uploader

A package to generate assets in pubspec.yaml. Goes throw all the subdirectories in assets folder.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

yaml_edit

More

Packages that depend on asset_fill