data_assets library

Data asset support for hook authors.

Classes

BuildConfig
Builder
A builder to be run during a build hook.
BuildMode
The build mode for compiling native code assets.
BuildOutputBuilder
Builder to produce the output of a build hook.
DataAsset
Data bundled with a Dart or Flutter application.
HookConfig
The shared properties of a LinkConfig and a BuildConfig.
LinkConfig
Linker
A linker to be run during a link hook.
LinkOutputBuilder
Builder to produce the output of a link hook.
Metadata
OS
An operating system the Dart VM runs on.

Extension Types

DataAssetBuildOutputBuilderAdd
Supports emitting code assets for build hooks.
DataAssetLinkOutputBuilderAdd
Extension on LinkOutputBuilder to emit data assets.

Extensions

DataAssetBuildOutputBuilder on BuildOutputBuilder
Build output extension for data assets.
DataAssetLinkConfig on LinkConfig
Link output extension for data assets.
DataAssetLinkOutputBuilder on LinkOutputBuilder
Extension to the LinkOutputBuilder providing access to emitting data assets (only available if data assets are supported).

Functions

build(List<String> arguments, Future<void> builder(BuildConfig config, BuildOutputBuilder output)) Future<void>
Runs a native assets build.
Runs a native assets link.