tree: abd10e361e69e1c006a01619778e70d11bbf17e4 [path history] [tgz]
  1. assets/
  2. hook/
  3. test/
  4. pubspec.yaml
  5. README.md
pkgs/hooks/example/build/local_asset/README.md

An example of a library bundling all files in a directory as data assets.

Usage

Data assets are not yet consumable in Dart and Flutter. This package is for illustration purposes only.

Code organization

A typical layout of a package with data assets:

  • assets/ contains data assets.
  • hook/build.dart reports all these files as data assets.