SceneView.document constructor

const SceneView.document(
  1. SceneDocument scene, {
  2. Key? key,
  3. Playable? motion,
  4. ValueListenable<Duration>? time,
  5. Set<String> selected = const {},
  6. SceneMeasured? onMeasured,
  7. Map<String, SceneKindRenderer> renderers = const {},
})

Draws a document that was READ — parsed from source, or decoded off the editor's wire. There is no definition behind one of those, which is why it is a door of its own rather than the same one.

Implementation

const SceneView.document(
  this.scene, {
  super.key,
  this.motion,
  this.time,
  this.selected = const {},
  this.onMeasured,
  this.renderers = const {},
});