BrowserRunOptions class final

Options for configuring runBrowserProgram.

Constructors

BrowserRunOptions({double fontSize = 14, String fontFamily = 'monospace', String? canvasId, bool appendToBody = true})
const

Properties

appendToBody → bool
Whether to append the created canvas to document.body.
final
canvasId → String?
Optional id of an existing canvas element.
final
fontFamily → String
Font family for the canvas renderer.
final
fontSize → double
Font size in pixels for the canvas renderer.
final
hashCode → int
The hash code for this object.
no setterinherited
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