native_assets_cli_internal library

Support for hook invokers (e.g. building / bundling tools).

Classes

AssetRouting
The destination for assets output in a build hook.
BuildConfig
BuildConfigBuilder
Builder
A builder to be run during a build hook.
BuildInput
BuildInputBuilder
BuildOutput
BuildOutputBuilder
Builder to produce the output of a build hook.
Dependencies
EncodedAsset
An encoding of a particular asset type.
HookConfig
The configuration for a build or link hook invocation.
HookConfigBuilder
HookInput
The shared properties of a LinkInput and a BuildInput.
HookInputBuilder
HookOutput
Identifier
Linker
A linker to be run during a link hook.
LinkInput
LinkInputBuilder
LinkOutput
LinkOutputBuilder
Builder to produce the output of a link hook.
Metadata
PackageMetadata
PackageUserDefines
The user-defines for a single build hokok invocation
PackageUserDefinesSource
ProtocolExtension
An extension to the base protocol for hook/build.dart and hook/link.dart.
ResourceFile
ResourceIdentifiers
ResourceReference
Target
ToAppBundle
Assets with this routing will be sent to the SDK to be bundled with the app.
ToBuildHooks
Assets with this routing will be sent to build hooks.
ToLinkHook
Assets with this routing will be sent to the link hook of packageName.

Enums

Hook
The two types of scripts which are hooked into the compilation process.

Extension Types

EncodedAssetBuildOutputBuilder
EncodedAssetLinkOutputBuilder
Extension for the lower-level API to add EncodedAssets to BuildOutputBuilder.

Functions

validateBuildInput(BuildInput input) Future<ValidationErrors>
validateBuildOutput(BuildInput input, BuildOutput output) Future<ValidationErrors>
Invoked by package:native_assets_builder
validateLinkInput(LinkInput input) Future<ValidationErrors>
validateLinkOutput(LinkInput input, LinkOutput output) Future<ValidationErrors>
Invoked by package:native_assets_builder