Rasterizes a SnapshotRequest to a decoded-ready SnapshotRaster — the one
boundary every snapshot-backed widget rides.
This is the boundary the determinism story leans on: rasterizing is async (it may drive a headless browser), so it runs entirely in the pre-resolve pass before frame 0; the resolver then decodes the raster once and serves it synchronously during the frame loop. A snapshot is therefore "just another resolved media" by the time paint reads it.
The gate default is a FakeSnapshotService serving committed fixture rasters
so tests never need a browser or the live network. The real
ChromeSnapshotService is best-effort and lives behind the snapshot test
tag; when no Chrome binary is present it throws a
FluvieSnapshotUnavailableError naming the install fix, never a blank frame.
FakeSnapshotService and ChromeSnapshotService are named in prose, not as
doc links, because they live in layers above core.
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
-
rasterize(
SnapshotRequest request) → Future< SnapshotRaster> -
Rasterizes
requestto aSnapshotRaster, asynchronously. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited