CompilationOptions class
Compilation options for bulding a Flutter web app.
This object holds metadata that is used to determine how the benchmark app should be built.
Constructors
- CompilationOptions.js({WebRenderer renderer = WebRenderer.canvaskit})
-
Creates a CompilationOptions object that compiles to JavaScript.
const
- CompilationOptions.wasm()
-
Creates a CompilationOptions object that compiles to WebAssembly.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- renderer → WebRenderer
-
The renderer to use for the build.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useWasm → bool
-
Whether to build the app with dart2wasm.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited