ServiceExtensions class abstract final

The service extensions the runtime package registers in debug mode.

Properties

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

Constants

clearUniformOverrides → const String
Drops overrides, so the app's own values apply again.
getInfo → const String
Returns the protocol version, the probe asset, the assets of the live DebugShaders, the current heatmap, if any, and the asset in pixel select mode (pixelSelectMode), if any.
getUniforms → const String
The float uniforms the app sets on its DebugShaders for an asset, and the overrides in force.
hideHeatmap → const String
Draws the original shaders again.
pickPixel → const String
Picks the pixel at a global logical position right away, as a click in select mode would, and answers with the ServiceEvents.pixelPicked event's data instead of posting it. For tools and tests.
prefix → const String
readPixel → const String
Reads the captured value at one point, as exact 32-bit floats.
setPixelSelectMode → const String
Turns pixel select mode on or off, like the widget inspector's select mode.
setUniformOverride → const String
Overrides a float uniform of every DebugShader for an asset: the value replaces the app's on every paint, and in the probe, until cleared.
showHeatmap → const String
Draws the probe in place of every DebugShader for an asset.