code_assets 1.0.0 copy "code_assets: ^1.0.0" to clipboard
code_assets: ^1.0.0 copied to clipboard

This library contains the hook protocol specification for bundling native code with Dart packages.

example/README.md

Examples #

These examples show how to use package:code_assets in build hooks to bundle native code with Dart and Flutter applications.

Example Use Case Used Features
host_name Get the hostname. - Accessing a system library with DynamicLoadingSystem and LookupInProcess.
- OS-specific differences.
mini_audio Play audio. - C library built from source with package:native_toolchain_c.
- Bundled with DynamicLoadingBundled.
sqlite Database access. - C library built from source with package:native_toolchain_c.
- Bundled with DynamicLoadingBundled.
sqlite_prebuilt Database access. - Pre-built binary downloaded from the internet or available on host machine.
- Bundled with DynamicLoadingBundled.
stb_image Read image metadata. - C library built from source with package:native_toolchain_c.
- Bundled with DynamicLoadingBundled.
11
likes
140
points
2.13M
downloads

Publisher

verified publisherdart.dev

Weekly Downloads

This library contains the hook protocol specification for bundling native code with Dart packages.

Repository (GitHub)
View/report issues
Contributing

Topics

#assets #ffi #hooks #interop #native-assets

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, hooks

More

Packages that depend on code_assets