Assets: Specifying assets

Specifying assets

Flutter uses the pubspec.yaml file, located at the root of your project, to identify assets required by an app.

Flutter:
  assets:
    - assets/my_icon.png
    - assets/background.png

Related concepts

Specifying assets

Assets: Specifying assets — Structure map

Clickable & Draggable!

Assets: Specifying assets — Related pages: