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({WebRenderer renderer = WebRenderer.canvaskit, bool useWasm = false})
Creates a CompilationOptions object.
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