An example of a library depending on prebuilt assets which are downloaded in the build hook.
Run tests with dart --enable-experiment=native-assets test.
A typical layout of a package which downloads assets:
tool/build.dart prebuilts assets and is exercised from a GitHub workflow.hook/build.dart downloads the prebuilt assets.lib/ contains Dart code which uses the assets.