MathWorkspaceCapabilities class

Runtime platform capabilities relevant to workspace integration.

These describe package behavior, not build success or host configuration.

Constructors

MathWorkspaceCapabilities({required bool mathLiveEditor, required bool sourceEditorFallback, required bool mathCanvasWebViewRequiresNetwork, required bool flutterCanvasesRequireNetwork})
const

Properties

flutterCanvasesRequireNetwork → bool
The package's primary Flutter 2D and 3D canvases render offline.
final
hashCode → int
The hash code for this object.
no setterinherited
mathCanvasWebViewRequiresNetwork → bool
The separately exported JSXGraph WebView canvas fetches assets online.
final
mathLiveEditor → bool
Whether this runtime supports the embedded MathLive WebView editor.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceEditorFallback → bool
Whether formula source editing and preview are available as fallback.
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 Properties

current → MathWorkspaceCapabilities
Capabilities detected for the current Flutter runtime.
no setter