hooks 0.20.5  hooks: ^0.20.5 copied to clipboard
hooks: ^0.20.5 copied to clipboard
A library that contains a Dart API for the JSON-based protocol for `hook/build.dart` and `hook/link.dart`.
Examples #
The examples in package:hooks show how to use package:hooks and
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 DynamicLoadingSystemandLookupInProcess.- 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. | 
The following examples showcase individual features of of package:hooks: