BuildOptions class
Manages setting up consistent defaults for all options and build modes.
Properties
- debounceDelay ↔ Duration
-
getter/setter pair
- deleteFilesByDefault → bool
-
final
- enableLowResourcesMode → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logListener → StreamSubscription
-
final
- logPerformanceDir → String?
-
If present, the path to a directory to write performance logs to.
final
- packageGraph → PackageGraph
-
final
- resolvers → Resolvers
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipBuildScriptCheck ↔ bool
-
getter/setter pair
- targetGraph → TargetGraph
-
final
- trackPerformance → bool
-
final
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
Static Methods
-
create(
LogSubscription logSubscription, {Duration debounceDelay = const Duration(milliseconds: 250), bool deleteFilesByDefault = false, bool enableLowResourcesMode = false, required PackageGraph packageGraph, Map< String, BuildConfig> overrideBuildConfig = const {}, bool skipBuildScriptCheck = false, bool trackPerformance = false, String? logPerformanceDir, Resolvers? resolvers}) → Future<BuildOptions> -
Creates a
BuildOptions
with sane defaults.