Flutter – How to include all assets under a folder?

You can include all assets under a folder by defining pubspec.yml like this. However, it still won’t support subfolders.

flutter:
      uses-material-design: true
      assets:
          - assets/images/

Be the first to comment

Leave a Reply

Your email address will not be published.


*