code_assets 0.19.7 copy "code_assets: ^0.19.7" to clipboard
code_assets: ^0.19.7 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.
3
likes
160
points
1.58M
downloads

Publisher

verified publisherlabs.dart.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