tree: 9f67b195d4d05990b61c376cf7e4790997432deb [path history] [tgz]
  1. local_asset/
  2. native_add_app/
  3. native_add_library/
  4. use_dart_api/
  5. README.md
pkgs/native_assets_cli/example/build/README.md

The examples in this folder illustrate how native code is built and bundled in Dart and Flutter apps.

  • native_add_app/ has a dependency with C code. This app should declare nothing special. Dart and Flutter should check all dependencies for native code.
  • native_add_library/ contains a library with C code. When Dart code in this library or dependent on this library is invoked, the C code must be built and bundled so that it can be used by the Dart code.