tree: 16e6ba28fe0ad99652bc43cc2d0e748a448224e6 [path history] [tgz]
  1. native_add_app/
  2. native_add_library/
  3. README.md
pkgs/native_assets_cli/example/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.