decodedSnapshotFor method
The pre-decoded image for snapshot source — synchronous by contract, so
paint hands it straight to a RawImage with no async-in-frame.
Only valid after preResolveSnapshots completed for source;
implementations throw on an unresolved source instead of a blank frame.
Implementation
@override
ui.Image decodedSnapshotFor(SnapshotSource source) => throw FluvieRenderException(
'NoMediaResolver has no decoded snapshot for "$source". Wire a '
'MediaRepository through mediaResolverProvider to render snapshots.',
);