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

Libraries

asset_fill