BuilderApplication class

A description of which packages need a given Builder or PostProcessBuilder applied.

Constructors

BuilderApplication.forBuilder(String builderKey, List<BuilderFactory> builderFactories, PackageFilter filter, {bool isOptional = false, bool hideOutput = true, InputSet defaultGenerateFor = const InputSet(), BuilderOptions defaultOptions = BuilderOptions.empty, BuilderOptions? defaultDevOptions, BuilderOptions? defaultReleaseOptions, Iterable<String> appliesBuilders = const []})
factory
BuilderApplication.forPostProcessBuilder(String builderKey, PostProcessBuilderFactory builderFactory, {InputSet defaultGenerateFor = const InputSet(), BuilderOptions defaultOptions = BuilderOptions.empty, BuilderOptions? defaultDevOptions, BuilderOptions? defaultReleaseOptions})
Note that these builder applications each create their own phase, but they will all eventually be merged into a single phase.
factory

Properties

appliesBuilders Iterable<String>
Builder keys which, when applied to a target, will also apply this Builder even if filter does not match.
final
builderKey String
A uniqe key for this builder.
final
buildPhaseFactories List<BuildPhaseFactory>
Factories that create BuildPhases for all Builders or PostProcessBuilders that should be applied.
final
filter → PackageFilter
Determines whether a given package needs builder applied.
final
hashCode int
The hash code for this object.
no setterinherited
hideOutput bool
Whether genereated assets should be placed in the build cache.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited