record_use 1.0.0
record_use: ^1.0.0 copied to clipboard
Dart API to access `@RecordUse()` recorded usages in link hooks.
Examples #
The following complete examples use link hooks (hook/link.dart) and
package:record_use to tree-shake native C libraries
(LinkerOptions.treeshake):
| Example | Description | Used Features |
|---|---|---|
mini_audio |
Play audio. | - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.- Link hook ( hook/link.dart) with LinkerOptions.treeshake. |
sqlite |
Database access. | - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.- Link hook ( hook/link.dart) with LinkerOptions.treeshake. |
stb_image |
Read image metadata. | - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.- Link hook ( hook/link.dart) with LinkerOptions.treeshake. |