asset_fill 1.0.0 asset_fill: ^1.0.0 copied to clipboard
A package generate assets in pubspec.yaml
This package automatically adds to pubspec.yaml all the subfolders from asstes.
Usage #
- Make sure that your pubspec.yaml declares a flutter dictionary and a list of assets 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