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