tree: 62f80e94f39adbc6ca39a4ec0d0ec7c9cb773175 [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.