data_assets_builder library
Data asset support for hook invokers (e.g. building / bundling tools).
Classes
- BuildConfig
- BuildConfigBuilder
- Builder
- A builder to be run during a build hook.
- BuildMode
- The build mode for compiling native code assets.
- BuildOutput
- BuildOutputBuilder
- Builder to produce the output of a build hook.
- DataAsset
- Data bundled with a Dart or Flutter application.
- Dependencies
- EncodedAsset
- An encoding of a particular asset type.
- HookConfig
- The shared properties of a LinkConfig and a BuildConfig.
- HookConfigBuilder
- HookOutput
- Identifier
- LinkConfig
- LinkConfigBuilder
- Linker
- A linker to be run during a link hook.
- LinkOutput
- LinkOutputBuilder
- Builder to produce the output of a link hook.
- Metadata
- OS
- An operating system the Dart VM runs on.
- ResourceFile
- ResourceIdentifiers
- ResourceReference
- Target
Extension Types
- DataAssetBuildOutputBuilderAdd
- Supports emitting code assets for build hooks.
- DataAssetLinkOutputBuilderAdd
- Extension on LinkOutputBuilder to emit data assets.
Extensions
- DataAssetBuildOutput on BuildOutput
- Provides access to DataAssets from a build hook output.
- DataAssetBuildOutputBuilder on BuildOutputBuilder
- Build output extension for data assets.
- DataAssetLinkConfig on LinkConfig
- Link output extension for data assets.
- DataAssetLinkOutput on LinkOutput
- Provides access to DataAssets from a link hook output.
- DataAssetLinkOutputBuilder on LinkOutputBuilder
- Extension to the LinkOutputBuilder providing access to emitting data assets (only available if data assets are supported).
Functions
-
validateBuildConfig(
BuildConfig config) → Future< ValidationErrors> -
validateBuildOutput(
BuildConfig config, BuildOutput output) → Future< ValidationErrors> - Invoked by package:native_assets_builder
-
validateDataAssetBuildConfig(
BuildConfig config) → Future< ValidationErrors> -
validateDataAssetBuildOutput(
BuildConfig config, BuildOutput output) → Future< ValidationErrors> -
validateDataAssetLinkConfig(
LinkConfig config) → Future< ValidationErrors> -
validateDataAssetLinkOutput(
LinkConfig config, LinkOutput output) → Future< ValidationErrors> -
validateLinkConfig(
LinkConfig config) → Future< ValidationErrors> -
validateLinkOutput(
LinkConfig config, LinkOutput output) → Future< ValidationErrors> - Invoked by package:native_assets_builder