asset_fill 1.1.0
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 aflutter
map and theassets
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