BuildWebOptions class

Options configuring the FlutterWebBuildEngine build process.

Constructors

BuildWebOptions({BuildMode mode = BuildMode.prerender, RenderingStrategy renderingStrategy = RenderingStrategy.flutterCanvas, bool release = true, bool debug = false, String output = 'build/web', String baseHref = '/', bool wasm = false, bool verbose = false, bool dryRun = false, bool clean = false, bool compileFlutter = true, bool strict = false, String configPath = 'meta_mantle.config.json', String projectDir = '.', String? manifestPath})
const

Properties

baseHref → String
final
clean → bool
final
compileFlutter → bool
final
configPath → String
final
debug → bool
final
dryRun → bool
final
hashCode → int
The hash code for this object.
no setterinherited
manifestPath → String?
final
mode → BuildMode
final
output → String
final
projectDir → String
final
release → bool
final
renderingStrategy → RenderingStrategy
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strict → bool
final
verbose → bool
final
wasm → bool
final

Methods

copyWith({BuildMode? mode, RenderingStrategy? renderingStrategy, bool? release, bool? debug, String? output, String? baseHref, bool? wasm, bool? verbose, bool? dryRun, bool? clean, bool? compileFlutter, bool? strict, String? configPath, String? projectDir, String? manifestPath}) → BuildWebOptions
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