These are examples for using the hooks defined in package:native_assets_cli.

  • build/ contains examples on how to use hook/build.dart to build and bundle code assets, such as C libraries, into Dart applications.
  • link/ contains examples on how to treeshake unused assets from a Dart application using the hook/link.dart script.